Merge lp://staging/~gary/juju-gui/support-no-cookies into lp://staging/juju-gui/experimental

Proposed by Gary Poster
Status: Merged
Merged at revision: 894
Proposed branch: lp://staging/~gary/juju-gui/support-no-cookies
Merge into: lp://staging/juju-gui/experimental
Diff against target: 168 lines (+115/-4)
2 files modified
app/store/env/base.js (+52/-3)
test/test_env.js (+63/-1)
To merge this branch: bzr merge lp://staging/~gary/juju-gui/support-no-cookies
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+177002@code.staging.launchpad.net

Description of the change

Fix FF problem when cookies are disabled

When cookies are disabled in FF, sessionStorage is disabled. When sessionStorage is disabled, it just crashes with a security exception. This works around the issue.

https://codereview.appspot.com/11849043/

To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :

Reviewers: mp+177002_code.launchpad.net,

Message:
Please take a look.

Description:
Fix FF problem when cookies are disabled

When cookies are disabled in FF, sessionStorage is disabled. When
sessionStorage is disabled, it just crashes with a security exception.
This works around the issue.

https://code.launchpad.net/~gary/juju-gui/support-no-cookies/+merge/177002

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/11849043/

Affected files:
   A [revision details]
   M app/store/env/base.js
   M test/test_env.js

Revision history for this message
Madison Scott-Clary (makyo) wrote :
Revision history for this message
Benjamin Saller (bcsaller) wrote :
Revision history for this message
Gary Poster (gary) wrote :

*** Submitted:

Fix FF problem when cookies are disabled

When cookies are disabled in FF, sessionStorage is disabled. When
sessionStorage is disabled, it just crashes with a security exception.
This works around the issue.

R=matthew.scott, benjamin.saller
CC=
https://codereview.appspot.com/11849043

https://codereview.appspot.com/11849043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches