sS assertURL(S s) { if (!isURL(s)) fail("Not a URL: " + quote(s)); ret s; }