return url_getProperty(cx, obj, INT_TO_JSVAL(URL_HREF), rval);
JSURL *url; JSBool ans;  if (!(url = JS_GetInstancePrivate(cx, obj, &lm_location_class, argv))) return JS_FALSE; url->url_decoder->replace_location = JS_TRUE;  ans = loc_assign(cx, obj, 0, argv); *rval = *argv; return ans;
PR_STATIC_CALLBACK(JSBool)url_toString(JSContext *cx, JSObject *obj,	      uint argc, jsval *argv, jsval *rval){    return url_getProperty(cx, obj, INT_TO_JSVAL(URL_HREF), rval);}