Closed Bug 972447 Opened 11 years ago Closed 6 years ago

Allow stricter substring filtering in the console output

Categories

(DevTools :: Console, defect, P3)

30 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: codacodercodacoder, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140127194636 Steps to reproduce: Tried to filter the console output Actual results: Filter found some lines but did not filter out some lines that it should have Expected results: If I enter "X : * :" then ONLY lines containing that exact text should be left visible. Correct? I'm seeing "X : INIT :" included in the output. Note: there are hundreds of lines that contain the rogue text, so the filter is getting close to the right output, but not perfect. I cannot say if it's not displaying lines that it should be displaying - didn't test that.
Should have been more clear - only tested in FF30.
Version: 27 Branch → 30 Branch
Component: Untriaged → Developer Tools: Console
Russ, thanks for your bug report, however I cannot reproduce the bug with Firefox nightlies. Can you please provide more detailed steps to reproduce?
Flags: needinfo?(russgthomas)
Attached image bad-filtering.png
Best I can do is to provide a screenshot. Let me know if this isn't enough.
Flags: needinfo?(russgthomas)
Up-to-date Firefox nightly (Linux): https://i.imgur.com/3IPVUkW.png - works for me. You can see the messages I added to the console in the scratchpad window. Maybe this is a windows-only bug. Paul, can you please try to repro this bug? Thanks!
Flags: needinfo?(paul.silaghi)
Mihai: notice in my image that the errant line has "initQueryCache" following the " * ". please test with that combination. Aside: While I was checking my latest nightly I got this https://crash-stats.mozilla.com/report/index/15e84a3a-5d34-44c9-a996-8cff82140225 - unrelated, I think.
(In reply to Russ from comment #5) > Mihai: notice in my image that the errant line has "initQueryCache" > following the " * ". please test with that combination. Eh, I missed that. Whatever you type is a bunch of words. Messages are displayed if any of the word you type matches in the message. We do substring matching, so initQuery matches INIT. This is working as expected. > Aside: While I was checking my latest nightly I got this > https://crash-stats.mozilla.com/report/index/15e84a3a-5d34-44c9-a996- > 8cff82140225 - unrelated, I think. Unrelated indeed, it is a JS JIT crasher. Maybe you should file a bug report for this.
Flags: needinfo?(paul.silaghi)
That (IMO) is a poor choice of algorithm... oh well. Thanks anyway.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Priority: -- → P3
Hardware: x86_64 → All
Summary: DevTools Console Filter not working correctly → Allow stricter substring filtering in the console output
Product: Firefox → DevTools

This was probably fixed when we made the new frontend.

Status: NEW → RESOLVED
Closed: 6 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: