Closed
Bug 78320
Opened 24 years ago
Closed 22 years ago
javascript strict warnings and error in urlbarBindings.xml
Categories
(SeaMonkey :: Location Bar, defect, P4)
SeaMonkey
Location Bar
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: bugzilla, Assigned: hewitt)
References
Details
Attachments
(1 file)
542 bytes,
patch
|
Brade
:
review+
jst
:
superreview+
asa
:
approval1.4+
|
Details | Diff | Splinter Review |
after new modern landing:
JavaScript strict warning:
chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup.readRDFS
tring() line 4: function readRDFString does not always return a value
JavaScript strict warning:
chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup.selectBy
() line 9: redeclaration of var sel
marking p4, minor, and mozilla0.9.7
Severity: normal → minor
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → mozilla0.9.7
Merging 79969 with this one, updating summary. 79969 is about a js error in
urlbarBindings.xml:
JavaScript error:
chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup.selectBy()
line 9: this.SelectedIndex has no properties
also reassigning to hewitt
Assignee: pchen → hewitt
Status: ASSIGNED → NEW
Summary: javascript strict warnings in urlbarBindings.xml → javascript strict warnings and errors urlbarBindings.xml
Ooops, sorry for the spam, cleaning up summary. Sure, english is my first
language. ;-)
Summary: javascript strict warnings and errors urlbarBindings.xml → javascript strict warnings and error in urlbarBindings.xml
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Component: XP Apps → URL Bar
Target Milestone: mozilla0.9.7 → mozilla1.0
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → Future
Comment 5•23 years ago
|
||
New one:
Warning: assignment to undeclared variable searchBarUrl
Source File:
chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup.updateEngines()
Line: 25
Comment 6•23 years ago
|
||
Looking at the source code for urlbarBindings.xml, I note two things:
(1) readRDFString() now unconditionally returns something. So that strict
warning is gone.
(2) There is only one instance of "var sel" in the selectBy() function. So
that strict warning is gone as well.
My patch above fixes the only current strict warning in this bug. I'll have to
check on the error.
Comment 7•23 years ago
|
||
Adding patch keyword as I cannot check this patch in after it gets r= and sr=.
Keywords: patch
Comment 8•23 years ago
|
||
I've looked through the source of urlbarBindings.xml again; there is currently
no instance of this.SelectedIndex. There are four instances of
this.selectedIndex, and none of them does the code use to get properties
thereof. So I'd dare to say the error is gone as well.
Updated•23 years ago
|
QA Contact: sairuh → claudius
Reporter | ||
Comment 9•23 years ago
|
||
Haven't seen this for a while. Will reopen if I see it again...
20020117
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 10•23 years ago
|
||
reopen bug for searchBarUrl warning
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 11•23 years ago
|
||
Comment on attachment 63970 [details] [diff] [review]
patch for searchBarUrl strict warning
r=brade
hewitt--please sr= and checkin
Attachment #63970 -
Flags: review+
Comment 12•22 years ago
|
||
sorry, misleading title on bug #165876 which appears more appropriate
Updated•22 years ago
|
Attachment #63970 -
Flags: superreview?(hewitt)
Updated•22 years ago
|
Attachment #63970 -
Flags: superreview?(hewitt) → superreview?
Updated•22 years ago
|
Attachment #63970 -
Flags: superreview? → superreview?(jaggernaut)
Updated•22 years ago
|
Attachment #63970 -
Flags: superreview?(jaggernaut) → superreview?(jst)
Updated•22 years ago
|
Attachment #63970 -
Flags: superreview?(jst) → superreview+
Updated•22 years ago
|
Attachment #63970 -
Flags: approval1.4?
Comment 13•22 years ago
|
||
Comment on attachment 63970 [details] [diff] [review]
patch for searchBarUrl strict warning
a=asa (on behalf of drivers) for checkin to the 1.4 branch.
Attachment #63970 -
Flags: approval1.4? → approval1.4+
Comment 14•22 years ago
|
||
Checked in by timeless on the trunk.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•