gecko-dev/dom/tests
Brad Werth a9a7928a80 Bug 1776738: Make fullscreen and pointerlock mochitests use document.fullscreenElement to determine fullscreen-ness. r=edgar
With these changes, it's no longer necessary to store the normalSize on
the window, since we never check it, nor check for resize events. This
also removes the flaky timeouts, and replaces them with an executeSoon.

For some of the fullscreen tests, the number of calls to enter and exit
fullscreen are not matched. Since that count is essential for the checks
of whether or not the screen is in the expected fullscreen, this defines a
method that can force the count to a specific value. This is used in some
of the fullscreen tests to get the expected results.

Differential Revision: https://phabricator.services.mozilla.com/D172852
2023-03-21 23:07:38 +00:00
..
browser Bug 1444491 - Update existing internal tests based on the autofocus algorithm updates r=emilio 2023-02-15 20:08:37 +00:00
mochitest Bug 1776738: Make fullscreen and pointerlock mochitests use document.fullscreenElement to determine fullscreen-ness. r=edgar 2023-03-21 23:07:38 +00:00
reftest
unit
moz.build Bug 1785125: Disable OriginPrivateFileSystem (OPFS) in Private Browsing r=asuth,dom-storage-reviewers,janv 2022-11-23 02:07:32 +00:00