Closed Bug 1982555 Opened 11 months ago Closed 11 months ago

Rename the __HostHttp- cookie prefix to __Host-Http-

Categories

(Core :: Networking: Cookies, enhancement, P2)

Firefox 143
enhancement
Points:
1

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox142 --- fixed
firefox143 + fixed
firefox144 --- fixed

People

(Reporter: yoav, Assigned: edgul)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [necko-triaged][necko-priority-queue])

Attachments

(1 file)

Steps to reproduce:

In https://github.com/whatwg/cookiestore/pull/286 and https://github.com/httpwg/http-extensions/pull/3153 we're renaming the __HostHttp- cookie prefix to make it easier for servers to deploy before the prefix is supported, without losing the __Host- semantics.

Expected results:

We should rename the cookie prefix to align with that

This should be as simple as updating CookiePrefixes::eHostHttp to be "__Host-Http-"

Severity: -- → S3
Rank: 1
Priority: -- → P2
See Also: → 1982546, 1982291
Whiteboard: [necko-triaged][necko-priority-next]
Assignee: nobody → edgul
Status: NEW → ASSIGNED
Depends on: 1974979
Keywords: dev-doc-needed
Whiteboard: [necko-triaged][necko-priority-next] → [necko-triaged][necko-priority-queue]
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/783b68885d9a https://hg.mozilla.org/integration/autoland/rev/3b7bf8912792 Revert "Bug 1982555 - Rename the __HostHttp- cookie prefix to __Host-Http- r=valentin,cookie-reviewers" for causing wpt failures cookiestore related

Backed out for causing wpt failures

Backout link

Push with failures

Failure log

Flags: needinfo?(edgul)
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch

Would it make sense to uplift to 143? That might make it less likely that someone would use the old name.

FWIW, That's what I'm doing in chromium

[Tracking Requested - why for this release]: The name of this HTTP header changed shortly after it reached release Firefox. We should minimize the time with the "wrong" name.

A Beta uplift request would be more helpful than a tracking request :-). Also, we could potentially get this into a 142 dot release if people think it's important enough.

Flags: needinfo?(edgul)
Flags: needinfo?(edgul)

Comment on attachment 9506750 [details]
Bug 1982555 - Rename the __HostHttp- cookie prefix to __Host-Http- r?valentin

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Discrepancy between firefox versions for cookie prefixes. Cookie behaviour will not be consistent across versions and not work as expected in both.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Original feature has not been in release that long.
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(edgul)
Attachment #9506750 - Flags: approval-mozilla-release?
Attachment #9506750 - Flags: approval-mozilla-beta?

Comment on attachment 9506750 [details]
Bug 1982555 - Rename the __HostHttp- cookie prefix to __Host-Http- r?valentin

Approved for 143.0b5
Approved for 142.0.1

Attachment #9506750 - Flags: approval-mozilla-release?
Attachment #9506750 - Flags: approval-mozilla-release+
Attachment #9506750 - Flags: approval-mozilla-beta?
Attachment #9506750 - Flags: approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: