4 <script src=
"../../resources/js-test.js"></script>
6 var allowedExecuted
= 0;
7 var disallowedExecuted
= 0;
8 window
.onload = function() {
9 shouldBe("disallowedExecuted", "0");
10 shouldBe("allowedExecuted", "1");
12 isSuccessfullyParsed();
17 <iframe sandbox=
"allow-same-origin allow-scripts"
18 src=
"javascript: ++window.top.allowedExecuted;">
21 description("Verify that sandboxed frames with sandbox='allow-scripts' can execute script.");