mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Fix for bug 3165. Unqualified references to location now resolve to window.location
This commit is contained in:
parent
657d66dd8f
commit
dacbd19690
@ -303,6 +303,9 @@ nsJSUtils::nsGlobalResolve(JSContext* aContext,
|
||||
return PR_FALSE;
|
||||
}
|
||||
}
|
||||
else {
|
||||
return nsGenericResolve(aContext, aObj, aId);
|
||||
}
|
||||
}
|
||||
else {
|
||||
return PR_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user