mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00

When the document is hidden from view, silently drop position updates on the floor. This aligns, more or less, with Chrome and Safari. The situation with "not fully active" is a bit more quirky, because non-fully active documents are generally hidden (e.g., `remove()`ing and iframe). Regardless, I think this gives us the desired behavior and covers the main privacy case: background tabs should not receive position updates. Differential Revision: https://phabricator.services.mozilla.com/D109279