diff options
Diffstat (limited to 'testing/web-platform/meta/orientation-event')
20 files changed, 209 insertions, 0 deletions
diff --git a/testing/web-platform/meta/orientation-event/__dir__.ini b/testing/web-platform/meta/orientation-event/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/orientation-event/device-orientation-events-of-detached-documents.https.html.ini b/testing/web-platform/meta/orientation-event/device-orientation-events-of-detached-documents.https.html.ini new file mode 100644 index 0000000000..adce3da522 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/device-orientation-events-of-detached-documents.https.html.ini @@ -0,0 +1,5 @@ +[device-orientation-events-of-detached-documents.https.html] + expected: ERROR + [Adding an event listener on the window of a detached document does not crash.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/device-orientation-events-unavailable-on-insecure-origins.html.ini b/testing/web-platform/meta/orientation-event/device-orientation-events-unavailable-on-insecure-origins.html.ini new file mode 100644 index 0000000000..4a795e18be --- /dev/null +++ b/testing/web-platform/meta/orientation-event/device-orientation-events-unavailable-on-insecure-origins.html.ini @@ -0,0 +1,14 @@ +[device-orientation-events-unavailable-on-insecure-origins.html] + expected: ERROR + [Event interfaces and event handlers are not exposed on `window`.] + expected: FAIL + + [addEventListener() for `deviceorientationabsolute` does not crash but the handler never fires.] + expected: NOTRUN + + [addEventListener() for `devicemotion` does not crash but the handler never fires.] + expected: FAIL + + [addEventListener() for `deviceorientation` does not crash but the handler never fires.] + expected: NOTRUN + diff --git a/testing/web-platform/meta/orientation-event/idlharness.https.window.js.ini b/testing/web-platform/meta/orientation-event/idlharness.https.window.js.ini new file mode 100644 index 0000000000..5183cb07e2 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/idlharness.https.window.js.ini @@ -0,0 +1,70 @@ +[idlharness.https.window.html] + [DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "interval" with the proper type] + expected: FAIL + + [DeviceMotionEventAcceleration interface: attribute y] + expected: FAIL + + [DeviceMotionEventAcceleration interface: attribute x] + expected: FAIL + + [DeviceMotionEventRotationRate interface: existence and properties of interface object] + expected: FAIL + + [DeviceMotionEventAcceleration interface: attribute z] + expected: FAIL + + [DeviceMotionEvent interface: operation requestPermission()] + expected: FAIL + + [DeviceMotionEventRotationRate interface: attribute gamma] + expected: FAIL + + [DeviceMotionEventRotationRate interface object length] + expected: FAIL + + [DeviceOrientationEvent interface: operation requestPermission()] + expected: FAIL + + [DeviceMotionEventAcceleration interface object name] + expected: FAIL + + [Window interface: attribute oncompassneedscalibration] + expected: FAIL + + [DeviceMotionEventAcceleration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [DeviceMotionEventRotationRate interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [DeviceMotionEventAcceleration interface object length] + expected: FAIL + + [DeviceMotionEventRotationRate interface: existence and properties of interface prototype object] + expected: FAIL + + [DeviceMotionEventAcceleration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [DeviceMotionEventRotationRate interface: attribute alpha] + expected: FAIL + + [DeviceMotionEventAcceleration interface: existence and properties of interface object] + expected: FAIL + + [DeviceMotionEventRotationRate interface object name] + expected: FAIL + + [DeviceMotionEventAcceleration interface: existence and properties of interface prototype object] + expected: FAIL + + [DeviceMotionEventRotationRate interface: attribute beta] + expected: FAIL + + [Window interface: window must inherit property "oncompassneedscalibration" with the proper type] + expected: FAIL + + [DeviceMotionEventRotationRate interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini b/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini new file mode 100644 index 0000000000..1549dbe3ac --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/add-during-dispatch.https.html.ini @@ -0,0 +1,5 @@ +[add-during-dispatch.https.html] + expected: ERROR + [Test no fire listeners added during event dispatch.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini b/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini new file mode 100644 index 0000000000..b7c39640cf --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/add-listener-from-callback.https.html.ini @@ -0,0 +1,5 @@ +[add-listener-from-callback.https.html] + expected: ERROR + [Tests that adding a new devicemotion event listener from a callback works as expected.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini b/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini new file mode 100644 index 0000000000..05382f8ffe --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/create-event.https.html.ini @@ -0,0 +1,4 @@ +[create-event.https.html] + [Tests that document.createEvent() works with DeviceMotionEvent.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini b/testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini new file mode 100644 index 0000000000..7892459099 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/multiple-event-listeners.https.html.ini @@ -0,0 +1,5 @@ +[multiple-event-listeners.https.html] + expected: ERROR + [Tests using multiple event handlers for the Device Motion API.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini b/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini new file mode 100644 index 0000000000..c105f94015 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/null-values.https.html.ini @@ -0,0 +1,5 @@ +[null-values.https.html] + expected: ERROR + [Tests using null values for some or all of the event properties.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini b/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini new file mode 100644 index 0000000000..f9811514cf --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/optional-event-properties.https.html.ini @@ -0,0 +1,25 @@ +[optional-event-properties.https.html] + [Tests some fields are null.] + expected: FAIL + + [Tests all values are null.] + expected: FAIL + + [Tests all fields are null.] + expected: FAIL + + [Tests some fields are undefined.] + expected: FAIL + + [Tests DeviceMotionEvent default constructor.] + expected: FAIL + + [Tests all fields are undefined.] + expected: FAIL + + [Tests creating a DeviceMotionEvent.] + expected: FAIL + + [Tests some values are empty array and some values are undefined.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini b/testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini new file mode 100644 index 0000000000..560a44a3d8 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/motion/requestPermission.https.window.js.ini @@ -0,0 +1,12 @@ +[requestPermission.https.window.html] + [requestPermission() returns "granted" for granted permissions without user activation] + expected: FAIL + + [requestPermission() returns "granted" for granted permissions with user activation] + expected: FAIL + + [requestPermission() returns "denied" for denied permissions without user activation] + expected: FAIL + + [requestPermission() returns "denied" for denied permissions with user activation] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini new file mode 100644 index 0000000000..21bf8693e0 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/absolute-fallback.https.html.ini @@ -0,0 +1,5 @@ +[absolute-fallback.https.html] + expected: ERROR + [Tests that deviceorientation falls back to using absolute orientation data if relative is unavailable.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini new file mode 100644 index 0000000000..3165b1815a --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/add-listener-from-callback.https.html.ini @@ -0,0 +1,5 @@ +[add-listener-from-callback.https.html] + expected: ERROR + [Tests that adding a new deviceorientation event listener from a callback works as expected.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini new file mode 100644 index 0000000000..6a59699f9d --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/basic-operation-absolute.https.html.ini @@ -0,0 +1,8 @@ +[basic-operation-absolute.https.html] + expected: ERROR + [Tests basic operation of deviceorientationabsolute event using mock data.] + expected: FAIL + + [If UA can never provide absolute information, the event should be fired as a null event.] + expected: NOTRUN + diff --git a/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini new file mode 100644 index 0000000000..9fb86e519d --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/basic-operation.https.html.ini @@ -0,0 +1,8 @@ +[basic-operation.https.html] + expected: ERROR + [If UA can never provide orientation information, the event should be fired as a null event.] + expected: NOTRUN + + [Tests basic operation of deviceorientation event using mock data.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini new file mode 100644 index 0000000000..f18d945da0 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/multiple-event-listeners.https.html.ini @@ -0,0 +1,5 @@ +[multiple-event-listeners.https.html] + expected: ERROR + [Tests using multiple event handlers for the Device Orientation API.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini new file mode 100644 index 0000000000..20126e124b --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/no-synchronous-events.https.html.ini @@ -0,0 +1,5 @@ +[no-synchronous-events.https.html] + expected: ERROR + [Tests that events are never fired synchronously from a call to window.addEventListener().] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini new file mode 100644 index 0000000000..c5302404ba --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/null-values.https.html.ini @@ -0,0 +1,5 @@ +[null-values.https.html] + expected: ERROR + [Tests using null values for some of the event properties.] + expected: FAIL + diff --git a/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini b/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini new file mode 100644 index 0000000000..560a44a3d8 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/requestPermission.https.window.js.ini @@ -0,0 +1,12 @@ +[requestPermission.https.window.html] + [requestPermission() returns "granted" for granted permissions without user activation] + expected: FAIL + + [requestPermission() returns "granted" for granted permissions with user activation] + expected: FAIL + + [requestPermission() returns "denied" for denied permissions without user activation] + expected: FAIL + + [requestPermission() returns "denied" for denied permissions with user activation] + expected: FAIL diff --git a/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini b/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini new file mode 100644 index 0000000000..ad4d164969 --- /dev/null +++ b/testing/web-platform/meta/orientation-event/orientation/updates.https.html.ini @@ -0,0 +1,5 @@ +[updates.https.html] + expected: ERROR + [Tests that updates to the orientation causes new events to fire.] + expected: FAIL + |