Closed
Bug 764346
Opened 12 years ago
Closed 12 years ago
Error console filter doesn't match address of source
Categories
(Toolkit Graveyard :: Error Console, defect)
Toolkit Graveyard
Error Console
Tracking
(firefox16 disabled, firefox17 disabled)
RESOLVED
FIXED
mozilla16
People
(Reporter: darktrojan, Assigned: evilpie)
References
Details
Attachments
(2 files)
1.14 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
1.14 KB,
patch
|
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Filtering for 'bugz' on the error console will show the messages that match, but not the CSS warnings about bugzilla. We should test against the address too.
Assignee | ||
Comment 1•12 years ago
|
||
Sure, I can fix this easily. At the moment, I only matched against the actually message (msg) part. One easy catch all solution would be to match against the stringified entry.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → evilpies
Reporter | ||
Comment 2•12 years ago
|
||
I'm not sure, but I don't think we should filter on the line number or timestamp.
Comment 3•12 years ago
|
||
Looking at consoleBindings.xml (http://mxr.mozilla.org/mozilla-central/source/toolkit/components/console/content/consoleBindings.xml#196), I think we should filter on the following: - msg - href - code - line I took a look at what the Web Console searches on and they include the following in attributes in their search (http://mxr.mozilla.org/mozilla-central/source/browser/devtools/webconsole/HUDService.jsm#3945): - aBody - aSourceURL - aSourceLine Note that with the way that the Web Console does their searches, you can also include a ':' in your search filter and get back results even though that character is inserted between the URL and line number.
Assignee | ||
Comment 4•12 years ago
|
||
Wow Jared thank you very much for this deep analysis!
Attachment #633791 -
Flags: review?(jaws)
Comment 5•12 years ago
|
||
Comment on attachment 633791 [details] [diff] [review] Filter on addional attributes Review of attachment 633791 [details] [diff] [review]: ----------------------------------------------------------------- Sorry for not getting to this sooner. I will try to review it tomorrow.
Comment 6•12 years ago
|
||
Comment on attachment 633791 [details] [diff] [review] Filter on addional attributes Review of attachment 633791 [details] [diff] [review]: ----------------------------------------------------------------- Looks good :)
Attachment #633791 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 7•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/16b70566af66
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/16b70566af66
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment 9•12 years ago
|
||
Backed out on Aurora for Firefox 16 because of bug 763821: https://hg.mozilla.org/releases/mozilla-aurora/rev/5e6da3c55e7c
status-firefox16:
--- → disabled
Comment 10•12 years ago
|
||
[Approval Request Comment] Bug caused by (feature/regressing bug #): bug 760951, not ready to ship User impact if declined: error console filters won't work great, need to back this out to back out bug 760951 Testing completed (on m-c, etc.): locally, and backed out on 16-aurora Risk to taking this patch (and alternatives if risky): none expected String or UUID changes made by this patch: none
Attachment #669341 -
Flags: approval-mozilla-beta?
Updated•12 years ago
|
Attachment #669341 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•12 years ago
|
||
Backed out of firefox17-beta because bug 763821 didn't get fixed until firefox18: https://hg.mozilla.org/releases/mozilla-beta/rev/4eaef696723e
status-firefox17:
--- → disabled
Updated•8 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•