[whatwg/url] Host parsing UTF-8 decoding can fail (#215)

Host parsing step 2 currently reads like this:
"Let domain be the result of UTF-8 decode without BOM on the percent decoding of UTF-8 encode on input."
If the UTF-8 decoding fails, it should explicitly say to return failure.  This matches Chrome, Firefox, and WebKit after https://bugs.webkit.org/show_bug.cgi?id=167330


-- 
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/215

Received on Monday, 23 January 2017 23:19:50 UTC