Chromium Code Reviews| 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> |
|
Łukasz Anforowicz
2016/11/10 19:26:24
This got removed, because navigating from within C
|
| + <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> |