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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/create-view-target-blank.html

Issue 2680353005: WebContents created via ctrl-click should be in a new process (target=_blank). (Closed)
Patch Set: Rebasing updating LayoutTest/FlagExpectations to account for test name change. Created 3 years, 8 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/fast/loader/create-view-target-blank.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/create-view-target-blank.html b/third_party/WebKit/LayoutTests/fast/loader/create-view-target-blank.html
deleted file mode 100644
index 448cc9b1b2fb6156933be365af067bec92cb850d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/loader/create-view-target-blank.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpCreateView();
- testRunner.setCanOpenWindows();
- testRunner.setCloseRemainingWindowsWhenComplete();
- testRunner.waitUntilDone();
-}
-
-function runTest() {
- var link = document.getElementById("link");
- var middleMouseButton = 1;
- eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
- eventSender.mouseDown(middleMouseButton);
- eventSender.mouseUp(middleMouseButton);
-}
-</script>
-</head>
-<body onload="runTest()">
-<div>
- <p>
- This test opens a new window by middle-clicking on a link with
- target=_blank. It passes, if the WebViewClient::createView method was
- invoked with the parameter "done.html".
- </p>
- <p>
- <a href="resources/done.html" id="link" target="_blank">link</a>
- </p>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698