| Index: LayoutTests/storage/domstorage/localstorage/private-browsing-affects-storage.html
|
| diff --git a/LayoutTests/storage/domstorage/localstorage/private-browsing-affects-storage.html b/LayoutTests/storage/domstorage/localstorage/private-browsing-affects-storage.html
|
| deleted file mode 100644
|
| index bc50ed7934fe6f07a91398d4520591c92d0526ec..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/storage/domstorage/localstorage/private-browsing-affects-storage.html
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script>
|
| -
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| -function log(a)
|
| -{
|
| - document.getElementById("logger").innerHTML += a + "<br>";
|
| -}
|
| -
|
| -function runTest()
|
| -{
|
| - if (!window.localStorage) {
|
| - log("window.localStorage DOES NOT exist");
|
| - return;
|
| - }
|
| - if (!window.testRunner) {
|
| - log("Test only designed to be run under DumpRenderTree");
|
| - return;
|
| - }
|
| - localStorage.clear();
|
| -
|
| - localStorage.setItem("testItem", "InitialValue");
|
| - testRunner.setPrivateBrowsingEnabled(true);
|
| - log("Initial value of testItem is: " + localStorage.getItem("testItem"));
|
| -
|
| - try {
|
| - localStorage.setItem("testItem", "ChangedValue");
|
| - } catch(e) {
|
| - log("Caught exception trying to change item: " + e);
|
| - }
|
| -
|
| - log("After change attempt, testItem is: " + localStorage.getItem("testItem"));
|
| -
|
| - localStorage.removeItem("testItem");
|
| - log("After remove attempt, testItem is: " + localStorage.getItem("testItem"));
|
| -
|
| - localStorage.clear();
|
| - log("After clear attempt, testItem is: " + localStorage.getItem("testItem"));
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -<body onload="runTest();">
|
| -This is a test to make sure that when private browsing is on any attempt to change the localStorage area fail.
|
| -<div id="logger"></div>
|
| -</body>
|
| -</html>
|
|
|