| Index: LayoutTests/permissionclient/storage-permission.html
|
| diff --git a/LayoutTests/permissionclient/storage-permission.html b/LayoutTests/permissionclient/storage-permission.html
|
| index 6e1168156e4ffac372573a4440c393096208aa6f..df6ba186c8c463806a4165a184ff397e9657e1be 100644
|
| --- a/LayoutTests/permissionclient/storage-permission.html
|
| +++ b/LayoutTests/permissionclient/storage-permission.html
|
| @@ -1,3 +1,4 @@
|
| +<!DOCTYPE html>
|
| <html>
|
| <head>
|
| <script>
|
| @@ -17,7 +18,7 @@ function openIframe()
|
| return iframe;
|
| }
|
| }
|
| -
|
| +
|
| function runTest()
|
| {
|
| if (!window.localStorage) {
|
| @@ -31,16 +32,16 @@ function runTest()
|
| testRunner.setStorageAllowed(true);
|
| else
|
| log("This test requires testRunner.setStorageAllowed, so it be can't run in a browser.");
|
| -
|
| +
|
| log("Length is " + localStorage.length);
|
| log("Value for FOO is " + localStorage.getItem("FOO"));
|
|
|
| localStorage.setItem("FOO", "BAR");
|
| -
|
| +
|
| log("Length is " + localStorage.length);
|
| log("Value for FOO is " + localStorage.getItem("FOO"));
|
| log("Key for index 0 is " + localStorage.key(0));
|
| -
|
| +
|
| log("Disabling localStorage access.");
|
| if (window.testRunner && testRunner.setStorageAllowed)
|
| testRunner.setStorageAllowed(false);
|
|
|