Closed Bug 1630711 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 23027 - CookieStore: Add domain validation wpt

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, 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

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)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/baafa9da99f9
[wpt PR 23027] - CookieStore: Add domain validation wpt, a=testonly
https://hg.mozilla.org/integration/autoland/rev/fd415357cc81
[wpt PR 23027] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/9749430bf870
[wpt PR 23027] - CookieStore: Add domain validation wpt, a=testonly
https://hg.mozilla.org/integration/autoland/rev/2aa412131761
[wpt PR 23027] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.