Bug 86617

Summary: Web Inspector: [Extensions API] expose evaluateOptions in audit formatters
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apavlov, bweinstein, keishi, loislo, pfeldman, pmuellr, rik, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Andrey Kosyakov
Reported 2012-05-16 06:22:14 PDT
This adds evaluateOptions parameter exposed on InspectedWindow.eval() and SidebarPane.setExpression() in r116957 to "node" and "expression" audit formatters. See also bug 86361 and bug 86108.
Attachments
Patch (18.87 KB, patch)
2012-05-16 06:30 PDT, Andrey Kosyakov
pfeldman: review+
Andrey Kosyakov
Comment 1 2012-05-16 06:30:09 PDT
WebKit Review Bot
Comment 2 2012-05-16 06:33:58 PDT
Attachment 142242 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/insp..." exit_code: 1 LayoutTests/platform/gtk/test_expectations.txt:785: Path does not exist. inspector/debugger/snippets-model.html [test/expectations] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Feldman
Comment 3 2012-05-16 07:45:12 PDT
Comment on attachment 142242 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142242&action=review > Source/WebCore/inspector/front-end/AuditFormatters.js:32 > + * @param {*} value Could you whitelist the types? > Source/WebCore/inspector/front-end/AuditFormatters.js:69 > + */ Please do not declare properties on WebInspector. > Source/WebCore/inspector/front-end/AuditFormatters.js:72 > + if (Array.isArray(value)) value instanceof Array > Source/WebCore/inspector/front-end/ExtensionAuditCategory.js:34 > + * @param {*} id * ? > Source/WebCore/inspector/front-end/ExtensionAuditCategory.js:72 > + * @param {function(WebInspector.AuditRuleResult):*} callback no need to declare :*
Andrey Kosyakov
Comment 4 2012-05-16 08:40:37 PDT
Note You need to log in before you can comment on or make changes to this bug.