Closed
Bug 65228
Opened 24 years ago
Closed 24 years ago
Tons and tons of errors in navigator.js
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugs4hj, Assigned: bugzilla)
References
Details
After installing build 2001011104 I see tons of errors in the JavaScript console.
All errors are the same: focusedWindow is not defined (line 81)
I know that navigator.js is changed lately. But I just can't count the number of
errors, there are to many. So there must be something wrong in navigator.js.
Not sure where to put this, XP???
Comment 1•24 years ago
|
||
It's still the same error caused by bug 56063 bud. It seems someone changed
navigator.js to use that code more often though. not a biggie.
Comment 3•24 years ago
|
||
Actually, this is different (although the error message is similar).
I think the other bug has gone away. This bug is just due to a bit
of over-eager spring cleaning -- the temp var was needed after all.
-> blake, r=jrgm :-]
Index: navigator.js
===================================================================
RCS file: /cvsroot/mozilla/xpfe/browser/resources/content/navigator.js,v
retrieving revision 1.279
diff -u -r1.279 navigator.js
--- navigator.js 2001/01/09 04:22:09 1.279
+++ navigator.js 2001/01/13 03:32:41
@@ -77,6 +77,7 @@
// When a content area frame is focused, update the focused frame URL
function contentAreaFrameFocus()
{
+ var focusedWindow = document.commandDispatcher.focusedWindow;
if (isDocumentFrame(document.commandDispatcher.focusedWindow)) {
gFocusedURL = focusedWindow.location.href;
var saveFrameItem = document.getElementById("savepage");
Comment 4•24 years ago
|
||
Duh!
Index: navigator.js
===================================================================
RCS file: /cvsroot/mozilla/xpfe/browser/resources/content/navigator.js,v
retrieving revision 1.279
diff -u -r1.279 navigator.js
--- navigator.js 2001/01/09 04:22:09 1.279
+++ navigator.js 2001/01/13 03:37:11
@@ -77,7 +77,8 @@
// When a content area frame is focused, update the focused frame URL
function contentAreaFrameFocus()
{
- if (isDocumentFrame(document.commandDispatcher.focusedWindow)) {
+ var focusedWindow = document.commandDispatcher.focusedWindow;
+ if (isDocumentFrame(focusedWindow)) {
gFocusedURL = focusedWindow.location.href;
var saveFrameItem = document.getElementById("savepage");
saveFrameItem.removeAttribute("hidden");
Comment 5•24 years ago
|
||
Heh, doh. r=jag
Comment 6•24 years ago
|
||
oops. a=ben@netscape.com
Comment 7•24 years ago
|
||
Marking fixed. Nice catch, John
Comment 8•24 years ago
|
||
Thanks. (and fixed).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 9•24 years ago
|
||
... and verified through rigorous testing of the daily build.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 10•24 years ago
|
||
Hey dude, thank you very mutcho's!
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•