Closed
Bug 58631
Opened 24 years ago
Closed 23 years ago
javascript strict warnings in history.js
Categories
(Core :: DOM: Navigation, defect, P3)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
Attachments
(5 files)
625 bytes,
patch
|
Details | Diff | Splinter Review | |
561 bytes,
patch
|
Details | Diff | Splinter Review | |
2.07 KB,
patch
|
Details | Diff | Splinter Review | |
562 bytes,
patch
|
Details | Diff | Splinter Review | |
18.19 KB,
patch
|
Details | Diff | Splinter Review |
JavaScript strict warning:
chrome://communicator/content/history/history.js line 83: trailing comma is not
legal in ECMA-262 object initializers
JavaScript strict warning:
chrome://communicator/content/history/history.js line 102: trailing comma is not
legal in ECMA-262 object initializers
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
My guess this is something to do with global history. Session History does not
use a file like that. cc'ing rjc and matt
Reporter | ||
Updated•24 years ago
|
Summary: Lots of strict warnings in history.js → javascript strict warnings in history.js
Assignee | ||
Comment 5•24 years ago
|
||
I'm not jag (a good thing? ;), but r=blake ...
Comment 6•24 years ago
|
||
thanks jarrod, blake
fix is in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 7•24 years ago
|
||
New warnings crept in:
JavaScript strict warning:
chrome://communicator/content/history/history.js line 74: function OpenURL does
not always return a value
Patch coming right up.
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
r=jag
Shame on you, Alec and Blake! <gd&r>
(And yes, a good thing indeed you are not I. Otherwise you'd be making a whole
lot more mistakes ;-) )
Updated•24 years ago
|
Comment 10•24 years ago
|
||
sr=alecf, thanks jag :)
Assignee | ||
Comment 11•24 years ago
|
||
Fix checked in.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•24 years ago
|
||
JavaScript strict warning:
chrome://communicator/content/history/history.js line 89: redeclaration of var
match
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 14•24 years ago
|
||
btw:
JavaScript error:
chrome://communicator/content/history/history.js line 77: gHistoryTree has no
properties
Comment 15•24 years ago
|
||
henrik, how did you get that second one? I can't figure out how that would even
happen.
attaching a new patch that fixes the first warning most recently listed, as well
as removing dumps()
Status: REOPENED → ASSIGNED
Whiteboard: fix in hand
Comment 16•24 years ago
|
||
Assignee | ||
Comment 17•24 years ago
|
||
r=blake
yeah, that second warning is weird.
Reporter | ||
Comment 18•24 years ago
|
||
I'm not sure how I got the other one. I been through the history and couldn't
get it in todays build...
Reporter | ||
Comment 19•24 years ago
|
||
Just got the error!
It was when I click on a history item in the History sidebar! I get it everytime
I click on a item in the history sidebar....
Comment 20•24 years ago
|
||
*** Bug 69871 has been marked as a duplicate of this bug. ***
Comment 21•24 years ago
|
||
Comment 22•24 years ago
|
||
This patch calls history.js' init routine for the panel so that the globals get
set up. (To be taken along w/ alecf's most recent patch).
Comment 23•24 years ago
|
||
sr=alecf
thanks!
Comment 24•24 years ago
|
||
Ok, so my latest patch needs r=, and alec's patch needs sr= (both are necessary
to fix all current warnings)
Comment 25•24 years ago
|
||
r=jag
Comment 27•24 years ago
|
||
both fixes checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 28•24 years ago
|
||
vrfy history 1.19, panel 1.2
Reporter | ||
Comment 29•24 years ago
|
||
Warning: anonymous function does not always return a value
Source File: chrome://communicator/content/history/history.js
Line: 199, Column: 2
Source Code: }
build 20010527
Comment 30•24 years ago
|
||
Assignee | ||
Comment 33•23 years ago
|
||
this is fixed.
Status: NEW → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 34•23 years ago
|
||
Verified fixed in 20020115. Will reopen if I see these warnings again...
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•