[Webkit-unassigned] [Bug 44518] Web Inspector: add audits support to extension API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 07:11:56 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44518
--- Comment #4 from Pavel Feldman <pfeldman at chromium.org> 2010-08-25 07:11:55 PST ---
> webInspector.audit.formatters.url(href, text)
> webInspector.audit.formatters.snippet(text)
> webInspector.audit.formatters.subtree(expanded, root, children) etc.
>
I don't see how this addresses disadvantages pointed out + it does not handle mixed content such as text with links well. I don't see a point in additional 'formatters' object, i'd rather add methods on results:
var result = auditResults.addResult();
result.title = "Leverage browser caching";
result.details = ["See more info %h", ["http://foo", "here"]];
var childResult = result.addChild();
childResult.title = ["Number foo %d", 1];
addResult and addChild can have optional title and details parameters for shorter notation.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list