Re: [whatwg/url] It's not immediately clear that "URL syntax" and "URL parser" conflict (#118)

I'd suggest the following plan to any browsers interested in tightening the URL syntax they accept:

- look through https://github.com/w3c/web-platform-tests/blob/master/url/urltestdata.json and find all non-error results that you wish became error results
- (optionally, wait until I finish my long-delayed project to expand that file to give 100% coverage of the spec. Currently it gives around 60%.)
- Instrument all URL parsing to figure out how often these undesirable patterns occur
- When the numbers come back, decide which percentage of users or pages you are willing to break, and pick the subset of algorithm changes you can make to do so up to that percentage
- optionally, weigh the percent of users broken vs. the corresponding spec or implementation complexity reduction
- start coordinating with other vendors to see which of your changes they're interested in. (Some cases might already behave differently in those other vendors' browsers, which could help!)
- Ship, preferably in a coordinated fashion with appropriate devrel support.

---
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/118#issuecomment-218323801

Received on Tuesday, 10 May 2016 23:48:03 UTC