Remove globalStorage fallback support

RESOLVED FIXED

Status

RESOLVED FIXED
7 years ago
4 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
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 || {};
(Assignee)

Updated

7 years ago
Summary: Remove globalStorage fallback leftovers → Remove globalStorage fallback support
(Assignee)

Comment 1

7 years ago
Created attachment 627559 [details] [diff] [review]
Patch v1
Attachment #627559 - Flags: review?(arpad.borsos)
Attachment #627559 - Flags: review?(arpad.borsos) → review+
(Assignee)

Comment 2

7 years ago
Thanks for the quick review :-)

http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/e299531ca143
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Assignee)

Updated

7 years ago
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.