whatwg / urlpattern

URL Pattern Standard
https://urlpattern.spec.whatwg.org/
Other
154 stars 20 forks source link

More strict check for init["baseURL"] in URLPatternInit processing #205

Closed sisidovski closed 8 months ago

sisidovski commented 8 months ago

init["baseURL"] is initialized with null, and map-exists only checks if there exists an entry with the key. This commit adds null or empty string check for init["baseURL"] in URLPatternInit processing.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

sisidovski commented 8 months ago

This seems to be unnecessary, closing.