whatwg / urlpattern

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

Inaccuracy in arguments given to `is an absolute pathname` #121

Closed lucacasonato closed 3 years ago

lucacasonato commented 3 years ago

In process a URLPatternInit 17.2, in the third bullet the following is stated:

the result of running is an absolute pathname given result["pathname"] and type is false

Problem is, is an absolute pathname algorithm takes a string type ("url" or "pattern"), not a boolean.

lucacasonato commented 3 years ago

Oh, nvm. I just can't read. It says if the result of running is an absolute pathname given result["pathname"] and type is false.