Closed Bug 1768193 Opened 3 years ago Closed 3 years ago

Partitioning tests crash the browser

Categories

(Core :: Privacy: Anti-Tracking, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 + fixed

People

(Reporter: emz, Assigned: timhuang)

References

(Regression)

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(3 files)

The tests at https://www.first-party.site/privacy-protections/storage-partitioning/ crash on Nightly.

Mozregression;

10:56.87 INFO: No more integration revisions, bisection finished.
10:56.87 INFO: Last good revision: 56f96e016e98d17af44a470ef6bdd07cd6d420a4
10:56.87 INFO: First bad revision: dd8df905c0a875ee8bd59303bd5bd6fbd3d5fd66
10:56.87 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=56f96e016e98d17af44a470ef6bdd07cd6d420a4&tochange=dd8df905c0a875ee8bd59303bd5bd6fbd3d5fd66

Points to Bug 1731990 and Bug 1731982.

Tim, could you take a look when you're back?

Flags: needinfo?(tihuang)

Set release status flags based on info from the regressing bug 1731990

Has Regression Range: --- → yes
Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Flags: needinfo?(tihuang)
Crash Signature: [@ mozilla::dom::ClientHandle::Control]
Has STR: --- → yes
Keywords: crash, testcase

Should that bug block bug 1730885 ?

Flags: needinfo?(tihuang)

Yes, it should.

I have a patch that can fix this issue. I will submit it once it finishes.

Blocks: dFPI-SW
Flags: needinfo?(tihuang)

In order to know if the mIsThirdPartyContextToTopWindow was set in the
loadInfo of the channel, we use maybe to hold the value. So, we can know
if it was set before.

This patch also addes two methods in LoadInfo to clear and know if the
value is set.

Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/073b3aa0decf Part 1: Use maybe to hold mIsThirdPartyContextToTopWindow in LoadInfo. r=anti-tracking-reviewers,necko-reviewers,bvandersloot,kershaw https://hg.mozilla.org/integration/autoland/rev/0573a72c6409 Part 2: Don't recompute IsThirdPartyToTopWindow if it was set before and there is no browsing context for the channel. r=anti-tracking-reviewers,bvandersloot https://hg.mozilla.org/integration/autoland/rev/828c5fa96135 Part 3: Adding a test to verify loading a shared worker script in a service worker controlled third-party context won't crash. r=anti-tracking-reviewers,bvandersloot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: