Bug 103274

Summary: Web Inspector: Audit-style messages should be somehow separated from the console.
Product: WebKit Reporter: Mike West <mkwst>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, burg, caseq, glenn, keishi, loislo, ojan, pangle, paulirish, pfeldman, pmuellr, timothy, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Mike West 2012-11-26 10:41:23 PST
As we add more and more console messages to educate developers about errors on their pages, we run the risk of overwhelming them. Some examples include:

* incorrect MIME type errors
* Sandbox violations (see bug 103255 for discussion)
* CSS errors (see bug 19236 and (more recently) bug 102750 for discussion)

It would be nice if we were able to present these sorts of errors to developers in a way that encouraged understanding rather than a potentially ignored flood.
Comment 1 Mike West 2012-11-26 10:47:19 PST
+ojan

One short-term change that might help pave the way for this is to mark the messages that we think would make sense to separate out. We could create a new message level, even lower than Tip, and surface a new checkbox on the bottom of the console to display them. It might even make sense not to display them by default. *shrug*

I don't think that's the right longer-term solution, but if there's interest I'll spin off a separate bug for an experiment in that direction.
Comment 2 Ojan Vafai 2012-11-26 10:51:48 PST
I don't have strong opinions on the implementation. I've just been very frustrated as a web developer when I miss JS exceptions in my code because they're hidden in a pile of console warnings that I can't hide.
Comment 3 Mike West 2012-12-27 06:33:42 PST
(In reply to comment #1)
> +ojan
> 
> One short-term change that might help pave the way for this is to mark the messages that we think would make sense to separate out. We could create a new message level, even lower than Tip, and surface a new checkbox on the bottom of the console to display them. It might even make sense not to display them by default. *shrug*

Looks like this was done in https://bugs.webkit.org/show_bug.cgi?id=103781.

caseq, yurys: What do you think about migrating other messages into the Debug level?
Comment 4 Brian Burg 2014-12-01 14:28:05 PST
This work is being revived in the form of different "Analyzer" instances in the current inspector. Tracked here: https://bugs.webkit.org/show_bug.cgi?id=136515