| Index: third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html b/third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html
|
| deleted file mode 100644
|
| index 470c620bc64fafcbf462a43c4a24496a7cd1ab10..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - testRunner.setCanOpenWindows();
|
| - testRunner.setCloseRemainingWindowsWhenComplete(true);
|
| -}
|
| -
|
| -window.onload = function()
|
| -{
|
| - victim = document.body.appendChild(document.createElement("iframe"));
|
| - wnd = victim.contentWindow.open();
|
| - victim.src = "http://localhost:8080/security/resources/innocent-victim.html";
|
| - victim.onload = function() {
|
| - victim.onload = null;
|
| -
|
| - wnd.eval("(" + function() {
|
| - location = "javascript:(" + function() {
|
| - a = document.createElement("a");
|
| - a.href = "about:blank";
|
| - e = document.createEvent("MouseEvent");
|
| - e.initMouseEvent("click");
|
| - a.dispatchEvent(e);
|
| -
|
| - return "<script>(" + function() {
|
| - opener.location = "javascript:alert(document.body.innerHTML)";
|
| -
|
| - if (window.testRunner)
|
| - setTimeout("testRunner.notifyDone()", 0);
|
| - } + ")()<\/script>";
|
| - } + ")()";
|
| - } + ")()");
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -<body>
|
| -This test passes if there's no alert dialog.
|
| -</body>
|
| -</html>
|
|
|