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

Unified Diff: LayoutTests/fast/dom/Window/timer-resume-on-navigation-back.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/dom/Window/timer-resume-on-navigation-back.html
diff --git a/LayoutTests/fast/dom/Window/timer-resume-on-navigation-back.html b/LayoutTests/fast/dom/Window/timer-resume-on-navigation-back.html
deleted file mode 100644
index 8559fe872c15fee75d159be109f5829adcf5ca64..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Window/timer-resume-on-navigation-back.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<script>
-var timeoutValue = 100; //ms
-
-var timestamp;
-function verify() {
- var actualTimerDelay = new Date().getTime() - timestamp;
- document.getElementById("result").innerHTML =
- actualTimerDelay >= timeoutValue ? 'PASS' : 'FAIL with ' + actualTimerDelay + ' ms delay.';
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function runTest() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- }
- // Location changes need to happen outside the onload handler to generate history entries.
- setTimeout(function() {
- window.setTimeout(verify, timeoutValue);
- timestamp = new Date().getTime();
- window.location.href = "data:text/html,<body onload='history.back()'></body>";
- }, 0);
-}
-
-</script>
-<body onload='runTest()'>
-This test verifies that when page is loaded from the page cache on navigation back, the suspended timers are resumed for a duration left when they were suspended. This is a test for https://bugs.webkit.org/show_bug.cgi?id=28683.<br>
-The test navigates to a page, starts a timer and then navigates to another page and back. It then measures time when the timer is actually fired and makes sure that it is at least the time set at the beginning. If successful, it outputs 'PASS' below.
-<div id="result"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698