diff options
Diffstat (limited to 'testing/web-platform/tests/portals/xfo/resources')
-rw-r--r-- | testing/web-platform/tests/portals/xfo/resources/xfo-deny.asis | 8 | ||||
-rw-r--r-- | testing/web-platform/tests/portals/xfo/resources/xfo-sameorigin.asis | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/portals/xfo/resources/xfo-deny.asis b/testing/web-platform/tests/portals/xfo/resources/xfo-deny.asis new file mode 100644 index 0000000000..7779830852 --- /dev/null +++ b/testing/web-platform/tests/portals/xfo/resources/xfo-deny.asis @@ -0,0 +1,8 @@ +HTTP/1.1 200 OK +Content-Type: text/html +X-Frame-Options: DENY + +<!DOCTYPE html> +<script> +window.portalHost.postMessage('loaded', '*'); +</script> diff --git a/testing/web-platform/tests/portals/xfo/resources/xfo-sameorigin.asis b/testing/web-platform/tests/portals/xfo/resources/xfo-sameorigin.asis new file mode 100644 index 0000000000..8f3982bd84 --- /dev/null +++ b/testing/web-platform/tests/portals/xfo/resources/xfo-sameorigin.asis @@ -0,0 +1,8 @@ +HTTP/1.1 200 OK +Content-Type: text/html +X-Frame-Options: SAMEORIGIN + +<!DOCTYPE html> +<script> +window.portalHost.postMessage('loaded', '*'); +</script> |