summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/signed-exchange/resources/failure.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/signed-exchange/resources/failure.html')
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/failure.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/signed-exchange/resources/failure.html b/testing/web-platform/tests/signed-exchange/resources/failure.html
new file mode 100644
index 0000000000..1071f082b7
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/failure.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<title>Content of invalid signed exchange</title>
+<script>
+window.addEventListener('message', (event) => {
+ event.data.port.postMessage("FAIL if this content is loaded");
+}, false);
+</script>