From dacbd19690ae0b20a030363f69231b0c32dd4fb8 Mon Sep 17 00:00:00 2001 From: "vidur%netscape.com" Date: Sat, 27 Mar 1999 00:11:13 +0000 Subject: [PATCH] Fix for bug 3165. Unqualified references to location now resolve to window.location --- dom/src/base/nsJSUtils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom/src/base/nsJSUtils.cpp b/dom/src/base/nsJSUtils.cpp index 17c947f6bbb5..07d6973ae088 100644 --- a/dom/src/base/nsJSUtils.cpp +++ b/dom/src/base/nsJSUtils.cpp @@ -303,6 +303,9 @@ nsJSUtils::nsGlobalResolve(JSContext* aContext, return PR_FALSE; } } + else { + return nsGenericResolve(aContext, aObj, aId); + } } else { return PR_FALSE;