tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d0eb41a0b8c2a29660ad088df3c5c86b81698e73
parent b132bbf91978c10051ad107ae787af74967d7e7d
Author: Alexandru Marc <amarc@mozilla.com>
Date:   Fri, 19 Dec 2025 13:33:55 +0000

Bug 1989354 - Update test expectations for cookieStore_delete_arguments.https.any.js r=Sasha

Differential Revision: https://phabricator.services.mozilla.com/D276816

Diffstat:
Mtesting/web-platform/meta/cookiestore/cookieStore_delete_arguments.https.any.js.ini | 6++++--
Mtesting/web-platform/meta/cookiestore/cookieStore_set_arguments.https.any.js.ini | 39+++++++++++++++++++++++++++++++++++++--
Atesting/web-platform/meta/cookiestore/httponly_cookies.https.window.js.ini | 12++++++++++++
3 files changed, 53 insertions(+), 4 deletions(-)

diff --git a/testing/web-platform/meta/cookiestore/cookieStore_delete_arguments.https.any.js.ini b/testing/web-platform/meta/cookiestore/cookieStore_delete_arguments.https.any.js.ini @@ -1,18 +1,20 @@ [cookieStore_delete_arguments.https.any.html] [cookieStore.delete with get result] expected: + if (os == "win"): [PASS, FAIL] if (processor == "x86") and not debug: [PASS, FAIL] [cookieStore.delete with a __Host- prefix should not have a domain] expected: + if (os == "win"): [PASS, FAIL] if (processor == "x86") and not debug: [PASS, FAIL] [cookieStore_delete_arguments.https.any.serviceworker.html] [cookieStore.delete with get result] expected: - if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] + if (os == "win"): [PASS, FAIL] [cookieStore.delete with a __Host- prefix should not have a domain] expected: - if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL] + if (os == "win"): [PASS, FAIL] diff --git a/testing/web-platform/meta/cookiestore/cookieStore_set_arguments.https.any.js.ini b/testing/web-platform/meta/cookiestore/cookieStore_set_arguments.https.any.js.ini @@ -1,29 +1,64 @@ [cookieStore_set_arguments.https.any.serviceworker.html] [cookieStore.set with path set to the current directory] expected: - if (processor == "x86_64") and (os == "win") and debug: [PASS, FAIL] + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore.set with path set to a subdirectory of the current directory] expected: - if (processor == "x86_64") and (os == "win") and debug: [PASS, FAIL] + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore.set with get result] expected: + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore.set checks if the path is too long] expected: + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore.set checks if the domain is too long] expected: + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore.set with a __Host- prefix should not have a domain] expected: + if (os == "win"): [PASS, FAIL] if processor == "x86": [PASS, FAIL] [cookieStore_set_arguments.https.any.html] + [cookieStore.set with domain set to a subdomain of the current hostname] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set with domain set to a non-domain-matching suffix of the current hostname] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set does not add / to path that does not end with /] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set can modify a cookie set by document.cookie if document is defined] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set with get result] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set checks if the path is too long] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set checks if the domain is too long] + expected: + if (os == "win"): [PASS, FAIL] + + [cookieStore.set with a __Host- prefix should not have a domain] + expected: + if (os == "win"): [PASS, FAIL] diff --git a/testing/web-platform/meta/cookiestore/httponly_cookies.https.window.js.ini b/testing/web-platform/meta/cookiestore/httponly_cookies.https.window.js.ini @@ -0,0 +1,12 @@ +[httponly_cookies.https.window.html] + [HttpOnly cookies are not observed] + expected: + if (os == "win"): [PASS, FAIL] + + [HttpOnly cookies can not be set by document.cookie] + expected: + if (os == "win"): [PASS, FAIL] + + [HttpOnly cookies can not be set by CookieStore] + expected: + if (os == "win"): [PASS, FAIL]