[wpt-sync] Sync PR 36392 - Screen orientaton: don't assume -primary/sencondary are supported
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36392 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36392
Details from upstream follow.
Marcos Caceres <marcos@marcosc.com> wrote:
Screen orientaton: don't assume -primary/sencondary are supported
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 6 subtests
Status Summary
Firefox
OK
: 5[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub] 6[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
PASS
: 8[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 9[GitHub] 14[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
FAIL
: 4[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 8[GitHub] 9[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt]
TIMEOUT
: 1
ERROR
: 1
Chrome
OK
: 5
PASS
: 9
FAIL
: 8
TIMEOUT
: 1
ERROR
: 1
Safari
OK
: 2
PASS
: 1
FAIL
: 13
ERROR
: 4
NOTRUN
: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /screen-orientation/active-lock.html [wpt.fyi]
- When performing a fragment navigation, the orientation must not change or unlock:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- When performing a fragment navigation, the orientation must not change or unlock:
- /screen-orientation/lock-basic.html [wpt.fyi]
- Test that screen.orientation.lock returns a promise which will be fulfilled with a void value.:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:FAIL
, Safari:NOTRUN
) - Test that screen.orientation.lock returns a pending promise.:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,GitHub
] (Chrome:PASS
, Safari:NOTRUN
) - Test that screen.orientation.lock() is actually async:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:FAIL
, Safari:NOTRUN
)
- Test that screen.orientation.lock returns a promise which will be fulfilled with a void value.:
- /screen-orientation/lock-sandboxed-iframe.html [wpt.fyi]
- Test without 'allow-orientation-lock' sandboxing directive:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Test with 'allow-orientation-lock' sandboxing directive:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:FAIL
, Safari:FAIL
)
- Test without 'allow-orientation-lock' sandboxing directive:
- /screen-orientation/onchange-event-subframe.html [wpt.fyi]
- Test subframes receive orientation change events:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:FAIL
, Safari:FAIL
)
- Test subframes receive orientation change events:
- /screen-orientation/onchange-event.html [wpt.fyi]
- Test that orientationchange event is not fired when the orientation does not change.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Test that orientationchange event is fired when the orientation changes.:
FAIL
(Chrome:FAIL
, Safari:NOTRUN
)
- Test that orientationchange event is not fired when the orientation does not change.:
- /screen-orientation/orientation-reading.html [wpt.fyi]:
ERROR
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],OK
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:ERROR
, Safari:ERROR
)- Test that screen.orientation values change if the orientation changes:
PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
],TIMEOUT
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
] (Chrome:TIMEOUT
, Safari:FAIL
)
- Test that screen.orientation values change if the orientation changes:
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/658615c2c720
https://hg.mozilla.org/mozilla-central/rev/be907ac83ee7
Description
•