Open Bug 1327841 Opened 7 years ago Updated 2 years ago

Findbar highlights irrelevant strings when I disable text highlighting

Categories

(Toolkit :: Find Toolbar, defect)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

Details

(Whiteboard: [delayed-action])

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
0. Copy string "second" to clipboard
1. Open data:text/html,_First_F<br>_Second_S
2. Open findbar, type "_" in findbar, press Ctrl+Enter
3. Press Ctrl+V, then immediately Ctrl+Enter
4.(bonus) Select all text in findbar, type "F", press Ctrl+Enter
5.(bonus) Press Enter or Shift+Enter to switch between results - that won't affect AR

AR:
 After Step 3 button "Highlight all" is inactive, but string "_Second" is highlighted with purple
 After Step 4 second string "F" is highlighted with purple and "_Second" is highlighted with purple
 
ER:  
 After Step 3 no strings should be highlighted with purple.
 After Step 4 the only string highlighted with purple should be the second "F" on the page.


STR_2 (actually the same, but the page is more laggy => easier to reproduce):
0. Copy string "element" to clipboard
1. Open   https://html.spec.whatwg.org/#the-label-element
2. Open findbar, type "label " in findbar, press Ctrl+Enter
3. Press Ctrl+V, then immediately Ctrl+Enter
4.(bonus) Press Backspace several times to delete " element" in findbar, press Ctrl+Enter

AR:
 After Step 3 all strings "label " become non-highlighted, but after a short delay all strings
             "label element" become highlighted.
 After Step 4 additional string "label" is highlighted; all "label elements" are highlighted too
 
ER:  
 After Step 3 no strings should be highlighted with purple.
 After Step 4 the only highlighted strings should be strings "label".
No longer blocks: 1277113
Component: Untriaged → Find Toolbar
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.