You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I load a Firefox user profile in Firefox 46 (Nightly), Firefox updates the internal schema version of its localStorage database. If I then open the profile with an earlier Firefox version (e.g. 43) and try to play an mpd, dash.js fails to load the mpd because the localStorage database exists but is unreadable. See the error log below.
In this case, dash.js should probably nuke its unreadable localStorage database and create a new one. The user has already lost their dash.js localStorage data. Or dash.js should at least not prevent video playback if localStorage is unreadable.
[4260][DOMStorage] Warning: DOMStorage is supported, but cannot be used: Debug.js:116:17
[4267][scheduleController][video] stop Debug.js:116:17
NS_ERROR_STORAGE_CONSTRAINT: DOMStorage.js:122:0
This problem does not exist in 2.0 - the second, unhandled, NS_ERROR_STORAGE_CONSTRAINT exception is no longer thrown as no write is attempted if the initial test fails.
You still can't access the localStorage, and we don't do anything about that, so we can't save any state, but it does continue to play as expected.
If I load a Firefox user profile in Firefox 46 (Nightly), Firefox updates the internal schema version of its localStorage database. If I then open the profile with an earlier Firefox version (e.g. 43) and try to play an mpd, dash.js fails to load the mpd because the localStorage database exists but is unreadable. See the error log below.
In this case, dash.js should probably nuke its unreadable localStorage database and create a new one. The user has already lost their dash.js localStorage data. Or dash.js should at least not prevent video playback if localStorage is unreadable.
I tested dash.js version 1.6.0 and the following mpd:
http://dashif.org/reference/players/javascript/v1.6.0/samples/dash-if-reference-player/index.html
http://vm2.dashif.org/dash/vod/testpic_2s/multi_subs.mpd
The text was updated successfully, but these errors were encountered: