OLD | NEW |
1 function setMetaViewport(override) | 1 function setMetaViewport(override) |
2 { | 2 { |
3 var VIEWPORTS = { | 3 var VIEWPORTS = { |
4 "w=320": "width=320", | 4 "w=320": "width=320", |
5 "w=dw": "width=device-width", | 5 "w=dw": "width=device-width", |
6 "w=980": "width=980", | 6 "w=980": "width=980", |
7 "none": "no viewport (desktop site)" | 7 "none": "no viewport (desktop site)" |
8 }; | 8 }; |
9 | 9 |
10 var viewport = VIEWPORTS["none"]; | 10 var viewport = VIEWPORTS["none"]; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 InspectorTest.emulateAndGetMetrics(width, height, deviceScaleFactor, viewpor
t, insets, noReload, callback); | 250 InspectorTest.emulateAndGetMetrics(width, height, deviceScaleFactor, viewpor
t, insets, noReload, callback); |
251 | 251 |
252 function callback() | 252 function callback() |
253 { | 253 { |
254 InspectorTest.log(InspectorTest._deviceEmulationResults.join("\n")); | 254 InspectorTest.log(InspectorTest._deviceEmulationResults.join("\n")); |
255 InspectorTest.completeTest(); | 255 InspectorTest.completeTest(); |
256 } | 256 } |
257 }; | 257 }; |
258 | 258 |
259 }; | 259 }; |
OLD | NEW |