[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18811 [Tor Browser]: Our first-party isolation patch incorrectly rejects blobs retrieved in workers
#18811: Our first-party isolation patch incorrectly rejects blobs retrieved in
workers
-------------------------+-------------------------------------------------
Reporter: | Owner: tbb-team
arthuredelstein | Status: new
Type: defect | Milestone:
Priority: Medium | Version:
Component: Tor | Keywords: ff45-esr, TorBrowserTeam201604,
Browser | tbb-6.0a5
Severity: Normal | Parent ID: #15197
Actual Points: | Reviewer:
Points: |
Sponsor: |
-------------------------+-------------------------------------------------
When isolation is enabled, blobs retrieved by an XHR inside a worker are
rejected even when the blob's first party matches the worker's first
party. I found that the regression was caused by this Mozilla patch:
https://hg.mozilla.org/mozilla-
central/diff/12a852867c16/dom/base/nsXMLHttpRequest.cpp#l1694
Because of the Mozilla patch, when we are in a worker, NS_NewChannel is no
longer passed a document, so our patch code in
`nsHostObjectProtocolHandler::NewChannel2` is not able to obtain the
correct first party. Therefore the blob URI is rejected even if the first
party of the worker matches. I haven't yet figured out how to fix this
problem.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18811>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs