Fixing Fx throwing an exception when accessing localStorage if cookies are disabled.
* In the example RP, instead of accessing localStorage directly, access it through a variable that is guaranteed to exist. * In page_helpers.js, do all localStorage access through new functions in storage.js * In storage.js, if localStorage is inaccessible, create a standin. issue #1414
Showing
- example/rp/index.html 12 additions, 3 deletionsexample/rp/index.html
- resources/static/pages/page_helpers.js 11 additions, 11 deletionsresources/static/pages/page_helpers.js
- resources/static/shared/storage.js 34 additions, 14 deletionsresources/static/shared/storage.js
- resources/static/test/cases/shared/storage.js 7 additions, 0 deletionsresources/static/test/cases/shared/storage.js
Loading
Please register or sign in to comment