зеркало из https://github.com/mozilla/gecko-dev.git
2e05768081
Also while doing it: * Ensure activity observers get notified after visibility is computed already. This is how we notify all other activity observers already, and we are double-notifying in the case we actually get a page show _and_ a visibility change, but this is a pre-existing problem. * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide doesn't mess up with our visibility state the regular check just works. I ensured I didn't regress bug 1444541. * Had to fix a UITour test that relied on the visibility changing back and forth for the detached tab. It seems there's no real place in UITour that listens to that event so we should be good. * Added tests, verifying that they both fail without the patch. After this we can remove nsDocShell::InFrameSwap(), as the only caller is the assertion, but I wanted to keep it regardless, at least for now, until this patch has been in for a bit. Differential Revision: https://phabricator.services.mozilla.com/D45906 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
.eslintrc.js | ||
browser.ini | ||
browser_UITour.js | ||
browser_UITour2.js | ||
browser_UITour3.js | ||
browser_UITour4.js | ||
browser_UITour5.js | ||
browser_UITour_annotation_size_attributes.js | ||
browser_UITour_availableTargets.js | ||
browser_UITour_defaultBrowser.js | ||
browser_UITour_detach_tab.js | ||
browser_UITour_forceReaderMode.js | ||
browser_UITour_modalDialog.js | ||
browser_UITour_observe.js | ||
browser_UITour_panel_close_annotation.js | ||
browser_UITour_pocket.js | ||
browser_UITour_resetProfile.js | ||
browser_UITour_showNewTab.js | ||
browser_UITour_showProtectionReport.js | ||
browser_UITour_sync.js | ||
browser_UITour_toggleReaderMode.js | ||
browser_backgroundTab.js | ||
browser_closeTab.js | ||
browser_fxa.js | ||
browser_no_tabs.js | ||
browser_openPreferences.js | ||
browser_openSearchPanel.js | ||
browser_showMenu.js | ||
head.js | ||
image.png | ||
uitour.html |