[Webkit-unassigned] [Bug 247149] WebSocket: Allow relative URLs and http(s) scheme

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 4 14:24:19 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=247149

--- Comment #3 from me at gus.host ---
(In reply to Alex Christensen from comment #2)
> This is significantly different than Firefox's approach.
> 
> I think Anne's comment "If we accept HTTP(S) schemes though we probably
> first want to normalize them to ws/wss, for the sake of consistency with the
> existing url getter" is interesting and should be considered.
> 
> Tests need updating.

I tested both against the same site and they behaved as expected, although slight deviations may exist? I have a pr against WPT which should help with ensuring things are working as expected. I don't know the exact processes but once that is merged I'll need help rolling wpt so this patch can be tested properly.

I thought it made more sense for the url getter to reflect the url that was passed in so it is not normalized. Do you feel strongly that it should be?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221104/b62f7d3b/attachment.htm>


More information about the webkit-unassigned mailing list