mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

Implement an observer to wait for correct window events in order to restore tab content. Non-SHIP code restores about:reader scroll position after receiving "AboutReaderContentReady" event, so to achieve the same thing with session history in parent enabled, we can wait for "AboutReader:Ready" event. Differential Revision: https://phabricator.services.mozilla.com/D108712