Opened 4 years ago

Closed 4 months ago

#19575 closed defect (wontfix)

Test for privacy.thirdparty.isolate fails with a timeout

Reported by: boklm Owned by: cypherpunks
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords: tbb-test-failures
Cc: arthuredelstein 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:, line 10: SecurityError: The operation is insecure.

Line 10 in firstPartyInner.html is:

found = localStorage.getItem("firstPartyTest"),

I think the reason might be which now prevents localStorage access from an iframe when third-party cookies is disabled.

Child Tickets

Change History (4)

comment:1 Changed 4 years ago by gk

Component: Applications/Tor BrowserApplications/Quality Assurance and Testing
Keywords: tbb-test-failures added
Owner: changed from tbb-team to cypherpunks

comment:2 Changed 4 years ago by gk

Yes, that's due to I think what we want to do is having kind of 2 tests:

1) The test running while e.g. third party cookies are enabled (to make sure we can test our isolation technique.
2) The test catching the exception in a way that it succeeds as long as it throws where it throws right now.

comment:3 Changed 3 years ago by cypherpunks

Does 1) work now?

comment:4 Changed 4 months ago by acat

Resolution: wontfix
Status: newclosed

We don't have this test anymore.

Note: See TracTickets for help on using tickets.