Fix for bug 3165. Unqualified references to location now resolve to window.location

This commit is contained in:
vidur%netscape.com 1999-03-27 00:11:13 +00:00
parent 657d66dd8f
commit dacbd19690

View File

@ -303,6 +303,9 @@ nsJSUtils::nsGlobalResolve(JSContext* aContext,
return PR_FALSE;
}
}
else {
return nsGenericResolve(aContext, aObj, aId);
}
}
else {
return PR_FALSE;