[Webkit-unassigned] [Bug 42636] WebSocket() constructor should throw SYNTAX_ERR if URL has zero or one slash after 'ws:' or 'wss:'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 19 02:35:02 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=42636
Simon Pieters <zcorpan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #4 from Simon Pieters <zcorpan at gmail.com> ---
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17772#c5
e.g. for ws:example.org/ (no base url)
https://url.spec.whatwg.org/#scheme-state
"Otherwise, if url is special, set state to special authority slashes state."
->
https://url.spec.whatwg.org/#special-authority-slashes-state
"Otherwise, syntax violation, set state to special authority ignore slashes state, and decrease pointer by one."
->
https://url.spec.whatwg.org/#special-authority-ignore-slashes-state
"If c is neither "/" nor "\", set state to authority state, and decrease pointer by one."
->
https://url.spec.whatwg.org/#authority-state
"Otherwise, append c to buffer."
...etc; it will parse successfully and up with the same URL record as for ws://example.org/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160519/508c9c0d/attachment-0001.html>
More information about the webkit-unassigned
mailing list