Open Bug 1687029 Opened 3 years ago Updated 2 years ago

The principal of the initial about:blank page would be incorrect when running the WPT 'unset_context_name-1.html' in Fission mode

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

Fission Milestone Future

People

(Reporter: timhuang, Unassigned)

References

(Blocks 1 open bug)

Details

When running the WPT unset_context_name-1.html, the principal of the initial about:blank page will be the principal of the testing page in Fission mode. In non-FIssion mode, the principal would be a null principal.

This would make the test fail in Fission mode because the principal will be the same between the initial about:blank page and the testing page. So the window.name won't be reset.

Severity: -- → S3

Fission has against-the-HTML-spec about:blank handling and browsing context switch (which will happen often when bfcache is used) will make the setup a tad more complicated too

Priority: -- → P3
Component: DOM: Core & HTML → DOM: Navigation

Low priority because Olli says opening about:blank with noopener is not a real user scenario.

Fission Milestone: --- → MVP

This bug will soon be invalid after Bug 1687527 was landed. I will close this once it has been landed.

This bug is not invalid. Fission's about:blank handling isn't following the spec.

Ah, I see. Yeah, I was thinking that this bug is only for the WPT 'unset_context_name-1.html'. Given that WPT 'unset_context_name-1.html' will no longer be available after Bug1687527, so we could close this. But given that Fission has an issue of about:blank handling, this bug should still be kept. Or do we have another bug that has been filed already, that we can set this bug as duplicate?

(In reply to Tim Huang[:timhuang] [PTO until 4 July] from comment #5)

Ah, I see. Yeah, I was thinking that this bug is only for the WPT 'unset_context_name-1.html'. Given that WPT 'unset_context_name-1.html' will no longer be available after Bug1687527, so we could close this. But given that Fission has an issue of about:blank handling, this bug should still be kept. Or do we have another bug that has been filed already, that we can set this bug as duplicate?

Let's keep this bug for this about:blank rel=noopener issue. Moving to Fission Future because this bug doesn't need to block Fission MVP.

Severity: S3 → S4
Fission Milestone: MVP → Future
See Also: → 1746349
You need to log in before you can comment on or make changes to this bug.