summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/private-aggregation
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/private-aggregation
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/private-aggregation')
-rw-r--r--testing/web-platform/meta/private-aggregation/protected-audience-surface-failure.https.html.ini12
-rw-r--r--testing/web-platform/meta/private-aggregation/protected-audience-surface-success.https.html.ini21
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-permissions-policy-none.https.html.ini3
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-surface-context-id.https.html.ini12
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-surface-failure-2.https.html.ini3
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-surface-failure.https.html.ini18
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-surface-success-2.https.html.ini3
-rw-r--r--testing/web-platform/meta/private-aggregation/shared-storage-surface-success.https.html.ini18
8 files changed, 90 insertions, 0 deletions
diff --git a/testing/web-platform/meta/private-aggregation/protected-audience-surface-failure.https.html.ini b/testing/web-platform/meta/private-aggregation/protected-audience-surface-failure.https.html.ini
new file mode 100644
index 0000000000..b1665086ac
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/protected-audience-surface-failure.https.html.ini
@@ -0,0 +1,12 @@
+[protected-audience-surface-failure.https.html]
+ [contributeToHistogram() with too large bucket in scoreAd()]
+ expected: FAIL
+
+ [contributeToHistogram() with negative bucket in reportResult()]
+ expected: FAIL
+
+ [contributeToHistogram() with non-BigInt bucket in generateBid()]
+ expected: FAIL
+
+ [contributeToHistogram() with negative value in reportWin()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/protected-audience-surface-success.https.html.ini b/testing/web-platform/meta/private-aggregation/protected-audience-surface-success.https.html.ini
new file mode 100644
index 0000000000..cca92589d6
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/protected-audience-surface-success.https.html.ini
@@ -0,0 +1,21 @@
+[protected-audience-surface-success.https.html]
+ [contributeToHistogram() with positive bucket in scoreAd()]
+ expected: FAIL
+
+ [contributeToHistogram() with zero bucket in reportResult()]
+ expected: FAIL
+
+ [contributeToHistogram() with large bucket in generateBid()]
+ expected: FAIL
+
+ [contributeToHistogram() with max bucket in reportWin()]
+ expected: FAIL
+
+ [contributeToHistogram() with positive value in scoreAd()]
+ expected: FAIL
+
+ [contributeToHistogram() with zero value in reportResult()]
+ expected: FAIL
+
+ [contributeToHistogram() with non-integer value in generateBid()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-permissions-policy-none.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-permissions-policy-none.https.html.ini
new file mode 100644
index 0000000000..0e59dc8af7
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-permissions-policy-none.https.html.ini
@@ -0,0 +1,3 @@
+[shared-storage-permissions-policy-none.https.html]
+ [contributeToHistogram() with disabled "private-aggregation" permissions policy]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-surface-context-id.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-surface-context-id.https.html.ini
new file mode 100644
index 0000000000..dbb72f7ddf
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-surface-context-id.https.html.ini
@@ -0,0 +1,12 @@
+[shared-storage-surface-context-id.https.html]
+ [set context ID]
+ expected: FAIL
+
+ [set empty context ID]
+ expected: FAIL
+
+ [set max length context ID]
+ expected: FAIL
+
+ [set too long context ID]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure-2.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure-2.https.html.ini
new file mode 100644
index 0000000000..72f7b51f18
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure-2.https.html.ini
@@ -0,0 +1,3 @@
+[shared-storage-surface-failure-2.https.html]
+ [contributeToHistogram() with a negative value]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure.https.html.ini
new file mode 100644
index 0000000000..306d879cf4
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-surface-failure.https.html.ini
@@ -0,0 +1,18 @@
+[shared-storage-surface-failure.https.html]
+ [contributeToHistogram() with a bucket too large]
+ expected: FAIL
+
+ [contributeToHistogram() with negative bucket]
+ expected: FAIL
+
+ [contributeToHistogram() with non-BigInt bucket]
+ expected: FAIL
+
+ [Invalid enableDebugMode argument]
+ expected: FAIL
+
+ [contributeToHistogram() with a non-BigInt debugKey]
+ expected: FAIL
+
+ [enableDebugMode called twice]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-surface-success-2.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-surface-success-2.https.html.ini
new file mode 100644
index 0000000000..1f098e5ecc
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-surface-success-2.https.html.ini
@@ -0,0 +1,3 @@
+[shared-storage-surface-success-2.https.html]
+ [contributeToHistogram() with a valid debugKey]
+ expected: FAIL
diff --git a/testing/web-platform/meta/private-aggregation/shared-storage-surface-success.https.html.ini b/testing/web-platform/meta/private-aggregation/shared-storage-surface-success.https.html.ini
new file mode 100644
index 0000000000..c05e5f25c0
--- /dev/null
+++ b/testing/web-platform/meta/private-aggregation/shared-storage-surface-success.https.html.ini
@@ -0,0 +1,18 @@
+[shared-storage-surface-success.https.html]
+ [basic contributeToHistogram() test]
+ expected: FAIL
+
+ [contributeToHistogram() with a zero bucket]
+ expected: FAIL
+
+ [contributeToHistogram() with a zero value]
+ expected: FAIL
+
+ [contributeToHistogram() with a large bucket]
+ expected: FAIL
+
+ [contributeToHistogram() with a max bucket]
+ expected: FAIL
+
+ [contributeToHistogram() with a non-integer value]
+ expected: FAIL