summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html')
-rw-r--r--testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html b/testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html
new file mode 100644
index 0000000000..2fd55ebeb2
--- /dev/null
+++ b/testing/web-platform/tests/browsing-topics/resources/document-api-notify-parent.tentative.https.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<body>
+ <script>
+ document.browsingTopics().then((topics) => {
+ window.parent.postMessage({error: 'No error'}, '*');
+ })
+ .catch((err) => {
+ window.parent.postMessage({error: err.message}, '*');
+ });
+ </script>
+</body>