mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
d844b3f9fc
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. Differential Revision: https://phabricator.services.mozilla.com/D213401 |
||
---|---|---|
.. | ||
base | ||
build | ||
shistory | ||
test | ||
moz.build |