Add special chars check for beforeSearchKeyHandler() in the search.js

RESOLVED FIXED in Firefox 4.0b10

Status

Firefox Graveyard
Panorama
P4
normal
RESOLVED FIXED
8 years ago
2 years ago

People

(Reporter: raymondlee, Assigned: masayuki)

Tracking

Trunk
Firefox 4.0b10
Dependency tree / graph

Details

(Whiteboard: [code cleanup])

(Reporter)

Description

8 years ago
+    // Only match reasonable text-like characters for quick search.
+    var key = String.fromCharCode(event.which);
+    // TODO: Also include funky chars
+    if (!key.match(/[A-Z0-9]/) || event.altKey || event.ctrlKey || event.metaKey) 
+     return;
(Reporter)

Updated

8 years ago
Depends on: 592045
Priority: -- → P4
Hardware: x86 → All

Updated

8 years ago
Whiteboard: [code cleanup]
Target Milestone: --- → Future
Depends on: 610821
this will be fixed by bug 610821.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Version: unspecified → Trunk
fixed by bug 610821.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: Future → Firefox 4.0b10
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.