summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-storage.html
blob: c60064151616257f9e13ca13d7a5dbe74ee00af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head>
<script src="../js/resources/js-test-pre.js"></script>
<script>

if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpChildFramesAsText();
}

window.onload = function() { 
    isSuccessfullyParsed();
} 

</script>
</head>
<body>
    <p id="description"></p>

    <p>Most of the PASS messages appear in frames, presented by DumpRenderTree after the main window.</p>

    <iframe sandbox="allow-scripts" src="resources/sandboxed-iframe-storage-disallowed.html">
    </iframe>

    <iframe src="resources/sandboxed-iframe-storage-allowed.html">
    </iframe>

    <div id="console"></div>

    <script>
    description("This test verifies that a sandboxed iframe does not have access to any session storage, local storage or database.");
    </script>
</body>
</html>