48screen-orientation/

41 / 50 WPT subtests passing

Failed
9
Timed out
0
Not run
0
Test files
8
Blocking files
0

Chrome none reported WPT subtests passing on the same files, none blocking, 8 without a result

Tests

8 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
hidden_document.html2 / 4 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILhidden documents must not unlock the screen orientation
    promise_test: Unhandled rejection with value: object "NotSupportedError: screen.orientation.lock() is not available on this device."
  2. FAILOnce maximized, a minimized window can lock or unlock the screen orientation again
    promise_test: Unhandled rejection with value: object "NotSupportedError: screen.orientation.lock() is not available on this device."
2 passing subtests
  1. hidden documents must reject went trying to call lock or unlock
  2. hidden documents must reject went trying to call unlock
idlharness.window.js25 / 25 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
25 passing subtests
  1. idl_test setup
  2. idl_test validation
  3. Partial interface Screen: original interface defined
  4. Partial interface Screen: member names are unique
  5. ScreenOrientation interface: existence and properties of interface object
  6. ScreenOrientation interface object length
  7. ScreenOrientation interface object name
  8. ScreenOrientation interface: existence and properties of interface prototype object
  9. ScreenOrientation interface: existence and properties of interface prototype object's "constructor" property
  10. ScreenOrientation interface: existence and properties of interface prototype object's @@unscopables property
  11. ScreenOrientation interface: operation lock(OrientationLockType)
  12. ScreenOrientation interface: operation unlock()
  13. ScreenOrientation interface: attribute type
  14. ScreenOrientation interface: attribute angle
  15. ScreenOrientation interface: attribute onchange
  16. ScreenOrientation must be primary interface of screen.orientation
  17. Stringification of screen.orientation
  18. ScreenOrientation interface: screen.orientation must inherit property "lock(OrientationLockType)" with the proper type
  19. ScreenOrientation interface: calling lock(OrientationLockType) on screen.orientation with too few arguments must throw TypeError
  20. ScreenOrientation interface: screen.orientation must inherit property "unlock()" with the proper type
  21. ScreenOrientation interface: screen.orientation must inherit property "type" with the proper type
  22. ScreenOrientation interface: screen.orientation must inherit property "angle" with the proper type
  23. ScreenOrientation interface: screen.orientation must inherit property "onchange" with the proper type
  24. Screen interface: attribute orientation
  25. Screen interface: screen must inherit property "orientation" with the proper type
lock-bad-argument.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. screen.orientation.lock() must throw given invalid input.
  2. screen.orientation.lock() must throw when the input is missing.
lock-basic.html1 / 3 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILTest that screen.orientation.lock returns a promise which will be fulfilled with a void value.
    promise_test: Unhandled rejection with value: object "NotSupportedError: screen.orientation.lock() is not available on this device."
  2. FAILTest that screen.orientation.lock() is actually async
    promise_test: Unhandled rejection with value: object "NotSupportedError: screen.orientation.lock() is not available on this device."
1 passing subtest
  1. Test that screen.orientation.lock returns a pending promise.
lock-sandboxed-iframe.html1 / 2 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILTest with 'allow-orientation-lock' sandboxing directive
    assert_equals: screen.orientation lock to portrait-primary expected (string) "portrait-primary" but got (object) object "[object Object]"
1 passing subtest
  1. Test without 'allow-orientation-lock' sandboxing directive
non-fully-active.html2 / 3 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILMaking a document non-fully active while locking results in an AbortError
    promise_rejects_dom: function "function() { throw e; }" threw object "NotSupportedError: screen.orientation.lock() is not available on this device." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
2 passing subtests
  1. Attempting to lock non-fully active documents results in a InvalidStateError
  2. Attempting to unlock non-fully active documents results in a InvalidStateError
orientation-reading.html5 / 6 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILTest that ScreenOrientation's attribute values change after 'change' event fires
    promise_test: Unhandled rejection with value: object "NotSupportedError: screen.orientation.lock() is not available on this device."
5 passing subtests
  1. screen.orientation attributes are present
  2. Test the orientations and associated angles when the natural orientation is 'portrait'
  3. Test the orientations and associated angles when the natural orientation is 'landscape'
  4. Test that ScreenOrientation properties are not writable
  5. Test that ScreenOrientation is always the same object
unlock.html3 / 5 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILunlock() aborts a pending lock request
    promise_rejects_dom: function "function() { throw e; }" threw object "NotSupportedError: screen.orientation.lock() is not available on this device." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
  2. FAILunlock() aborts a pending lock request across documents
    promise_rejects_dom: function "function() { throw e; }" threw object "NotSupportedError: screen.orientation.lock() is not available on this device." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
3 passing subtests
  1. unlock() doesn't throw when there is no lock
  2. unlock() returns a void value
  3. unlock() doesn't throw when there is no lock with fullscreen

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.