- From: Timothy Gu <notifications@github.com>
- Date: Tue, 07 Mar 2023 07:41:07 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 March 2023 15:41:20 UTC
Yeah, Chromium had a lot of javascript URL parsing changes a couple of years ago. I believe that is now fully aligned with the HTML spec, but of course the URL parser itself is not aligned yet. I think failing to parse in the URL parser is the best idea. Unfortunately, the non-special URL parsing in Chrome still doesn't actually parse apart authority and path. I'm not sure why WebKit behaves differently between `new URL()` and `<a href>` though – I presume the latter uses a different parser for `javascript:` URLs? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/307#issuecomment-1458387568 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/307/1458387568@github.com>
Received on Tuesday, 7 March 2023 15:41:20 UTC