the application has passed around a date object in the winjs.navigation.navigate(page, options) call in options.
say
options.startDate = new Date();
this get stored in the navigation.history object.
resume restore the navigation history object from the sessionobject.
after resume - nav.state.startDate does not have the accessor methods in the date object like getFullYear, getMonth. in other words, date object is not restored only the date string is restored.
questions:
1) is this expected behavior?
2) if yes - is passing only primitive types recommended in the navigate call options parameter since they are not restored in case of suspension and resume for the app?
-sushil