Enable DOM Storage and isolate it to url bar domain
DOM storage is currently disabled in TBB. We should be isolating it to url bar domain. See mozIThirdPartyUtil and #5742 (closed) for useful APIs.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author
Trac:
Summary: Isolate DOM Storage to url bar domain to Enable DOM Storage and isolate it to url bar domain - Author
Trac:
Keywords: tbb-linkability deleted, tbb-linkability tbb-bounty added - Author
We need this for https://read.amazon.com. See #7289 (moved).
Trac:
6564-dom-storage.patchFirefox patch to isolate DOM storage to URL bar domain
In addition to applying the attached patch to the browser, the following line was removed from build-scripts/config/prefs.js:
user_pref("dom.storage.enabled", false);
In the future, we plan to disable DOM storage for most URL bar (first party) URLs that lack a host component, e.g., data: and javascript: URLs. We will probably allow DOM storage for chrome: and resource: URLs.
- Author
This is patch is deployed in TBB-stable. However, see child ticket for the follow-on work wrt NULL host URLs and other firstparty edge cases.
- Author
Trac:
Resolution: N/A to fixed
Status: new to closed Not sure if the unhelpful log output is caused by this code or from code of the related #5742 (closed), but I'll document here due to a hunch:
When navigating https://www.ddg.gg/ (or any other site), the browser console (Shift-Ctrl-J) is logging:
getFirstPartyURI failed for http://ocsp.digicert.com/: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico#-moz-resolution=16,16: 0x80070057
...which may indicate a missing conditional expression in either nsGlobalWindow.cpp or ThirdPartyUtils from #5742 (closed)?
Trac:
Username: michaelReplying to michael:
Not sure if the unhelpful log output is caused by this code or from code of the related #5742 (closed), but I'll document here due to a hunch:
When navigating https://www.ddg.gg/ (or any other site), the browser console (Shift-Ctrl-J) is logging:
{{{ getFirstPartyURI failed for http://ocsp.digicert.com/: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico#-moz-resolution=16,16: 0x80070057 }}}
...which may indicate a missing conditional expression in either nsGlobalWindow.cpp or ThirdPartyUtils from #5742 (closed)?
This is a known issue and it should be fixed as part of #13670 (moved).
Replying to myself:
When navigating https://www.ddg.gg/ (or any other site), the browser console (Shift-Ctrl-J) is logging:
{{{ getFirstPartyURI failed for http://ocsp.digicert.com/: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico: 0x80070057 getFirstPartyURI failed for https://duckduckgo.com/favicon.ico#-moz-resolution=16,16: 0x80070057 }}}
That's misplaced and belongs in #13670 (moved), please ignore.
Trac:
Username: michael- Trac closed
closed
- Mike Perry mentioned in issue #7006 (closed)
mentioned in issue #7006 (closed)
- Mike Perry mentioned in issue #7289 (moved)
mentioned in issue #7289 (moved)
- Mike Perry mentioned in issue #8156 (moved)
mentioned in issue #8156 (moved)
- Mike Perry mentioned in issue #8292 (moved)
mentioned in issue #8292 (moved)
- Mike Perry mentioned in issue #10819 (closed)
mentioned in issue #10819 (closed)
- Mark Smith mentioned in issue #12620 (moved)
mentioned in issue #12620 (moved)
- Arthur Edelstein mentioned in issue #12620 (moved)
mentioned in issue #12620 (moved)
- Arthur Edelstein mentioned in issue #16577 (moved)
mentioned in issue #16577 (moved)
- Trac mentioned in issue tpo/applications/tor-browser#7289 (closed)
mentioned in issue tpo/applications/tor-browser#7289 (closed)
- Trac mentioned in issue tpo/applications/tor-browser#16577 (moved)
mentioned in issue tpo/applications/tor-browser#16577 (moved)
- morgan mentioned in issue tpo/applications/tor-browser-bundle-testsuite#40050
mentioned in issue tpo/applications/tor-browser-bundle-testsuite#40050