From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../web-platform/meta/screen-orientation/__dir__.ini | 1 + .../meta/screen-orientation/active-lock.html.ini | 18 ++++++++++++++++++ .../screen-orientation/event-before-promise.html.ini | 5 +++++ .../fullscreen-interactions.html.ini | 5 +++++ .../meta/screen-orientation/hidden_document.html.ini | 11 +++++++++++ .../meta/screen-orientation/lock-bad-argument.html.ini | 3 +++ .../meta/screen-orientation/lock-basic.html.ini | 18 ++++++++++++++++++ .../screen-orientation/lock-sandboxed-iframe.html.ini | 9 +++++++++ .../meta/screen-orientation/lock-unlock-check.html.ini | 8 ++++++++ .../meta/screen-orientation/nested-documents.html.ini | 11 +++++++++++ .../meta/screen-orientation/non-fully-active.html.ini | 8 ++++++++ .../onchange-event-subframe.html.ini | 10 ++++++++++ .../meta/screen-orientation/onchange-event.html.ini | 13 +++++++++++++ .../screen-orientation/orientation-reading.html.ini | 5 +++++ .../meta/screen-orientation/unlock.html.ini | 9 +++++++++ 15 files changed, 134 insertions(+) create mode 100644 testing/web-platform/meta/screen-orientation/__dir__.ini create mode 100644 testing/web-platform/meta/screen-orientation/active-lock.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/event-before-promise.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/fullscreen-interactions.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/hidden_document.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/lock-basic.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/lock-unlock-check.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/nested-documents.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/non-fully-active.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/onchange-event.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/orientation-reading.html.ini create mode 100644 testing/web-platform/meta/screen-orientation/unlock.html.ini (limited to 'testing/web-platform/meta/screen-orientation') diff --git a/testing/web-platform/meta/screen-orientation/__dir__.ini b/testing/web-platform/meta/screen-orientation/__dir__.ini new file mode 100644 index 0000000000..76398114dc --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/__dir__.ini @@ -0,0 +1 @@ +prefs: [dom.screenorientation.allow-lock:true] diff --git a/testing/web-platform/meta/screen-orientation/active-lock.html.ini b/testing/web-platform/meta/screen-orientation/active-lock.html.ini new file mode 100644 index 0000000000..0c6cb113ff --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/active-lock.html.ini @@ -0,0 +1,18 @@ +[active-lock.html] + expected: + if os == "android": TIMEOUT + ERROR + [Performing a fragment navigation must not abort the screen orientation change] + expected: + if os == "android": PASS + FAIL + + [Performing a fragment navigation within an iframe must not abort the lock promise] + expected: + if os == "android": PASS + FAIL + + [Unloading an iframe by navigating it must abort the lock promise] + expected: + if os == "android": TIMEOUT + FAIL diff --git a/testing/web-platform/meta/screen-orientation/event-before-promise.html.ini b/testing/web-platform/meta/screen-orientation/event-before-promise.html.ini new file mode 100644 index 0000000000..1c473ce460 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/event-before-promise.html.ini @@ -0,0 +1,5 @@ +[event-before-promise.html] + [The 'change' event must fire before the [[orientationPendingPromise\]\] is resolved.] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/fullscreen-interactions.html.ini b/testing/web-platform/meta/screen-orientation/fullscreen-interactions.html.ini new file mode 100644 index 0000000000..563f1c1dd8 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/fullscreen-interactions.html.ini @@ -0,0 +1,5 @@ +[fullscreen-interactions.html] + [fullscreen and orientation support] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/hidden_document.html.ini b/testing/web-platform/meta/screen-orientation/hidden_document.html.ini new file mode 100644 index 0000000000..dfccc5c159 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/hidden_document.html.ini @@ -0,0 +1,11 @@ +[hidden_document.html] + expected: + if os == "android": ERROR + [hidden documents must reject went trying to call unlock] + expected: FAIL + + [hidden documents must not unlock the screen orientation] + expected: FAIL + + [Once maximized, a minimized window can lock or unlock the screen orientation again] + expected: FAIL diff --git a/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini b/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini new file mode 100644 index 0000000000..1c94391332 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/lock-bad-argument.html.ini @@ -0,0 +1,3 @@ +[lock-bad-argument.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/screen-orientation/lock-basic.html.ini b/testing/web-platform/meta/screen-orientation/lock-basic.html.ini new file mode 100644 index 0000000000..425e93aeb4 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/lock-basic.html.ini @@ -0,0 +1,18 @@ +[lock-basic.html] + [Test that screen.orientation.lock returns a promise which will be fulfilled with a void value.] + expected: + if os == "android": PASS + FAIL + + [Test that screen.orientation.lock() is actually async] + expected: + if os == "android": PASS + FAIL + + [Test that screen.orientation.lock returns a pending promise.] + expected: + if (os == "win") and not debug and (processor == "x86"): [FAIL, PASS] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] + if (os == "android") and debug and not swgl: [FAIL, PASS] + if (os == "win") and debug: [PASS, FAIL] + if (os == "android") and not debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini b/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini new file mode 100644 index 0000000000..908bb28c09 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/lock-sandboxed-iframe.html.ini @@ -0,0 +1,9 @@ +[lock-sandboxed-iframe.html] + max-asserts: 2 + expected: + if (os == "android") and fission: [ERROR, TIMEOUT, OK] + ERROR + [Test with 'allow-orientation-lock' sandboxing directive] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/lock-unlock-check.html.ini b/testing/web-platform/meta/screen-orientation/lock-unlock-check.html.ini new file mode 100644 index 0000000000..941af8dad0 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/lock-unlock-check.html.ini @@ -0,0 +1,8 @@ +[lock-unlock-check.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Unlocking the screen orientation after a change event must not abort] + expected: FAIL + + [Re-locking the screen orientation after a change event fires must not abort] + expected: FAIL diff --git a/testing/web-platform/meta/screen-orientation/nested-documents.html.ini b/testing/web-platform/meta/screen-orientation/nested-documents.html.ini new file mode 100644 index 0000000000..ee821acc90 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/nested-documents.html.ini @@ -0,0 +1,11 @@ +[nested-documents.html] + expected: + if (os == "android") and not fission: ERROR + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + if os == "win": ERROR + ERROR + [Requesting orientation lock from one document cancels the lock request from another document] + expected: FAIL + + [The orientation lock from one document affects lock requests from other documents] + expected: FAIL diff --git a/testing/web-platform/meta/screen-orientation/non-fully-active.html.ini b/testing/web-platform/meta/screen-orientation/non-fully-active.html.ini new file mode 100644 index 0000000000..bf6ec6ad94 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/non-fully-active.html.ini @@ -0,0 +1,8 @@ +[non-fully-active.html] + [Making a document non-fully active while locking results in an AbortError] + expected: + if (os == "win") and not debug and (processor == "x86"): [FAIL, PASS] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, PASS] + if (os == "win") and debug: [FAIL, PASS] + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini b/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini new file mode 100644 index 0000000000..5a315a83e7 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/onchange-event-subframe.html.ini @@ -0,0 +1,10 @@ +[onchange-event-subframe.html] + [Test subframes receive orientation change events] + expected: + if os == "android": PASS + FAIL + + [Check directly that events are fired in right order (from top to bottom)] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/onchange-event.html.ini b/testing/web-platform/meta/screen-orientation/onchange-event.html.ini new file mode 100644 index 0000000000..6581a5bbf0 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/onchange-event.html.ini @@ -0,0 +1,13 @@ +[onchange-event.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + if (os == "android") and not fission: OK + [Test that orientationchange event is fired when the orientation changes.] + expected: + if os == "android": PASS + FAIL + + [Test that orientationchange event is not fired when the orientation does not change.] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini b/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini new file mode 100644 index 0000000000..f415125d18 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/orientation-reading.html.ini @@ -0,0 +1,5 @@ +[orientation-reading.html] + [Test that ScreenOrientation's attribute values change after 'change' event fires] + expected: + if os == "android": PASS + FAIL diff --git a/testing/web-platform/meta/screen-orientation/unlock.html.ini b/testing/web-platform/meta/screen-orientation/unlock.html.ini new file mode 100644 index 0000000000..9d03549c18 --- /dev/null +++ b/testing/web-platform/meta/screen-orientation/unlock.html.ini @@ -0,0 +1,9 @@ +[unlock.html] + [unlock() aborts a pending lock request] + expected: + if os == "android": PASS + if os == "win": PASS + FAIL + + [unlock() aborts a pending lock request across documents] + expected: FAIL -- cgit v1.2.3