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

Unified Diff: LayoutTests/fast/dom/HTMLScriptElement/move-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/move-in-beforeload.html
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html
deleted file mode 100644
index 31bd04bd3263809201f900d7c88a5532cbc20298..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html
+++ /dev/null
@@ -1,32 +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>
-<iframe src="resources/frame.html"></iframe>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
-}
-
-function test()
-{
- var s = document.createElement("script");
- s.addEventListener("beforeload", function() {
- var s = document.body.removeChild(document.getElementsByTagName("script")[2]);
- document.getElementsByTagName("iframe")[0].contentDocument.body.appendChild(s);
- testPassed("");
- }, false);
- s.addEventListener("error", function() {
- testFailed("error event should not fire.");
- }, false);
- s.addEventListener("load", function() {
- testFailed("script should not be loaded");
- }, false);
- s.src = "external.js";
- document.body.appendChild(s);
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698