Closed
Bug 150158
Opened 24 years ago
Closed 23 years ago
javascript strict warnings in sidebarOverlay.js
Categories
(SeaMonkey :: Sidebar, defect)
SeaMonkey
Sidebar
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: bugzilla, Assigned: samir_bugzilla)
Details
(Keywords: helpwanted)
Attachments
(1 file)
|
1.71 KB,
patch
|
shliang
:
review+
brendan
:
superreview+
asa
:
approval1.4+
|
Details | Diff | Splinter Review |
just starting mozilla produces these:
Warning: reference to undefined property sidebar_file.delete
Source File: chrome://communicator/content/sidebar/sidebarOverlay.js
Line: 851
20020607
Comment 2•23 years ago
|
||
The comment above line 851 explains that the code is a workaround for bug 37406.
That bug has been fixed, and it renamed the delete method call to remove. It
looks like we need to call remove instead of delete, and we can use normal
method call notation and remove the comment. Also, I think
chrome://inspector/content/search/modules/junkImgs/junkImgs.xml line 127 has the
same problem.
Comment 3•23 years ago
|
||
Found another call to delete in
chrome://inspector/content/jsutil/system/file.js line 184. This patch fixes all
three files to call the remove method instead.
Updated•23 years ago
|
Updated•23 years ago
|
Attachment #102109 -
Flags: review?(sgehani)
| Reporter | ||
Comment 4•23 years ago
|
||
Warning: redeclaration of var ds
Source File: chrome://communicator/content/sidebar/sidebarOverlay.js
Line: 805, Column: 8
Source Code:
var ds = RDF.GetDataSource(sidebarObj.datasource_uri);
| Reporter | ||
Updated•23 years ago
|
Attachment #102109 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #102109 -
Attachment is obsolete: false
Attachment #102109 -
Flags: review?(sgehani) → review?
Comment 5•23 years ago
|
||
I don't understand why my patch is marked obsolete. Line 805 of
sidebarOverlay.js is more than 60 lines from code my patch touches and in a
different function.
Attachment #102109 -
Flags: review? → review?(shliang)
Attachment #102109 -
Flags: review?(shliang) → review+
Updated•23 years ago
|
Attachment #102109 -
Flags: superreview?(brendan)
Comment 6•23 years ago
|
||
Comment on attachment 102109 [details] [diff] [review]
Rename delete method call to remove in all three files
This kind of change can go in without sr= -- it ought to be fixed for 1.4beta,
no?
/be
Attachment #102109 -
Flags: superreview?(brendan) → superreview+
Updated•23 years ago
|
Attachment #102109 -
Flags: approval1.4b?
Comment 7•23 years ago
|
||
Comment on attachment 102109 [details] [diff] [review]
Rename delete method call to remove in all three files
a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #102109 -
Flags: approval1.4b? → approval1.4b+
Updated•23 years ago
|
Attachment #102109 -
Flags: approval1.4b+ → approval1.4+
Comment 8•23 years ago
|
||
Could someone please check this in for me? I don't have cvs access.
Comment 9•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•