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

Unified Diff: LayoutTests/storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.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/storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html
diff --git a/LayoutTests/storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html b/LayoutTests/storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html
deleted file mode 100644
index 1a56c1fce8dd87be3c5f81cc315cb950e2e3236c..0000000000000000000000000000000000000000
--- a/LayoutTests/storage/domstorage/localstorage/close-idle-localstorage-databases-immediately.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<html>
-<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function loadNextPage()
-{
- location.href = "../../resources/storage-close-idle-localstorage-databases-immediately.html";
-}
-
-function runTest()
-{
- if (window.testRunner) {
- testRunner.setCacheModel(0); // WebCacheModelDocumentViewer.
- }
-
- // Test to make sure the storage values don't change after the database is closed.
- if ("localStorage" in window) {
- var loadCount = window.sessionStorage['testPageLoadCount'];
- if (loadCount !== undefined)
- loadCount++;
- else
- loadCount = 1;
-
- window.sessionStorage['testPageLoadCount'] = loadCount;
-
- if (loadCount == 1) {
- window.localStorage.clear();
- window.localStorage['foo'] = 'FOO';
- window.localStorage['bar'] = 'BAR';
-
- setTimeout("loadNextPage()", 0);
- } else {
- // Test if we still have the right values.
- if (window.localStorage['foo'] === 'FOO')
- testPassed("foo");
- else
- testFailed("foo");
-
- if (window.localStorage['bar'] === 'BAR')
- testPassed("bar");
- else
- testFailed("bar");
-
- window.sessionStorage.removeItem('testPageLoadCount');
-
- if (window.testRunner) {
- window.testRunner.notifyDone();
- }
- }
- }
-}
-
-</script>
-</head>
-<body onload="runTest();">
-<p id="description"></p>
-<div id="console"></div>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698