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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Rebase Created 3 years, 4 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
1 Tests that disabling device emulation restores back to original values. 1 Tests that disabling device emulation restores back to original values.
2 Emulating device: 1200x1000x1 2 Emulating device: 1200x1000x1
3 Loading page with viewport=w=320 3 Loading page with viewport=w=320
4 Device: 4 Device:
5 window.screenX = 0px 5 window.screenX = 0px
6 window.screenY = 0px 6 window.screenY = 0px
7 Viewport: = ?w=320 7 Viewport: = ?w=320
8 @media orientation = landscape 8 @media orientation = landscape
9 window.orientation 9 window.orientation = 0
10 @media resolution = 96dpi 10 @media resolution = 96dpi
11 @media device-pixel-ratio = 1 11 @media device-pixel-ratio = 1
12 window.devicePixelRatio = 1 12 window.devicePixelRatio = 1
13 Widths: 13 Widths:
14 @media device-width = 1200px 14 @media device-width = 1200px
15 screen.width = 1200px 15 screen.width = 1200px
16 screen.availWidth = 1200px 16 screen.availWidth = 1200px
17 window.outerWidth = 1200px 17 window.outerWidth = 1200px
18 window.innerWidth = 321px 18 window.innerWidth = 321px
19 @media width = 320px 19 @media width = 320px
(...skipping 11 matching lines...) Expand all
31 window.innerHeight = 267px 31 window.innerHeight = 267px
32 @media height = 266px 32 @media height = 266px
33 doc.docElem.clientHeight = 1000px 33 doc.docElem.clientHeight = 1000px
34 doc.docElem.offsetHeight = 1000px 34 doc.docElem.offsetHeight = 1000px
35 doc.docElem.scrollHeight = 1000px 35 doc.docElem.scrollHeight = 1000px
36 doc.body.clientHeight = 266px 36 doc.body.clientHeight = 266px
37 doc.body.offsetHeight = 1000px 37 doc.body.offsetHeight = 1000px
38 doc.body.scrollHeight = 1000px 38 doc.body.scrollHeight = 1000px
39 Original metrics restored correctly. 39 Original metrics restored correctly.
40 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698