Bug 926890 - Throw JavaScript exceptions for URL, r=ehsan