Closed Bug 1343015 Opened 7 years ago Closed 7 years ago

[debugger] Wrong number of search results or no matches despite text in source code if capitalization doesn't match

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aryx, Unassigned)

References

Details

Latest Firefox 54.0a1 and 53.0a2 on Windows 8.1

Steps to reproduce:
1. Open https://www.anaesthetist.com/mnm/javascript/calc.htm
2. Select the only file as source.
3. If search in source file isn't active yet, hit Ctrl+F.
4. Type |rec|
Actual result: UI claims 3 matches. Press Enter to go to the second match and once more Enter to see "3 of 3", but you are back to the first one.
5. Add |o| to |rec|, so you search for |reco|.
Actual result: No matches found, put there are obviously the two matches from 4.

This seems to occur if the search term doesn't follow the capitalization in the source code.
This was fixed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1344294
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
:aryx we're tracking the work in github github.com/devtools-html/debugger.html/. 

Here is a list of bugs for EditorSearch: https://github.com/devtools-html/debugger.html/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20editorsearch
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.