Bug 1606257 [wpt PR 20934] - Add tests for cookies' `Domain` attribute., a=testonly
commite6c63010f0149b433cc83e61c6311c15bb8ff65d
authorMike West <mkwst@chromium.org>
Wed, 8 Jan 2020 13:18:10 +0000 (8 13:18 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 9 Jan 2020 10:49:24 +0000 (9 10:49 +0000)
tree4f23a51f6474334d287078eee18113854ae49576
parente814c3c7474c9e6fb5eb4c2b665ee374a3e9a53c
Bug 1606257 [wpt PR 20934] - Add tests for cookies' `Domain` attribute., a=testonly

Automatic update from web-platform-tests
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/c/chromium/src/+/1983228
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728947}

--

wpt-commits: fee0bc6757220fed75e3a5e286bcdafea0849575
wpt-pr: 20934
testing/web-platform/tests/cookies/domain/domain-attribute-host-with-and-without-leading-period.sub.html [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-host-with-and-without-leading-period.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-host-with-leading-period.sub.html [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-host-with-leading-period.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-matches-host.sub.html [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-matches-host.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-missing.sub.html [new file with mode: 0644]
testing/web-platform/tests/cookies/domain/domain-attribute-missing.sub.html.headers [new file with mode: 0644]