Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / sandboxed-iframe-scripting-03.html
blob419fdb48bad3eca8ddc55a9df66e106cde9e11d9
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", "0");
12 isSuccessfullyParsed();
14 </script>
15 </head>
16 <body>
17 <iframe sandbox="allow-same-origin"
18 src="javascript: ++window.top.disallowedExecuted;">
19 </iframe>
20 <script>
21 description("Verify that sandboxed frames without sandbox='allow-scripts' cannot execute script.");
22 </script>
23 </body>
24 </html>