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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-restore-expected.txt

Issue 1638953002: [DevTools] Migrate device-emulation tests from OverridesSupport to inspector-protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 Tests that disabling device emulation restores back to original values.
2
3 Page reloaded.
4 Page reloaded.
5 Page reloaded.
6 Emulating device: 1200x1000x1 viewport='w=320'
7 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
8 Device:
9 window.screenX = 0px
10 window.screenY = 0px
11 Viewport: = ?w=320
12 @media orientation = landscape
13 window.orientation
14 @media resolution = 96dpi
15 @media device-pixel-ratio = 1
16 window.devicePixelRatio = 1
17 Widths:
18 @media device-width = 1200px
19 screen.width = 1200px
20 screen.availWidth = 1200px
21 window.outerWidth = 1200px
22 window.innerWidth = 321px
23 @media width = 320px
24 doc.docElem.clientWidth = 320px
25 doc.docElem.offsetWidth = 320px
26 doc.docElem.scrollWidth = 320px
27 doc.body.clientWidth = 320px
28 doc.body.offsetWidth = 320px
29 doc.body.scrollWidth = 320px
30 Heights:
31 @media device-height = 1000px
32 screen.height = 1000px
33 screen.availHeight = 1000px
34 window.outerHeight = 1000px
35 window.innerHeight = 267px
36 @media height = 266px
37 doc.docElem.clientHeight = 1000px
38 doc.docElem.offsetHeight = 1000px
39 doc.docElem.scrollHeight = 1000px
40 doc.body.clientHeight = 266px
41 doc.body.offsetHeight = 1000px
42 doc.body.scrollHeight = 1000px
43
44 Emulation warning: You might need to reload the page for proper user agent spoof ing and viewport rendering.
45 Original metrics restored correctly.
46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698