[Webkit-unassigned] [Bug 164508] WebRTC: URL class can't parse ICE helper server urls properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 9 10:28:40 PST 2017


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

--- Comment #3 from Alex Christensen <achristensen at apple.com> ---
<script>
try {
    var u = new URL("stun:stun1.example.net");
    alert("scheme " + u.scheme);
    alert("host " + u.host);
    alert("pathname " + u.pathname);
} catch (e) { alert("threw"); }
</script>

This behaves the same in Chrome, Firefox, and Safari.  Are you expecting the host to be stun1.example.net?  What problems are actually caused by this?  It's possible we will need to revise either the URL grammar or the grammars defined in those RFCs.  We definitely need to keep the URL object's behavior for schemes like mailto, though.

-- 
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/20170209/73c31b4e/attachment-0001.html>


More information about the webkit-unassigned mailing list