Closed Bug 291265 Opened 19 years ago Closed 19 years ago

strict javascript warnings in findbar.js

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.8final

People

(Reporter: bugzilla, Assigned: whimboo)

References

Details

Attachments

(2 obsolete files)

I'm seeing a lot of strict javascript warnings in findbar.js. They polute my JavaScript console making it harder to find other warnings. Warning: function flashFindBar does not always return a value Source File: chrome://global/content/findBar.js Line: 496 Source Code: } Warning: function onFindAgainCmd does not always return a value Source File: chrome://global/content/findBar.js Line: 530 Source Code: } Warning: function onFindPreviousCmd does not always return a value Source File: chrome://global/content/findBar.js Line: 549 Source Code: }
There's also: Error: document.commandDispatcher.focusedElement.parentNode has no properties Source File: chrome://global/content/findBar.js Line: 289 as mentioned in bug 286885 and bug 273910.
Attached patch patch (obsolete) (deleted) — Splinter Review
Assignee: firefox → jason_barnabe
Status: NEW → ASSIGNED
Attachment #181675 - Flags: review?(gavin.sharp)
Comment on attachment 181675 [details] [diff] [review] patch Looks fine to me, but I'm not a browser peer and therefore can't review. Feel free to CC me on any other strict warning bugs, though. Also, in the future, could you diff from the root of the tree? It makes it easier to apply the patches.
Attachment #181675 - Flags: review?(gavin.sharp) → review?(mconnor)
Attached patch Updated patch (obsolete) (deleted) — Splinter Review
Jason, I've updated your patch against the actual head and with the notes given from Gavin. Hope that's ok for you. I will see that bug fixed hopefully soon.
Attachment #181675 - Attachment is obsolete: true
Attachment #185365 - Flags: review?(bryner)
Attachment #181675 - Flags: review?(mconnor)
Blocks: 296661
Attachment #185365 - Flags: review?(bryner) → review?(benjamin)
Attachment #185365 - Flags: review?(benjamin)
Attachment #185365 - Flags: review+
Attachment #185365 - Flags: approval-aviary1.1a2+
Comment on attachment 185365 [details] [diff] [review] Updated patch mozilla/toolkit/components/typeaheadfind/content/findBar.js 1.11
Attachment #185365 - Attachment is obsolete: true
Assignee: jason_barnabe → hskupin
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Firefox1.5
Product: Firefox → Toolkit
QA Contact: fast.find
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: