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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
idlharness.window.js 25 / 25 passingChrome —0 failedClean
25 passing subtests
- idl_test setup
- idl_test validation
- Partial interface Screen: original interface defined
- Partial interface Screen: member names are unique
- ScreenOrientation interface: existence and properties of interface object
- ScreenOrientation interface object length
- ScreenOrientation interface object name
- ScreenOrientation interface: existence and properties of interface prototype object
- ScreenOrientation interface: existence and properties of interface prototype object's "constructor" property
- ScreenOrientation interface: existence and properties of interface prototype object's @@unscopables property
- ScreenOrientation interface: operation lock(OrientationLockType)
- ScreenOrientation interface: operation unlock()
- ScreenOrientation interface: attribute type
- ScreenOrientation interface: attribute angle
- ScreenOrientation interface: attribute onchange
- ScreenOrientation must be primary interface of screen.orientation
- Stringification of screen.orientation
- ScreenOrientation interface: screen.orientation must inherit property "lock(OrientationLockType)" with the proper type
- ScreenOrientation interface: calling lock(OrientationLockType) on screen.orientation with too few arguments must throw TypeError
- ScreenOrientation interface: screen.orientation must inherit property "unlock()" with the proper type
- ScreenOrientation interface: screen.orientation must inherit property "type" with the proper type
- ScreenOrientation interface: screen.orientation must inherit property "angle" with the proper type
- ScreenOrientation interface: screen.orientation must inherit property "onchange" with the proper type
- Screen interface: attribute orientation
- Screen interface: screen must inherit property "orientation" with the proper type
lock-bad-argument.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- screen.orientation.lock() must throw given invalid input.
- screen.orientation.lock() must throw when the input is missing.
lock-basic.html 1 / 3 passingChrome —2 failedWith failures
- ¶
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."
- ¶
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
- Test that screen.orientation.lock returns a pending promise.
lock-sandboxed-iframe.html 1 / 2 passingChrome —1 failedWith failures
- ¶
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
- Test without 'allow-orientation-lock' sandboxing directive
non-fully-active.html 2 / 3 passingChrome —1 failedWith failures
- ¶
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
- Attempting to lock non-fully active documents results in a InvalidStateError
- Attempting to unlock non-fully active documents results in a InvalidStateError
orientation-reading.html 5 / 6 passingChrome —1 failedWith failures
- ¶
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
- screen.orientation attributes are present
- Test the orientations and associated angles when the natural orientation is 'portrait'
- Test the orientations and associated angles when the natural orientation is 'landscape'
- Test that ScreenOrientation properties are not writable
- Test that ScreenOrientation is always the same object
unlock.html 3 / 5 passingChrome —2 failedWith failures
- ¶
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 - ¶
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
- unlock() doesn't throw when there is no lock
- unlock() returns a void value
- unlock() doesn't throw when there is no lock with fullscreen