Preserve user activation for window.open cases when fission is disabled
Categories
(Core :: DOM: Navigation, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
While implementing Bug 1888756 it became clear that window.open()
calls do not preserve the user activation across process boundaries when fission is disabled.
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
The code path that was used for loading a document
with fission disabled did not take user activation into account.
This made almost all WPTs for Text Fragments fail,
since they depend on this flag to decide if
a text directive is allowed to be scrolled to.
This patch makes sure that the user activation is
also available for code paths that run through
CanonicalBrowsingContext::FixupAndLoadURIString()
to load a document.
This is done by adding a flag hasValidUserGestureActivation
to the nsIOpenWindowInfo
, which carries it through
the JS stack for loading a document.
Assignee | ||
Comment 2•1 year ago
|
||
https://hg.mozilla.org/mozilla-central/rev/992a876144a0
https://hg.mozilla.org/mozilla-central/rev/0e582d262ca8
Comment 6•1 year ago
|
||
Backed out for blocking the backout of Bug 1888756
Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/25b39ff6f118
https://hg.mozilla.org/mozilla-central/rev/3db9c60ad0a3
Description
•