Commit 8bc33b3f authored by Robbie McElrath's avatar Robbie McElrath Committed by Commit Bot

Make deviceorientationabsoluteevent WPT test match spec

The deviceorientationabsoluteevent WPT test currently asserts that the
'absolute' property of the deviceorientationabsolute event is false.

The spec states that:
https://w3c.github.io/deviceorientation/spec-source-orientation.html#deviceorientationabsolute
"The deviceorientationabsolute event is completely analogous to the
deviceorientation event, except additional sensors like the magnetometer can be
used to provide an absolute orientation. The absolute property must be set to
true."

This updates the test to assert that absolute is set to true.

Bug: 774183, 802815
Change-Id: I3694e2b774aa0e4a8a9f7d0328e2aad8b37775e6
Reviewed-on: https://chromium-review.googlesource.com/1062650
Commit-Queue: Robbie McElrath <rmcelrath@chromium.org>
Reviewed-by: default avatarJun Cai <juncai@chromium.org>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561984}
parent 7c2b0f20
...@@ -3365,7 +3365,6 @@ crbug.com/626703 external/wpt/html/semantics/scripting-1/the-script-element/asyn ...@@ -3365,7 +3365,6 @@ crbug.com/626703 external/wpt/html/semantics/scripting-1/the-script-element/asyn
crbug.com/626703 external/wpt/IndexedDB/request-abort-ordering.html [ Pass Failure ] crbug.com/626703 external/wpt/IndexedDB/request-abort-ordering.html [ Pass Failure ]
crbug.com/626703 external/wpt/media-source/mediasource-avtracks.html [ Failure Crash ] crbug.com/626703 external/wpt/media-source/mediasource-avtracks.html [ Failure Crash ]
crbug.com/626703 external/wpt/media-source/mediasource-getvideoplaybackquality.html [ Timeout Failure ] crbug.com/626703 external/wpt/media-source/mediasource-getvideoplaybackquality.html [ Timeout Failure ]
crbug.com/626703 external/wpt/orientation-event/deviceorientationabsoluteevent.html [ Failure ]
crbug.com/626703 external/wpt/payment-request/payment-request-show-method.https.html [ Pass Failure ] crbug.com/626703 external/wpt/payment-request/payment-request-show-method.https.html [ Pass Failure ]
crbug.com/626703 external/wpt/performance-timeline/po-observe.html [ Timeout ] crbug.com/626703 external/wpt/performance-timeline/po-observe.html [ Timeout ]
crbug.com/626703 external/wpt/pointerevents/pointerevent_disabled_form_control-manual.html [ Timeout Pass ] crbug.com/626703 external/wpt/pointerevents/pointerevent_disabled_form_control-manual.html [ Timeout Pass ]
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
assert_equals(e.alpha, null, "alpha is set to null"); assert_equals(e.alpha, null, "alpha is set to null");
assert_equals(e.beta, null, "beta is set to null"); assert_equals(e.beta, null, "beta is set to null");
assert_equals(e.gamma, null, "gamma is set to null"); assert_equals(e.gamma, null, "gamma is set to null");
assert_false(e.absolute, "absolute is set to false"); assert_true(e.absolute, "absolute is set to true");
}); });
t.done(); t.done();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment