[Webkit-unassigned] [Bug 245974] REBASELINE(255032 at main): [ iOS ] imported/w3c/web-platform-tests/screen-orientation/orientation-reading.html is a constant failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 3 11:58:01 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245974

--- Comment #3 from Hercules Hjalmarsson <hhjalmarsson at apple.com> ---
This appears to be progression and just need to be rebaselined due to in 255032 at main the entire test was rebaselined and went from:

@@ -1,8 +1,10 @@

-PASS Test screen.orientation properties
-FAIL Test screen.orientation default values. assert_true: expected true got false
+Harness Error (FAIL), message = Test named 'Test that screen.orientation values change if the orientation changes' specified 1 'cleanup' function, and 1 failed.
+
+FAIL Test screen.orientation properties screen.orientation is not an Object. (evaluating '"type" in screen.orientation')
+FAIL Test screen.orientation default values. undefined is not an object (evaluating 'screen.orientation.type')
 FAIL Test the orientations and associated angles promise_test: Unhandled rejection with value: object "TypeError: document.documentElement.requestFullscreen is not a function. (In 'document.documentElement.requestFullscreen()', 'document.documentElement.requestFullscreen' is undefined)"
-PASS Test that screen.orientation properties are not writable
+FAIL Test that screen.orientation properties are not writable undefined is not an object (evaluating 'screen.orientation.type')
 PASS Test that screen.orientation is always the same object
 FAIL Test that screen.orientation values change if the orientation changes promise_test: Unhandled rejection with value: object "TypeError: document.documentElement.requestFullscreen is not a function. (In 'document.documentElement.requestFullscreen()', 'document.documentElement.requestFullscreen' is undefined)"

To:
@@ -1,6 +1,6 @@

 PASS Test screen.orientation properties
-FAIL Test screen.orientation default values. assert_true: expected true got false
+PASS Test screen.orientation default values.
 FAIL Test the orientations and associated angles promise_test: Unhandled rejection with value: object "TypeError: document.documentElement.requestFullscreen is not a function. (In 'document.documentElement.requestFullscreen()', 'document.documentElement.requestFullscreen' is undefined)"
 PASS Test that screen.orientation properties are not writable
 PASS Test that screen.orientation is always the same object

But the line:
FAIL Test screen.orientation default values. assert_true: expected true got false

Is actually passing on iOS compared to macOS when running the test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221003/485dc1f9/attachment.htm>


More information about the webkit-unassigned mailing list