whatwg / urlpattern

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

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

Closed sisidovski closed 10 months ago

sisidovski commented 10 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 10 months ago

This seems to be unnecessary, closing.