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 2 open bugs)
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•23 days ago
|
Updated•23 days ago
|
Assignee | ||
Comment 1•18 days 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•18 days ago
|
||
Pushed by jjaschke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/992a876144a0 part 1 - Preserve user activation when Fission is disabled. r=edgar,dom-core,tabbrowser-reviewers,mak,geckoview-reviewers,ohall https://hg.mozilla.org/integration/autoland/rev/0e582d262ca8 part 2 - Reactivate failing tests for Text Fragments that failed with Fission disabled. r=edgar,dom-core
https://hg.mozilla.org/mozilla-central/rev/992a876144a0
https://hg.mozilla.org/mozilla-central/rev/0e582d262ca8
Comment 6•9 days ago
|
||
Backed out for blocking the backout of Bug 1888756
Pushed by jjaschke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25b39ff6f118 part 1 - Preserve user activation when Fission is disabled. r=edgar,dom-core,tabbrowser-reviewers,mak,geckoview-reviewers,ohall https://hg.mozilla.org/integration/autoland/rev/3db9c60ad0a3 part 2 - Reactivate failing tests for Text Fragments that failed with Fission disabled. r=edgar,dom-core
Assignee | ||
Updated•3 days ago
|
Comment 8•3 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/25b39ff6f118
https://hg.mozilla.org/mozilla-central/rev/3db9c60ad0a3
Description
•