diff options
Diffstat (limited to 'testing/web-platform/tests/signed-exchange/resources/inner-url.html')
-rw-r--r-- | testing/web-platform/tests/signed-exchange/resources/inner-url.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/signed-exchange/resources/inner-url.html b/testing/web-platform/tests/signed-exchange/resources/inner-url.html new file mode 100644 index 0000000000..5b247bbfe9 --- /dev/null +++ b/testing/web-platform/tests/signed-exchange/resources/inner-url.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<title>Content of fallback URL</title> +<script> +window.addEventListener('message', (event) => { + event.data.port.postMessage({ + location: document.location.href, + referrer: document.referrer, + is_fallback: true}); +}, false); +</script> |