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

Unified Diff: LayoutTests/storage/domstorage/storage-close-database-on-idle.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/storage-close-database-on-idle.html
diff --git a/LayoutTests/storage/domstorage/storage-close-database-on-idle.html b/LayoutTests/storage/domstorage/storage-close-database-on-idle.html
deleted file mode 100644
index 03a76da5a3aba6d4693be8db53e7a0fe2a7aebe4..0000000000000000000000000000000000000000
--- a/LayoutTests/storage/domstorage/storage-close-database-on-idle.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-<head>
-<script>
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function log(a)
-{
- document.getElementById("logger").innerHTML += a + "<br>";
-}
-
-function loadNextPage()
-{
- location.href = "../resources/storage-close-data-on-idle-switch.html";
-}
-
-function runTest()
-{
- if (window.testRunner) {
- testRunner.setStorageDatabaseIdleInterval(0);
- 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['loadCount'];
- if (loadCount !== undefined)
- loadCount++;
- else
- loadCount = 1;
-
- window.sessionStorage['loadCount'] = 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.
- log(window.localStorage['foo'] === 'FOO' ? 'PASS' : 'FAIL');
- log(window.localStorage['bar'] === 'BAR' ? 'PASS' : 'FAIL');
-
- if (window.testRunner) {
- testRunner.setStorageDatabaseIdleInterval(300);
- window.testRunner.notifyDone();
- }
- }
- }
-}
-
-</script>
-</head>
-<body onload="runTest();">
-<div id="logger"></div>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698