- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / popup_blocker / check-sessionstorage.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>
5   Check that the session storage namespace of the parent is not accessible
6 </title>
7 </head>
8 <body>
9 <div id="console"></div>
10 <script>
11   var log = document.querySelector("#console");
12   var result;
13   if (sessionStorage.getItem("key") == "set")
14     result = "FAIL: popup can access session storage namespace";
15   else
16     result = "PASS";
17   log.innerText = result;
18   document.title = result;
19 </script>
20 </body>
21 </html>