Re: [whatwg/url] Differentiate from zero-sized fragment and no fragment in url (Issue #779)

I feel like no 3 is the most JavaScript-y API, but I'm definitely no expert.
API no 1 is similar to what we use internally in Firefox - and I suspect this one would cause the least confusion with the existing getters.
Option 2 works best to cover the gaps in this [testcase](https://github.com/whatwg/url/issues/779#issuecomment-1635445609)
@annevk I think any of the proposed options would work equally well. We just need to reach an agreement as to which one is the best fit.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/779#issuecomment-2554049029
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/779/2554049029@github.com>

Received on Thursday, 19 December 2024 13:41:57 UTC