Index: LayoutTests/inspector/text-autosizing-override.html |
diff --git a/LayoutTests/inspector/text-autosizing-override.html b/LayoutTests/inspector/text-autosizing-override.html |
index c64fa37f475969c8a8639b266d9c541b541a3d30..948638558e58a504a678f682f9f87c7d33695ab1 100644 |
--- a/LayoutTests/inspector/text-autosizing-override.html |
+++ b/LayoutTests/inspector/text-autosizing-override.html |
@@ -72,9 +72,17 @@ |
}); |
}, |
- function checkNotAutosizedWithoutDeviceMetrics(next) { |
+ function checkAutosizedWithoutDeviceMetrics(next) { |
PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, emulateViewport: false, fitWindow: false, textAutosizing: true}, function() { |
- assertAutosizingResult(false, next); |
+ assertAutosizingResult(true, next); |
+ }); |
+ }, |
+ |
+ function checkNotAutosizedWithoutDeviceMetrics(next) { |
+ InspectorTest.evaluateInPage("forceAutosizing(false)", function() { |
+ PageAgent.invoke_setDeviceMetricsOverride({width: 0, height: 0, deviceScaleFactor: 0, emulateViewport: false, fitWindow: false, textAutosizing: true}, function() { |
+ assertAutosizingResult(false, next); |
+ }); |
}); |
}, |