Closed Bug 1606257 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20934 - Add tests for cookies' `Domain` attribute.

Categories

(Core :: Networking: Cookies, task, P5)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [necko-triaged][wptsync downstream])

Sync web-platform-tests PR 20934 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20934
Details from upstream follow.

Mike West <mkwst@chromium.org> wrote:

Add tests for cookies' Domain attribute.

The current WPT suite for cookies' domain attribute is quite broken; we
did a bad job porting it. This patch adds tests for the specific case
called out in https://github.com/httpwg/http-extensions/issues/238,
and described in https://tools.ietf.org/html/rfc6265#section-5.2.3.

Change-Id: Ib8614d5834e028cfc093594b22bc7c8cb4f086a2
Reviewed-on: https://chromium-review.googlesource.com/1983228
WPT-Export-Revision: 8faebf00ca7e6e44e52b69228994790dc2110d5f

Component: web-platform-tests → Networking: Cookies
Product: Testing → Core
Priority: P4 → P5
Whiteboard: [wptsync downstream] → [necko-triaged][wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 3 subtests

Status Summary

Firefox

OK : 4
PASS: 11
FAIL: 1

Chrome

OK : 4
PASS: 11
FAIL: 1

Safari

OK : 4
PASS: 11
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/cookies/domain/domain-attribute-missing.sub.html
No domain attribute => not sent with subdomain requests.: FAIL (Chrome: FAIL, Safari: FAIL)

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 43 tests

Status Summary

Firefox

OK : 4
PASS: 11[['GitHub']] 50[[u'Gecko-android-em-7.0-x86_64-debug-geckoview', u'Gecko-android-em-7.0-x86_64-opt-geckoview', u'Gecko-linux64-asan-opt', u'Gecko-linux64-debug', u'Gecko-linux64-opt', u'Gecko-linux64-qr-debug', u'Gecko-linux64-qr-opt', u'Gecko-windows10-64-debug', u'Gecko-windows10-64-opt', u'Gecko-windows10-64-qr-debug', u'Gecko-windows10-64-qr-opt', u'Gecko-windows7-32-debug', u'Gecko-windows7-32-opt']]
FAIL: 1

Chrome

OK : 4
PASS: 11
FAIL: 1

Safari

OK : 4
PASS: 11
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/cookies/domain/domain-attribute-missing.sub.html
No domain attribute => not sent with subdomain requests.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed3641e75b91
[wpt PR 20934] - Add tests for cookies' `Domain` attribute., a=testonly
https://hg.mozilla.org/integration/autoland/rev/cb9cf5c78f73
[wpt PR 20934] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Regressions: 1608105
You need to log in before you can comment on or make changes to this bug.