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

Unified Diff: LayoutTests/scrollbars/resources/hidden-iframe-scrollbar-crash2.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/scrollbars/resources/hidden-iframe-scrollbar-crash2.html
diff --git a/LayoutTests/scrollbars/resources/hidden-iframe-scrollbar-crash2.html b/LayoutTests/scrollbars/resources/hidden-iframe-scrollbar-crash2.html
deleted file mode 100644
index 9283aea2ea747cb5a85f956387043eeed4f63ac1..0000000000000000000000000000000000000000
--- a/LayoutTests/scrollbars/resources/hidden-iframe-scrollbar-crash2.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<body><p>
-This is some text to force a scrollbar to appear.
-This is some text to force a scrollbar to appear.
-This is some text to force a scrollbar to appear.
-</p>
-<img id="i" onbeforeload="beforeload()" onload="pass()">
-</body>
-<script>
-function beforeload()
-{
- setTimeout(function() {
- var win = window.parent;
- win.document.getElementById("iframe").style.display = "none";
- });
- return true;
-}
-
-function pass()
-{
- var win = window.parent;
- win.document.getElementById("iframe").style.display = "";
- win.document.body.appendChild(document.createTextNode("PASSED"));
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698