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

Unified Diff: LayoutTests/http/tests/cache/cancel-during-revalidation-succeeded.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/http/tests/cache/cancel-during-revalidation-succeeded.html
diff --git a/LayoutTests/http/tests/cache/cancel-during-revalidation-succeeded.html b/LayoutTests/http/tests/cache/cancel-during-revalidation-succeeded.html
deleted file mode 100644
index 283e65290f3e8eb6299ffc951b8937b8e4506bb1..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/cache/cancel-during-revalidation-succeeded.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<link id="img" rel="stylesheet" href="resources/stylesheet304.php">
-</head>
-<body>
-It's possible for a successful revalidation to cause events to fire synchronously.
-We shouldn't crash if one of those events stops the load.
-See https://bugs.webkit.org/show_bug.cgi?id=72762.
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function obl(e) {
- if (window.sessionStorage.getItem("reloaded")) {
- window.stop();
- window.sessionStorage.removeItem("reloaded");
- setTimeout(finish, 0);
- } else {
- window.sessionStorage.reloaded = "true";
- location.reload();
- }
-}
-
-function finish() {
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-<object type="application/x-no-such-mime" onbeforeload="obl();"></embed>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698