Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html
index 1ee45d2fd0846ab6672b110e1f123e13cc1a1f2c..962b394e6c74276bab66c379c74a7ae29e0cd944 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html
@@ -31,7 +31,7 @@ shouldBeTrue("typeof event.cancelable == 'boolean'");
shouldBeTrue("typeof event.alpha == 'object'");
shouldBeTrue("typeof event.beta == 'object'");
shouldBeTrue("typeof event.gamma == 'object'");
-shouldBeTrue("typeof event.absolute == 'object'");
+shouldBeTrue("typeof event.absolute == 'boolean'");
shouldBeEqualToString("newEvent.type", "deviceorientation");
shouldBeFalse("newEvent.bubbles");

Powered by Google App Engine
This is Rietveld 408576698