diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm')
-rw-r--r-- | testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm new file mode 100644 index 000000000..a65db539b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head><title>Access parent dom</title> +</head> +<body> + <script type="text/javascript"> + if (window.parent.document) + { + parent.window.postMessage("window.parent.document", "*"); + }else{ + parent.window.postMessage("!window.parent.document", "*"); + } + </script> +</body> +</html> |