Closed Bug 758954 Opened 9 years ago Closed 9 years ago

Remove globalStorage fallback support

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Now that globalStorage support has been removed by bug 687579, the fallback support is no longer useful, particularly given that no other major browsers supported it anyway (http://dev-test.nemikor.com/web-storage/support-test/).

>  76 // Fallbacks for localStorage:
>  77 try {
>  78   window.storage = window.localStorage;
>  79 } catch (e) {}
>  80 if (!window.storage) {
>  81   try {
>  82     if (window.globalStorage)
>  83       window.storage = globalStorage[location.host];
>  84   } catch (e) {}
>  85 }
>  86 window.storage = window.storage || {};
Summary: Remove globalStorage fallback leftovers → Remove globalStorage fallback support
Attached patch Patch v1Splinter Review
Attachment #627559 - Flags: review?(arpad.borsos)
Attachment #627559 - Flags: review?(arpad.borsos) → review+
Thanks for the quick review :-)

http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/e299531ca143
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 760321
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.