gecko-dev/browser/components/uitour/test
Emilio Cobos Álvarez 2e05768081 Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
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
2019-09-23 10:16:44 +00:00
..
.eslintrc.js
browser_backgroundTab.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_closeTab.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_fxa.js Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod 2019-08-02 13:55:19 +00:00
browser_no_tabs.js Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh 2019-08-15 14:32:48 +00:00
browser_openPreferences.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_openSearchPanel.js
browser_showMenu.js Bug 1564367 - Remove the content blocking UI tour. r=MattN,fluent-reviewers,flod 2019-07-11 10:29:17 +00:00
browser_UITour2.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour3.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour4.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour5.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_annotation_size_attributes.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_availableTargets.js Bug 1582768 - Add UITour target for Logins and Passwords in the main menu. r=jaws 2019-09-20 16:50:43 +00:00
browser_UITour_defaultBrowser.js Bug 324361 - Remove openApplication/openApplicationWithURI from the shell service as they aren't used. r=mossop 2019-08-27 08:03:12 +00:00
browser_UITour_detach_tab.js Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky 2019-09-23 10:16:44 +00:00
browser_UITour_forceReaderMode.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_modalDialog.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_observe.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_panel_close_annotation.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_pocket.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_resetProfile.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_showNewTab.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_showProtectionReport.js Bug 1577031 - make Protection Report page sharable via UITour. r=johannh 2019-09-06 15:45:28 +00:00
browser_UITour_sync.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour_toggleReaderMode.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser_UITour.js Bug 1561435 - Format browser/components/, a=automatic-formatting 2019-07-05 09:53:32 +02:00
browser.ini Bug 1577031 - make Protection Report page sharable via UITour. r=johannh 2019-09-06 15:45:28 +00:00
head.js Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8 2019-09-14 09:39:26 +00:00
image.png
uitour.html