Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / sandboxed-iframe-scripting-05.html
blob66c372ae7d86c09c9ba00932fe5c9f23cab155ea
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 var allowedExecuted = 0;
7 var disallowedExecuted = 0;
8 window.onload = function() {
9 shouldBe("disallowedExecuted", "0");
10 shouldBe("allowedExecuted", "2");
12 isSuccessfullyParsed();
14 </script>
15 </head>
16 <body>
17 <iframe id="frame" src="resources/sandboxed-iframe-script-dynamic.html"></iframe>
18 <script>
19 description("Verify that adding a sandbox attribute at runtime does not effect the iframe's current state.");
20 </script>
21 </body>
22 </html>