diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_026.htm')
-rw-r--r-- | testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_026.htm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_026.htm b/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_026.htm new file mode 100644 index 0000000000..7171cf7721 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_026.htm @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head><title>Page with access to localStorage and sessionStorage</title> +</head> +<body> + <script type="text/javascript"> + if (window.localStorage && window.sessionStorage) { + parent.window.postMessage("access to window.localStorage and window.sessionStorage", "*"); + } + </script> +</body> +</html> |