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

Unified Diff: LayoutTests/fast/dom/beforeload/link-before-load.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/beforeload/link-before-load.html
diff --git a/LayoutTests/fast/dom/beforeload/link-before-load.html b/LayoutTests/fast/dom/beforeload/link-before-load.html
deleted file mode 100644
index 5f90e5a9ac6d0fd8f03e7da8a4fe3586c9327dba..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/beforeload/link-before-load.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-<head>
-<style>
-.block {
- width: 100px;
- height: 100px;
- background-color: green;
-}
-</style>
-<link onbeforeload="return false" rel="stylesheet" href="resources/fail.css">
-<script src="resources/print.js"></script>
-<script>
-function test()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
-
- if (document.getElementById('block').offsetWidth == 100)
- print("PASS", "green");
- else
- print("FAIL", "red");
-}
-</script>
-</head>
-<body onload="test()">
-<p>This page tests the beforeload event on link elements. You should see the word PASS below underneath a green square.</p>
-<hr>
-<div id="block" class="block"></div>
-<hr>
-<div id="console"></div>

Powered by Google App Engine
This is Rietveld 408576698