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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-unobserved.html

Issue 2960263002: [DevTools] Move pixel tests from inspector-protocol to inspector (Closed)
Patch Set: rebased 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/forced-viewport-unobserved.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-unobserved.html b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-unobserved.html
deleted file mode 100644
index 4085fcd7014cc93bc948d4f0d236b450bae086a8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-unobserved.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>
-<head>
-
-<script src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-
-<style>
-html {
- overflow: hidden;
-}
-
-body {
- margin: 0;
- min-height: 1000px;
- overflow: hidden;
-}
-
-#long {
- height: 2000px;
- width: 100px;
- background-color: green;
-}
-</style>
-
-<script>
-function test()
-{
- InspectorTest.sendCommand("Emulation.forceViewport", { "x": 200, "y": 200, "scale": 2.0 }, overrideActive);
-
- function overrideActive()
- {
- InspectorTest.log("innerWidth = " + window.innerWidth);
- InspectorTest.log("innerHeight = " + window.innerHeight);
- InspectorTest.log("scrollLeft = " + document.scrollingElement.scrollLeft);
- InspectorTest.log("scrollTop = " + document.scrollingElement.scrollTop);
- InspectorTest.completeTest();
- }
-}
-</script>
-
-</head>
-<body onload="runTest()">
-<p>
-Tests that a forced viewport does not change metrics that are observable by the page.
-</p>
-<div id="long"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698