Closed Bug 1797449 (interop-2024-websockets) Opened 2 years ago Closed 10 months ago

WebSocket: Allow relative URLs and http(s) scheme

Categories

(Core :: DOM: Networking, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
relnote-firefox --- 124+
firefox124 --- fixed

People

(Reporter: me, Assigned: canadahonk)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete, parity-safari, Whiteboard: [necko-triaged])

Attachments

(1 file, 1 obsolete file)

Summary: Allow relative URLs and http(s) scheme → WebSocket: Allow relative URLs and http(s) scheme
Assignee: nobody → me
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Component: Untriaged → DOM: Networking
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Attachment #9300476 - Attachment is obsolete: true
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged]

Webkit implemented this recently and upcoming Safari 17 will ship that feature:

would be nice if others catch up also.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: me → nobody
Status: ASSIGNED → NEW

Happy to finish this off if there are no concerns otherwise?

Keywords: parity-safari

(In reply to Oliver Medhurst [:canadahonk] from comment #6)

Happy to finish this off if there are no concerns otherwise?

Go for it. I think the patch is nearly there. Some WPT expectations needed fixing.

Happy to finish this off if there are no concerns otherwise?

Looking forward having this in Firefox now that Safari 17 already shipped that enhancement. Thanks!

Assignee: nobody → omedhurst
Status: NEW → ASSIGNED
Attachment #9300286 - Attachment description: WIP: Bug 1797449 - WebSocket: Allow relative URLs and http(s) scheme → Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme
Attachment #9300286 - Attachment description: Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme → WIP: Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme
Attachment #9300286 - Attachment description: WIP: Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme → Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme
Pushed by omedhurst@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f27806eac17b [websocket] Allow relative URLs and http(s) scheme r=valentin

Backed out for causing mochitest failure on test_websocket1.html

Backout link

Push with failures

Failure log

Flags: needinfo?(omedhurst)

Some internal tests checked we didn't support this. Updated so they should expect so. Updated patch and pushed to try, I'll land again if it looks okay.

Flags: needinfo?(omedhurst)
Pushed by omedhurst@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e57780f6a56b [websocket] Allow relative URLs and http(s) scheme r=valentin
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch

Release Note Request (optional, but appreciated)
[Why is this notable]: New web platform feature
[Affects Firefox for Android]: Yes
[Suggested wording]: You can now use HTTP(S) and relative URLs when creating WebSockets.
[Links (documentation, blog post, etc)]: https://github.com/whatwg/websockets/pull/45

relnote-firefox: --- → ?

Added to Fx124 nightly notes https://www.mozilla.org/en-US/firefox/124.0a1/releasenotes/ and the draft for the final release notes.

Alias: interop-2024-websockets
Keywords: dev-doc-needed

MDN docs for this completed except for a few reviews - tracked in https://github.com/mdn/content/issues/26731

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: