Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shim localstorage for use when third-party cookies are blocked #545

Merged
merged 1 commit into from
Apr 17, 2016

Conversation

gideonthomas
Copy link

Should fix mozilla/thimble.mozilla.org#1437

} finally {
return localStorage;
}
}(window));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if you should actually be doing this sooner, specifically in https://github.com/mozilla/brackets/blob/master/src/utils/Compatibility.js. That way, if some other part of the code starts using localStorage, we aren't going to have an order bug.

@humphd
Copy link

humphd commented Mar 14, 2016

Let's undo all your whitespace changes in this file, and move your memory shim to Compatibility.js, and this is r+.

@gideonthomas gideonthomas assigned gideonthomas and unassigned humphd Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thimble is not functional when 3rd party cookies are disabled, or tracking protection enabled
2 participants