Closed Bug 456000 Opened 16 years ago Closed 16 years ago

location variable in browser.js accessed outside scope

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 454526

People

(Reporter: ecfbugzilla, Unassigned)

References

Details

This is caused by bug 448939 that changed this line: let location = aRequest.URI; This was previously declared with the "var" keyword and is used outside the block. Now |if (!msg && (!location || location.spec != "about:blank"))| doesn't have this variable in scope any more and gets window.location instead. Hence the warning "reference to undefined property location.spec".
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.