Closed
Bug 120275
Opened 24 years ago
Closed 24 years ago
javascript strict warnings in charsetOverlay.js
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: bugzilla, Assigned: tetsuroy)
References
Details
Attachments
(1 file)
|
520 bytes,
patch
|
timeless
:
review+
brendan
:
superreview+
|
Details | Diff | Splinter Review |
Warning: redeclaration of var contentArea
Source File: chrome://global/content/charsetOverlay.js
Line: 271, Column: 12
Source Code:
var contentArea = window.document.getElementById("appcontent");
"contentArea" is being defined in:
http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/charsetOve
rlay.js#255
but also being defined in:
http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/charsetOve
rlay.js#271
build 20020115
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Adding patch keyword as I cannot check this in. Note this is a completely safe
patch for 0.9.8, recommend getting a= from one of the drivers.
Keywords: patch
Comment on attachment 65237 [details] [diff] [review]
patch for redeclaration of contentArea strict warning
branch only, weirdal has volunteered to do the right thing for trunk
Attachment #65237 -
Flags: review+
| Assignee | ||
Comment 4•24 years ago
|
||
Alex: Do we really need this for 0.9.8? I am not sure if we can get an approval
from drivers.
Comment 5•24 years ago
|
||
I think it's worth trying.
Here's the problem: We get a strict warning every time we open a browser window
(I'm not sure if it's tab or window), every time we open a mail/news window,
every time we open an Editor window. These strict warnings, combined with the
errors, generate measurable performance hits with warnings disabled in the
prefs, and with warnings enabled, they generate very noticeable perf hits --
given enough of them (100-200), the browser becomes unusuable. Clearing the JS
Console doesn't help there. The perf hit lingers long after the actual warning
or error is thrown.
Comment 6•24 years ago
|
||
a=brendan@mozilla.org for the frozen 0.9.8 trunk, when the tree opens to
approved checkins (we have blockers today).
/be
Blocks: 115520
Keywords: mozilla0.9.8
| Assignee | ||
Comment 7•24 years ago
|
||
alex: Now the tree is open, can you check in? Do you have a write access? If
not, I can do it for you.
Comment 8•24 years ago
|
||
Negative to both -- also, the patch is awaiting an sr=.
I don't know if that's your dept. or not, but that word has not been given yet.
| Assignee | ||
Comment 9•24 years ago
|
||
brendan: do we need /sr for js changes?
If so, then can you give /sr=? thanks
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Comment 10•24 years ago
|
||
Comment on attachment 65237 [details] [diff] [review]
patch for redeclaration of contentArea strict warning
sr=brendan@mozilla.org
Attachment #65237 -
Flags: superreview+
| Assignee | ||
Comment 11•24 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•