author | Brad Werth <bwerth@mozilla.com> |
Mon, 06 Mar 2023 19:38:11 +0000 (2023-03-06) | |
changeset 655483 | 8201fa6c615652109ecc06d4ca7c164844c75da3 |
parent 655482 | 98df31ea18e224a8fbd73926289fae3de8d11d8d |
child 655484 | 168ec9dca708f3302ecb3c912e591197daf0c878 |
push id | 179734 |
push user | bwerth@mozilla.com |
push date | Mon, 06 Mar 2023 19:41:32 +0000 (2023-03-06) |
treeherder | autoland@168ec9dca708 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mstange |
bugs | 1631735 |
milestone | 112.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/widget/tests/test_sizemode_events.xhtml +++ b/widget/tests/test_sizemode_events.xhtml @@ -19,18 +19,19 @@ <script class="testbody"> <![CDATA[ const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; let gWindow = null; const kIsLinux = navigator.platform.includes("Lin"); -// On Linux sizemode changes might be async. -const kAsyncChanges = kIsLinux; +const kIsMacOS = navigator.platform.includes("Mac"); +// On Linux and macOS sizemode changes might be async. +const kAsyncChanges = kIsLinux || kIsMacOS; let gSizeModeDidChange = false; let gSizeModeDidChangeTo = 0; function sizemodeChanged(e) { gSizeModeDidChange = true; gSizeModeDidChangeTo = gWindow.windowState; }