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

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

Issue 2960023003: [DevTools] Migrate inspector-protocol/emulation tests to new harness (Closed)
Patch Set: Created 3 years, 6 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..401808d2a5f78b274ead9381960e843a87478f34 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,7 +1,11 @@
-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.
-Emulating device: 490x320x3 viewport='w=980'
+ 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.
+Emulating device: 490x320x3
+Loading page with viewport=w=980
Device:
window.screenX = 0px
window.screenY = 0px
@@ -38,4 +42,3 @@ doc.body.clientHeight = 640px
doc.body.offsetHeight = 1000px
doc.body.scrollHeight = 1000px
-

Powered by Google App Engine
This is Rietveld 408576698