Closed Bug 1279754 Opened 8 years ago Closed 7 years ago

Refreshing the page doesn't reset the known selected areas for the Find Toolbar

Categories

(Toolkit :: Find Toolbar, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox50 --- affected

People

(Reporter: bj, Unassigned)

Details

(Keywords: nightly-community, testcase)

Attachments

(2 files)

Steps to reproduce:
1) Load the attached HTML file in a text editor and Nightly.
2) In Nightly search for four spaces with the new Find Toolbar.
3) Delete lines 5 and 6 of the file, save the changes, refresh the web page in Nightly.
4) Press <control-F><Enter>.

Expected result:
* The sections with four spaces in the currently displayed version of the file are highlighted.

Actual result:
* The highlighted (non-dimmed) areas are from the previously displayed version of the page. (See the attached screen shot.)
Attached file The HTML test file
Typing the search string over (instead of control-F,enter from step 4) will cause the match areas to be recalculated.
This problem no longer exists in the current Nightly release.

There is still a problem -- the counts are incorrect after the refresh -- but I would put that in the same category as bug 368742 where the count doesn't change when a link is followed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: