diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm')
-rw-r--r-- | testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm new file mode 100644 index 000000000..1b0996e58 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head><title>Page with access to document.cookie</title> +</head> +<body> + <div>Cookie Read: <span id="readCookie"></span></div> + <script type="text/javascript"> + cookie = document.cookie; + document.cookie = "name=browser"; + parent.window.postMessage("cookies are R/W", "*"); + </script> +</body> +</html> |