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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt

Issue 1814963002: Use process/control messages (instead of RVH messages) for layout tests. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 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: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt
index dc11c4b08bbc42e296a6feb4e899598b7f0da360..70e02e19aa2a16a143b9d583e08b23a2a8910239 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-initial-scale-expected.txt
@@ -1,3 +1,9 @@
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
+CONSOLE ERROR: line 1: Uncaught TypeError: DevToolsAPI.embedderMessageAck is not a function
Tests that turning on device emulation with a non-1 device pixel ratio sets the appropriate initial scale. Page scale is reflected by the innerWidth and innerHeight properties. Since the layout width is set to 980 (in the viewport meta tag), and the emulated viewport width is 490 px, the initial scale should be 490/980 = 0.5. i.e. innerWidth=980 innerHeight=640.
Page reloaded.

Powered by Google App Engine
This is Rietveld 408576698