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

Unified Diff: LayoutTests/inspector/device-emulation/device-emulation-restore.html

Issue 1328553003: Store parsed meta viewport even when it's currently disabled. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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
« no previous file with comments | « no previous file | LayoutTests/inspector/device-emulation/device-emulation-small-dw.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/device-emulation/device-emulation-restore.html
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-restore.html b/LayoutTests/inspector/device-emulation/device-emulation-restore.html
index 474607fb62e02bed175010862ad64de841128d14..a4d8374431a6598e4ffa1f67d5423865dde433b7 100644
--- a/LayoutTests/inspector/device-emulation/device-emulation-restore.html
+++ b/LayoutTests/inspector/device-emulation/device-emulation-restore.html
@@ -29,12 +29,12 @@ function test()
InspectorTest._deviceEmulationResults = [];
var originalMetrics;
- InspectorTest.applyEmulationAndReload(false, 0, 0, 1, "none", null, InspectorTest.getPageMetrics.bind(InspectorTest, true, saveMetrics));
+ InspectorTest.applyEmulationAndReload(false, 0, 0, 1, "none", null, undefined, InspectorTest.getPageMetrics.bind(InspectorTest, true, saveMetrics));
function saveMetrics(metrics)
{
originalMetrics = metrics.value;
- InspectorTest.emulateAndGetMetrics(1200, 1000, 1, "w=320", null, restore);
+ InspectorTest.emulateAndGetMetrics(1200, 1000, 1, "w=320", null, undefined, restore);
}
function restore()
@@ -50,7 +50,7 @@ function test()
InspectorTest.completeTest();
}
- InspectorTest.applyEmulationAndReload(false, 0, 0, 1, "none", null, InspectorTest.getPageMetrics.bind(InspectorTest, true, callback));
+ InspectorTest.applyEmulationAndReload(false, 0, 0, 1, "none", null, undefined, InspectorTest.getPageMetrics.bind(InspectorTest, true, callback));
}
}
</script>
« no previous file with comments | « no previous file | LayoutTests/inspector/device-emulation/device-emulation-small-dw.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698