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

Unified Diff: LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js

Issue 22599005: Blink-side layout tests for the new Device Orientation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased once more Created 7 years, 3 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: LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js
index fcb28627587fc0870151b833efceb94382a2d664..67bd1f8fd30fe48293462caf07f467ab68ac4a85 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js
+++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event.js
@@ -10,6 +10,7 @@ shouldBeTrue("'cancelable' in event");
shouldBeTrue("'alpha' in event");
shouldBeTrue("'beta' in event");
shouldBeTrue("'gamma' in event");
+shouldBeTrue("'absolute' in event");
shouldBeTrue("typeof event.type == 'string'");
shouldBeTrue("typeof event.bubbles == 'boolean'");
@@ -17,3 +18,4 @@ 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'");

Powered by Google App Engine
This is Rietveld 408576698