summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_021a.htm
blob: a42520d7e1d97821c1bef376a45a4401d581de72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
    <title>Page with script</title>
</head>
<body>
    <div>Script Execution: <span id="scriptExecute" style="Color: Red">Blocked</span></div>
    <script type="text/javascript">
        document.getElementById("scriptExecute").innerHTML = "Allowed";
        document.getElementById("scriptExecute").style.color = "Green";
    </script>
</body>
</html>