[wpt-sync] Sync PR 23027 - CookieStore: Add domain validation wpt
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox77 fixed)
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23027 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23027
Details from upstream follow.
Ayu Ishii <ayui@chromium.org> wrote:
CookieStore: Add domain validation wpt
This change adds tests for domain validation in wpt.
Change-Id: Id8c74374d23bd72787ecc40919070b98684e163c
Reviewed-on: https://chromium-review.googlesource.com/2149699
WPT-Export-Revision: 707168a8fdcb5e7d5fd09f653a629c440f8725da
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 61 tests
Status Summary
Firefox
OK : 2
PASS: 59
FAIL: 44[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 48[GitHub]
Chrome
OK : 2
PASS: 48
Safari
OK : 2
FAIL: 48
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/cookie-store/cookieStore_set_arguments.tentative.https.any.serviceworker.html
cookieStore.set adds / to path that does not end with /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with value in both positional arguments and options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options and expires in the future: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set domain starts with ".": FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to a non-domain-matching suffix of the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path that does not start with /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to a subdomain of the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set default domain is null and differs from current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path set to the current directory: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a past Date: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with get result: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with empty name and an '=' in value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a future Date: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with positional name and value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a future timestamp: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path set to a subdirectory of the current directory: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with normal name and an '=' in value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain that is not equal current host: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name in both positional arguments and options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options and expires in the past: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set default path is /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a past timestamp: FAIL (Chrome: PASS, Safari: FAIL)
/cookie-store/cookieStore_set_arguments.tentative.https.any.html
cookieStore.set adds / to path that does not end with /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with value in both positional arguments and options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options and expires in the future: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set domain starts with ".": FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to a non-domain-matching suffix of the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path that does not start with /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain set to a subdomain of the current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set default domain is null and differs from current hostname: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path set to the current directory: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a past Date: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with get result: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with empty name and an '=' in value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a future Date: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with positional name and value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a future timestamp: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with path set to a subdirectory of the current directory: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with normal name and an '=' in value: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with domain that is not equal current host: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name in both positional arguments and options: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with name and value in options and expires in the past: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set default path is /: FAIL (Chrome: PASS, Safari: FAIL)
cookieStore.set with expires set to a past timestamp: FAIL (Chrome: PASS, Safari: FAIL)
Comment 5•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9749430bf870
https://hg.mozilla.org/mozilla-central/rev/2aa412131761
Description
•