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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw.html

Issue 2960023003: [DevTools] Migrate inspector-protocol/emulation tests to new harness (Closed)
Patch Set: Created 3 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: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw.html b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw.html
deleted file mode 100644
index 1aea636a940e417f1b74f2a4e9cba1dfea3ebf5e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-small-dw.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<head>
-
-<script src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script src="../resources/device-emulation-test.js"></script>
-
-<script>
-// This test is based on http://jsbin.com/urowoh/latest.
-setMetaViewport("w=dw");
-</script>
-
-<style>
-html {
- overflow-x: hidden;
-}
-
-body {
- margin: 0;
- min-height: 100px;
- overflow: hidden;
-}
-</style>
-
-<script>
-function test()
-{
- InspectorTest.testDeviceEmulation("device-emulation-small-dw.html", 380, 420, 1, "w=dw", undefined, false);
-}
-</script>
-
-</head>
-<body onload="runTest()">
-<p>
-Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen.
-Emulating small device on a page with viewport "width=device-width" set should work without reload for page without scrollbar.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698