diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html')
-rw-r--r-- | testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html b/testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html deleted file mode 100644 index b583834831..0000000000 --- a/testing/web-platform/tests/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html +++ /dev/null @@ -1,54 +0,0 @@ -<!DOCTYPE html> -<head> -<meta charset="utf-8"> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<script src="./resources/compression-dictionary-util.js"></script> -</head> -<body> -<script> - -compression_dictionary_promise_test(async (t) => { - const dict = await (await fetch(kRegisterDictionaryPath)).text(); - // Wait until `available-dictionary` header is available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {}), - kDefaultDictionaryHashBase64); - // Clear site data. - assert_equals(await clearSiteData(/*directive=*/'cache'), 'OK'); - // Check if `available-dictionary` header is not available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {max_retry: 0}), - '"available-dictionary" header is not available'); -}, 'Clear-Site-Data with "cache" directive must unregister dictionary'); - -compression_dictionary_promise_test(async (t) => { - const dict = await (await fetch(kRegisterDictionaryPath)).text(); - // Wait until `available-dictionary` header is available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {}), - kDefaultDictionaryHashBase64); - // Clear site data. - assert_equals(await clearSiteData(/*directive=*/'cookies'), 'OK'); - // Check if `available-dictionary` header is not available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {max_retry: 0}), - '"available-dictionary" header is not available'); -}, 'Clear-Site-Data with "cookies" directive must unregister dictionary'); - -compression_dictionary_promise_test(async (t) => { - const dict = await (await fetch(kRegisterDictionaryPath)).text(); - // Wait until `available-dictionary` header is available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {}), - kDefaultDictionaryHashBase64); - // Clear site data. - assert_equals(await clearSiteData(/*directive=*/'storage'), 'OK'); - // Check if `available-dictionary` header is not available. - assert_equals( - await waitUntilAvailableDictionaryHeader(t, {max_retry: 0}), - kDefaultDictionaryHashBase64); -}, 'Clear-Site-Data with "storage" directive must not unregister dictionary'); - -</script> -</body> |