WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237550
WebSocket requests should include Sec-Fetch-Mode=websocket for FetchMetadata
https://bugs.webkit.org/show_bug.cgi?id=237550
Summary
WebSocket requests should include Sec-Fetch-Mode=websocket for FetchMetadata
Patrick Griffis
Reported
2022-03-07 13:00:33 PST
As part of the FetchMetadata spec they don't use the normal request modes they have a distinct one. I plan on working on this soon.
Attachments
Test case
(1.30 KB, patch)
2022-03-29 11:03 PDT
,
Patrick Griffis
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-03-10 10:22:16 PST
<
rdar://problem/90106854
>
Patrick Griffis
Comment 2
2022-03-29 11:03:08 PDT
Created
attachment 456044
[details]
Test case
Patrick Griffis
Comment 3
2022-03-29 11:04:16 PDT
Attached is a test case for this, however running it Chromium does not attach any metadata to the websocket handshake request, the same as our current behavior. Firefox *does* attach metadata for this so there is an inconsistency there.
Anne van Kesteren
Comment 4
2022-10-14 01:24:27 PDT
Per Fetch they should be included. The handshake goes through the normal fetch algorithm after all and there's no special casing for setting these request headers.
youenn fablet
Comment 5
2022-11-09 03:37:29 PST
Pull request:
https://github.com/WebKit/WebKit/pull/6296
EWS
Comment 6
2022-11-10 04:25:42 PST
Committed
256527@main
(f05061a1e830): <
https://commits.webkit.org/256527@main
> Reviewed commits have been landed. Closing PR #6296 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug