[tbb-bugs] #19575 [Applications/Tor Browser]: Test for privacy.thirdparty.isolate fails with a timeout

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 5 17:19:26 UTC 2016


#19575: Test for privacy.thirdparty.isolate fails with a timeout
------------------------------------------+----------------------
     Reporter:  boklm                     |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 The test in
 `dom/tests/mochitest/localstorage/test_localStorageByFirstParty.html` is
 failing with a timeout error.

 In the logs we have:
 {{{
 1 INFO TEST-START |
 dom/tests/mochitest/localstorage/test_localStorageByFirstParty.html
 JavaScript error:
 http://example.net/tests/dom/tests/mochitest/localstorage/firstPartyInner.html?domain=example.com&prescribed=test1&pref=0&host=http%3A%2F%2Fexample.com,
 line 10: SecurityError: The operation is insecure.
 }}}

 Line 10 in `firstPartyInner.html` is:
 {{{
 found = localStorage.getItem("firstPartyTest"),
 }}}

 I think the reason might be
 https://bugzilla.mozilla.org/show_bug.cgi?id=536509 which now prevents
 localStorage access from an iframe when third-party cookies is disabled.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19575>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list