Closed Bug 291613 Opened 20 years ago Closed 20 years ago

findBar.js uses numbers when it should be using constants

Categories

(Toolkit :: Find Toolbar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8final

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Whiteboard: [patch])

Attachments

(1 file)

findBar.js uses numbers for charCode and keyCode where it ought to be using
constants for better readability.  (I did this in attachment 181606 [details] [diff] [review], but that's
the wrong approach for bug 259454.)
Severity: normal → trivial
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [patch]
Target Milestone: --- → Firefox1.1
Comment on attachment 181645 [details] [diff] [review]
patch

I think you're right about that code chunk being unreachable, but the comment's
fine for now.
Attachment #181645 - Flags: review?(mconnor) → review+
Comment on attachment 181645 [details] [diff] [review]
patch

I was planning to wait on this, but given the delays, I may as well get it in. 
It's pretty low risk, and if it breaks something, it should be pretty obvious.
Attachment #181645 - Flags: approval-aviary1.1a?
Comment on attachment 181645 [details] [diff] [review]
patch

a=asa
Attachment #181645 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Fix checked in to trunk, 2005-04-28 13:51 -0700.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: