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

Unified Diff: LayoutTests/fast/events/pagehide-timeout.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/events/pagehide-timeout.html
diff --git a/LayoutTests/fast/events/pagehide-timeout.html b/LayoutTests/fast/events/pagehide-timeout.html
deleted file mode 100644
index 0dead74bb0d99a8b67b1741998007bb831280cf4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/events/pagehide-timeout.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-<script src="../js/resources/js-test-pre.js"></script>
-<body>
-
-<script type="text/javascript">
-description('Tests that JS execution is suspended after the pagehide event is fired, so that timers created within it will not fire while the document is in the page cache.');
-
-if (window.testRunner)
- testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
-
-onpagehide = function()
-{
- // Don't try to create the timeout again if the test is complete and we're
- // moving to the next one.
- if (!window.wasFinishJSTestCalled) {
- console.log('Creating timeout in pagehide');
- setTimeout(function() {
- // This log statement should happen after the one done in the pageshow
- // handler.
- console.log('Timeout created in pagehide fired');
- finishJSTest();
- }, 100);
- }
-};
-
-onpageshow = function(event)
-{
- if (event.persisted)
- console.log('Restored page from page cache.');
-}
-
-onload = function()
-{
- setTimeout(function() {
- location.href = 'resources/pagehide-timeout-go-back.html';
- }, 0);
-}
-var jsTestIsAsync = true;
-</script>
-<script src="../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698