script: Do not include fragments when comparing URLs in CookieStore (#38876)

Fixes a check for empty options in `getAll(options)` and makes url
comparison with exclude fragments set to true.

Testing: New passing WPT tests
Part of #37674

---------

Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
Sebastian C 2025-08-27 18:41:11 -05:00 committed by GitHub
parent 84f478a47a
commit e5c83ec419
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 46 additions and 66 deletions

View file

@ -1,12 +1,13 @@
[httponly_cookies.https.window.html]
expected: TIMEOUT
[HttpOnly cookies are not observed]
expected: FAIL
expected: TIMEOUT
[HttpOnly cookies can not be set by document.cookie]
expected: FAIL
expected: NOTRUN
[HttpOnly cookies can not be set by CookieStore]
expected: FAIL
expected: NOTRUN
[HttpOnly cookies are not deleted/overwritten]
expected: FAIL
expected: NOTRUN