Re: [whatwg/url] username/password/port should be removed when "file" is added as scheme (#259)

I'm not sure I follow what you're saying. Setting `href` throws for invalid input, but other properties typically do nothing (no-ops). That's not super consistent, but that was already how those properties behaved elsewhere in the platform and given all the minor inconsistencies across browsers not throwing ends up breaking less code as well.

-- 
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/259#issuecomment-282709970

Received on Monday, 27 February 2017 13:11:35 UTC