diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_012.htm')
-rw-r--r-- | testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_012.htm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_012.htm b/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_012.htm new file mode 100644 index 0000000000..b1e8f92fb4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_012.htm @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> + <title>Page with access to document.cookie</title> +</head> +<body> + <script type="text/javascript"> + cookie = document.cookie; + document.cookie = "name=browser"; + parent.window.postMessage("cookies are R/W", "*"); + </script> +</body> +</html> |