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

Unified Diff: LayoutTests/inspector/device-orientation-success.html

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/inspector/device-orientation-success.html
diff --git a/LayoutTests/inspector/device-orientation-success.html b/LayoutTests/inspector/device-orientation-success.html
index bb7082fbd57747981ddd6362ea62ee743eff31ee..c50688b206dc4ad1536e414e9c3dafd3d839a4bf 100644
--- a/LayoutTests/inspector/device-orientation-success.html
+++ b/LayoutTests/inspector/device-orientation-success.html
@@ -6,9 +6,10 @@
var mockAlpha = 1.1;
var mockBeta = 2.2;
var mockGamma = 3.3;
+var absolute = true;
if (window.testRunner)
- testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma);
+ testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma, true, absolute);
else
debug('This test can not be run without the LayoutTestController');

Powered by Google App Engine
This is Rietveld 408576698