summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/browsing-topics
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/browsing-topics')
-rw-r--r--testing/web-platform/meta/browsing-topics/__dir__.ini2
-rw-r--r--testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-default.tentative.https.sub.html.ini22
-rw-r--r--testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-none.tentative.https.sub.html.ini10
-rw-r--r--testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-self.tentative.https.sub.html.ini19
-rw-r--r--testing/web-platform/meta/browsing-topics/document-api.tentative.https.html.ini3
-rw-r--r--testing/web-platform/meta/browsing-topics/fetch-topics-header-not-visible-in-service-worker.tentative.https.html.ini6
-rw-r--r--testing/web-platform/meta/browsing-topics/fetch-topics-insecure-context.tentative.http.html.ini3
-rw-r--r--testing/web-platform/meta/browsing-topics/fetch-topics.tentative.https.html.ini3
-rw-r--r--testing/web-platform/meta/browsing-topics/iframe-topics-attribute.tentative.https.html.ini3
-rw-r--r--testing/web-platform/meta/browsing-topics/xhr-topics.tentative.https.html.ini4
10 files changed, 75 insertions, 0 deletions
diff --git a/testing/web-platform/meta/browsing-topics/__dir__.ini b/testing/web-platform/meta/browsing-topics/__dir__.ini
new file mode 100644
index 0000000000..456c7c794f
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [Alloc, AllocateProtoAndIfaceCache, changeTableSize, createTable, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::net::nsStandardURL::TemplatedMutator, nsDynamicAtom::Create]
+leak-threshold: [tab:256000]
diff --git a/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-default.tentative.https.sub.html.ini b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-default.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..6c0be3d5ea
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-default.tentative.https.sub.html.ini
@@ -0,0 +1,22 @@
+[browsing-topics-permissions-policy-default.tentative.https.sub.html]
+ expected: TIMEOUT
+ [Default permissions policy allows document.browsingTopics() in the current page.]
+ expected: FAIL
+
+ [Default permissions policy allows document.browsingTopics() in same-origin iframes.]
+ expected: TIMEOUT
+
+ [Default permissions policy allows document.browsingTopics() in cross-origin iframes.]
+ expected: TIMEOUT
+
+ [Default permissions policyallows the 'Sec-Browsing-Topics' header to be sent for the same-origin topics fetch request.]
+ expected: FAIL
+
+ [Default permissions policyallows the 'Sec-Browsing-Topics' header to be sent for the cross-origin topics fetch request.]
+ expected: FAIL
+
+ [Default permissions policy allows the 'Sec-Browsing-Topics' header to be sent for the same-origin iframe navigation request.]
+ expected: FAIL
+
+ [Default permissions policy allows the 'Sec-Browsing-Topics' header to be sent for the cross-origin iframe navigation request.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-none.tentative.https.sub.html.ini b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-none.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..fa09975dff
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-none.tentative.https.sub.html.ini
@@ -0,0 +1,10 @@
+[browsing-topics-permissions-policy-none.tentative.https.sub.html]
+ expected: TIMEOUT
+ [permissions policy header browsing-topics=() disallows document.browsingTopics() in the current page.]
+ expected: FAIL
+
+ [permissions policy header browsing-topics=() disallows document.browsingTopics() in same-origin iframes.]
+ expected: TIMEOUT
+
+ [permissions policy header browsing-topics=() disallows document.browsingTopics() in cross-origin iframes.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-self.tentative.https.sub.html.ini b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-self.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..5cddc9f437
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/browsing-topics-permissions-policy-self.tentative.https.sub.html.ini
@@ -0,0 +1,19 @@
+[browsing-topics-permissions-policy-self.tentative.https.sub.html]
+ expected: TIMEOUT
+ [permissions policy header browsing-topics=(self) allows document.browsingTopics() in the current page.]
+ expected: FAIL
+
+ [permissions policy header browsing-topics=(self) allows document.browsingTopics() in same-origin iframes.]
+ expected: TIMEOUT
+
+ [permissions policy header browsing-topics=(self) disallows document.browsingTopics() in cross-origin iframes.]
+ expected: TIMEOUT
+
+ [permissions policy header browsing-topics=(self)allows the 'Sec-Browsing-Topics' header to be sent for the same-origin topics fetch request.]
+ expected: FAIL
+
+ [permissions policy header browsing-topics=(self)allows the 'Sec-Browsing-Topics' header to be sent for the redirect of a topics fetch request, where the redirect has a same-origin URL.]
+ expected: FAIL
+
+ [permissions policy header browsing-topics=(self) allows the 'Sec-Browsing-Topics' header to be sent for the same-origin iframe navigation request.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/document-api.tentative.https.html.ini b/testing/web-platform/meta/browsing-topics/document-api.tentative.https.html.ini
new file mode 100644
index 0000000000..5c5c567f85
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/document-api.tentative.https.html.ini
@@ -0,0 +1,3 @@
+[document-api.tentative.https.html]
+ [test document.browsingTopics()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/fetch-topics-header-not-visible-in-service-worker.tentative.https.html.ini b/testing/web-platform/meta/browsing-topics/fetch-topics-header-not-visible-in-service-worker.tentative.https.html.ini
new file mode 100644
index 0000000000..4ec0074eab
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/fetch-topics-header-not-visible-in-service-worker.tentative.https.html.ini
@@ -0,0 +1,6 @@
+[fetch-topics-header-not-visible-in-service-worker.tentative.https.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ [test that the topics header for fetch(<url>, {browsingTopics: true}) is not visible in a service worker context]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/browsing-topics/fetch-topics-insecure-context.tentative.http.html.ini b/testing/web-platform/meta/browsing-topics/fetch-topics-insecure-context.tentative.http.html.ini
new file mode 100644
index 0000000000..c68eda5f32
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/fetch-topics-insecure-context.tentative.http.html.ini
@@ -0,0 +1,3 @@
+[fetch-topics-insecure-context.tentative.http.html]
+ [test fetch(<url>, {browsingTopics: true}) in insecure context]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/fetch-topics.tentative.https.html.ini b/testing/web-platform/meta/browsing-topics/fetch-topics.tentative.https.html.ini
new file mode 100644
index 0000000000..c6db0c465e
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/fetch-topics.tentative.https.html.ini
@@ -0,0 +1,3 @@
+[fetch-topics.tentative.https.html]
+ [test fetch(<url>, {browsingTopics: true})]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/iframe-topics-attribute.tentative.https.html.ini b/testing/web-platform/meta/browsing-topics/iframe-topics-attribute.tentative.https.html.ini
new file mode 100644
index 0000000000..e276a5c553
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/iframe-topics-attribute.tentative.https.html.ini
@@ -0,0 +1,3 @@
+[iframe-topics-attribute.tentative.https.html]
+ [test <iframe browsingtopics src=[url\]></iframe>]
+ expected: FAIL
diff --git a/testing/web-platform/meta/browsing-topics/xhr-topics.tentative.https.html.ini b/testing/web-platform/meta/browsing-topics/xhr-topics.tentative.https.html.ini
new file mode 100644
index 0000000000..ed3644ddc5
--- /dev/null
+++ b/testing/web-platform/meta/browsing-topics/xhr-topics.tentative.https.html.ini
@@ -0,0 +1,4 @@
+[xhr-topics.tentative.https.html]
+ expected: ERROR
+ [test XHR that sets the deprecatedBrowsingTopics attribtue]
+ expected: TIMEOUT