Re: [whatwg/url] Don't coerce numbers to strings for port checking (#377)

I think we also want to keep `ToString()` for any objects passed to the setter (I haven't verified how IDL deals with number or string though, perhaps it does the wrong thing).

We could also modify the parser or perhaps the setter to terminate early if the value contains a "." or "e" or some such. Maybe that's easier.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/377#issuecomment-376104881

Received on Monday, 26 March 2018 09:33:46 UTC