url: throw descriptive error if url argument to parse() is not a string
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 20 Jul 2011 20:15:41 +0000 (22:15 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 20 Jul 2011 22:51:48 +0000 (00:51 +0200)
commit1b0e054737b207977981e0fc818b013ba8bb0caa
tree502d3d5fb3e25e40e3e248d26e2336950c74d72c
parent6f0740e67b785599cfd1112647249b5c678c7214
url: throw descriptive error if url argument to parse() is not a string

Fixes #568.
lib/url.js
test/simple/test-url.js