Closed Bug 1452301 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10292 - Cookie Store: disallow '=' in cookies with empty names

Categories

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

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Joshua Bell <jsbell@chromium.org> wrote:
>  Cookie Store: disallow '=' in cookies with empty names
>  
>  Per the explainer[1] and tests: "Cookies with an empty name cannot be
>  set using values containing = as this would result in ambiguous
>  serializations in the majority of current browsers."
>  
>  Also, fix a test glitch now that this restriction is implemented.
>  
>  [1] https://github.com/WICG/cookie-store/blob/gh-pages/explainer.md
>  
>  Bug: 729800
>  Change-Id: I9ed02885c217cbdb4c86d8fd236d49c6c56b6e96
>  Reviewed-on: https://chromium-review.googlesource.com/994145
>  Commit-Queue: Joshua Bell <jsbell@chromium.org>
>  Reviewed-by: Victor Costan <pwnall@chromium.org>
>  Cr-Commit-Position: refs/heads/master@{#548563}
>  
>  
>
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f6d3dafa1fad
[wpt PR 10292] - Cookie Store: disallow '=' in cookies with empty names, a=testonly
https://hg.mozilla.org/mozilla-central/rev/f6d3dafa1fad
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.