| 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>
|
| -
|
|
|