DXR search for text in a specific set of files outputs the entire contents of the matched files

NEW
Unassigned

Status

Webtools
DXR
2 years ago
2 years ago

People

(Reporter: mossop, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox47 affected)

Details

(URL)

(Reporter)

Description

2 years ago
In trying to find all uses of a given JS variable in a set of files DXR is outputting the entire contents of matched files. See the URL for the example.
"OS" isn't long enough to do an accelerated search on; we need at least 3 chars, because we index in trigrams. But we should at least be showing a warning bubble or something. On a related note, I can't get regexp:"[ '\"]OS[ '\"]" to work as a substitute. It complains it can't get a run of 3 chars out of it, but it should be able to.
You need to log in before you can comment on or make changes to this bug.