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

Unified Diff: LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html

Issue 14264012: Create errors (especially cancellation errors) internally to WebCore, rather (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 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: LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html
===================================================================
--- LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html (revision 148290)
+++ LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html (working copy)
@@ -1,26 +0,0 @@
-<html>
-<head>
-<script>
-
-if (window.testRunner)
- testRunner.setCustomPolicyDelegate(true, true);
-
-function runTest()
-{
- var link = document.getElementById('testlink');
- var clickEvent = document.createEvent('MouseEvents');
- clickEvent.initEvent('click', false, true);
- link.dispatchEvent(clickEvent);
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-</script>
-
-<body onload="runTest();">
-This is a page with a link in it. When the link it clicked it will navigate to another page. That page redirects to an externally handled URL.<br>
-The policy delegate should be asked about the initial navigation and the redirect.<br>
-<a id="testlink" href="redirect-to-external-url.php">The kids love this one</a>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698