Closed Bug 512055 Opened 15 years ago Closed 14 years ago

Prism Text Search goes backwards (Next/F3 goes up instead of down through the document)

Categories

(Mozilla Labs :: Prism, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: miahzmiahz+bmo, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Prism/1.0b2

Text searching cycles backwards through the matches on the page.  Hit F3 or the Next button in the text search bar, and it jumps to the previous match, not the next.

Reproducible: Always

Steps to Reproduce:
1. Start typing or hit Ctrl/Cmd-F and type something
2. Hit F3 or click the Next button

Actual Results:  
The Previous text match is highlighted instead of the Next
This is because the arguments to onFindAgainCommand are backwards in webrunner.js. I applied the following patch and rebuilt and everything seems to work correctly.
Thanks for this. Please flag me for review and I'll get this checked in.
Attachment #431564 - Flags: review?(matthew.gertner)
Attachment #431564 - Flags: review?(matthew.gertner) → review+
Sending        chrome/content/webrunner.js
Transmitting file data .
Committed revision 64705.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: