- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 29 Nov 2024 05:34:58 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 29 November 2024 13:35:02 UTC
Here's a somewhat ambitious idea: - We rename basic URL parser to internal URL parser and mandate all of its arguments. We stop exporting it. - We create a new API URL parser that is essentially the internal URL parser except it does not have an encoding argument. This one is exported. (The existing internal API URL parser would have to be renamed or maybe this should have a slightly different name.) This would require a whatwg/html PR. - We modify the URL parser entry point so that it is suitable for all implementations, perhaps by making the `blob:` URL and encoding requirements conditional upon the user agent being a browser. A less ambitious approach would be to add some asserts. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/783#issuecomment-2507832779 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/783/2507832779@github.com>
Received on Friday, 29 November 2024 13:35:02 UTC