53b382be0a0aebf8c32deaa038f6bcce708441c7
[WebKit-https.git] / LayoutTests / storage / domstorage / localstorage / resources / blocked-example.html
1 <html>
2 <head>
3 <script>
4 function runTest()
5 {
6     try {
7         if (window.localStorage) {
8             console.log("FAIL: window.localStorage WAS accessible");
9         }
10     } catch(e) {
11         console.log("PASS: window.localStorage is NOT accessible");
12         console.log("Exception: " + e.message);
13     }
14     if (window.testRunner)
15         testRunner.notifyDone();
16 }
17
18 </script>
19 </head>
20 <body onload="runTest()">
21 </body>
22 </html>