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

Unified Diff: LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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/fast/dom/HTMLScriptElement/remove-in-beforeload.html
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html
deleted file mode 100644
index 2c52265bbc388c00bfed9cb5ae7a4b4eab578a9a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<body onload="test()">
-<div id="console"></div>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
-}
-
-function test()
-{
- var s = document.createElement("script");
- s.addEventListener("beforeload", function() {
- document.body.removeChild(document.getElementsByTagName("script")[2]);
- testPassed("");
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
- s.addEventListener("error", function() {
- testFailed("error event should not fire.")
- }, false);
- s.addEventListener("load", function() {
- testFailed("load event should not fire.")
- }, false);
- s.src = "resources/shouldnotexecute.js";
- document.body.appendChild(s);
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698