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

Unified Diff: chrome/test/data/drag_and_drop/page.html

Issue 2478583005: Browser tests for starting a drag-and-drop out of an OOPIF. (Closed)
Patch Set: Rebasing... Created 4 years, 1 month 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: chrome/test/data/drag_and_drop/page.html
diff --git a/content/test/data/drag_and_drop/page.html b/chrome/test/data/drag_and_drop/page.html
similarity index 40%
rename from content/test/data/drag_and_drop/page.html
rename to chrome/test/data/drag_and_drop/page.html
index fe5311913cf1dc2ab1524f88332e48322f33c13b..2e158b7cec15fb15b3b214b0d260c0f2a2547ba0 100644
--- a/content/test/data/drag_and_drop/page.html
+++ b/chrome/test/data/drag_and_drop/page.html
@@ -3,11 +3,6 @@
Left frame is at (100,100) to (299,299) coordinates.
Right frame is at (300,100) to (499,299) coordinates.
-
- Left frame will load whatever is specified in "left"
- query parameter (similarily for right frame and "right").
- Example:
- .../mouse-tests/page.html?left=image_source.html&right=drop_target.html
-->
<head>
<meta charset="utf-8">
@@ -26,21 +21,6 @@
</style>
</head>
<body>
- <iframe id="left" name="left" srcdoc="blank left frame"></iframe>
- <iframe id="right" name="right" srcdoc="blank right frame"></iframe>
- <script>
- function navigateFrame(id) {
- var query = new URLSearchParams(window.location.search);
- if (!query.has(id)) return;
-
- var url = query.get(id);
- if (!url) return;
-
- console.log("Navigating " + id + " to " + url);
- var frame = document.getElementById(id);
- frame.contentWindow.location.href = url;
- }
- navigateFrame("left");
- navigateFrame("right");
- </script>
+ <iframe id="left" name="left" srcdoc="<body>blank left frame</body>"></iframe>
+ <iframe id="right" name="right" srcdoc="<body>blank right frame</body>"></iframe>
</body>
« no previous file with comments | « chrome/test/data/drag_and_drop/image_source.html ('k') | content/browser/frame_host/frame_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698