Index: LayoutTests/fast/events/window-onerror-syntax-error-in-attr.html |
diff --git a/LayoutTests/fast/events/window-onerror-syntax-error-in-attr.html b/LayoutTests/fast/events/window-onerror-syntax-error-in-attr.html |
deleted file mode 100644 |
index 30d557b57b777c57e02bab1ed5e1e6aaa59313fe..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/events/window-onerror-syntax-error-in-attr.html |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-<html> |
-<head> |
-<script src="resources/window-onerror.js"> |
-</script> |
-</head> |
-<body> |
-<p>Test that window.onerror is called on window object when there is a syntax error |
-in attribute handler. <a href="https://bugs.webkit.org/show_bug.cgi?id=70991">Bug 70991</a>.</p> |
-<div id="console"></div> |
-<button id="btn1" onclick="%">Button 1</button> |
-<script> |
-if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
-function log(msg) { |
- document.getElementById("console").innerHTML += msg + "<br>"; |
-} |
- |
-window.onerror = function(msg, url, line) |
-{ |
- url = url ? url.match( /[^\/]+\/?$/ )[0] : url; |
- log("Main frame window.onerror: " + msg + " at " + url + ":" + line); |
- return true; |
-} |
- |
-document.write('<button id="btn2" onclick="%">Button 2</button>\n'); |
- |
-var button3 = document.createElement("button"); |
-button3.textContent = "Button 3"; |
-button3.setAttribute("onclick", "%"); |
-document.body.appendChild(button3); |
- |
-document.getElementById("btn1").click(); |
-document.getElementById("btn2").click(); |
-button3.click(); |
-</script> |
-</body> |
-</html> |