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

Unified Diff: LayoutTests/inspector/text-autosizing-override.html

Issue 355393004: [DevTools] Rename "emulateViewport" to "mobile". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: another rebase Created 6 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: LayoutTests/inspector/text-autosizing-override.html
diff --git a/LayoutTests/inspector/text-autosizing-override.html b/LayoutTests/inspector/text-autosizing-override.html
index 3845103291b73dd30557f5a584ae004cc44f9777..e980bff0739d4f28ddf0ed433c598daac24f71e3 100644
--- a/LayoutTests/inspector/text-autosizing-override.html
+++ b/LayoutTests/inspector/text-autosizing-override.html
@@ -61,13 +61,13 @@
},
function checkAutosizedWithDeviceMetrics(next) {
- PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, emulateViewport: true, fitWindow: true}, function() {
+ PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, mobile: true, fitWindow: true}, function() {
assertAutosizingResult(true, next);
});
},
function checkNotAutosizedWithDeviceMetrics(next) {
- PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, emulateViewport: false, fitWindow: true}, function() {
+ PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, mobile: false, fitWindow: true}, function() {
assertAutosizingResult(false, next);
});
},
@@ -88,7 +88,7 @@
function checkAutosizedWhenDeviceMetricsOverrideSettings(next) {
InspectorTest.evaluateInPage("forceAutosizing(false)", function() {
- PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, emulateViewport: true, fitWindow: true}, function() {
+ PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, mobile: true, fitWindow: true}, function() {
assertAutosizingResult(true, next);
});
});
« no previous file with comments | « LayoutTests/inspector/device-emulation/device-emulation-partial.html ('k') | Source/core/inspector/InspectorClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698