So even modern Web APIs don’t get the importance of good defaults :( new URL("foo.html") // ERROR! new URL("foo.html", location); // Works!
@tabatkins: sooo that seems to imply the design is unclear or not fit for some set of purposes...which implies work to do
/cc @LeaVerou
-
-
@slightlylate@LeaVerou EXACTLY. But it's the design of *relative urls* that's unclear, not the design of URL, which is for absolute urls. -
@slightlylate@LeaVerou And this is why we don't (yet) have a "relative URL" interface. It's not super-clear how to make it friendly yet. - 12 more replies
New conversation -
-
-
@slightlylate@tabatkins@LeaVerou what I find more upsetting is APIs are not shared with node.js -
@kingstontime@slightlylate@tabatkins This one is (in which case there would be no default, of course) - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.