summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html')
-rw-r--r--testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html b/testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html
new file mode 100644
index 0000000000..c1ad72c30b
--- /dev/null
+++ b/testing/web-platform/tests/cookie-deprecation-label/cookie-deprecation-label.https.html
@@ -0,0 +1,9 @@
+<!doctype html>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script>
+ promise_test(async t => {
+ let label = await navigator.cookieDeprecationLabel.getValue();
+ assert_equals(label, 'label_test');
+ }, 'Test navigator.cookieDeprecationLabel.getValue()');
+</script>