Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1590864 - part1 : get the user activation state from top-level br…
…owsing context. r=edgar As `ApproverDocOf()` uses `docshell::GetInProcessSameTypeRootTreeItem()`, which is not compatible in Fission because we are not able to get the top document if we are in the remote process. Therefore, we should check browsering content directly instead, because the user activation state would be sync automatically for each top-level browsing context among different processes. Differential Revision: https://phabricator.services.mozilla.com/D51427 --HG-- extra : moz-landing-system : lando
- Loading branch information