Changeset 90355 in webkit
- Timestamp:
- Jul 4, 2011 2:20:15 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r90354 r90355 1 2011-07-04 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: [Extensions API] audit formatter names should begin with create 6 https://bugs.webkit.org/show_bug.cgi?id=63802 7 8 * inspector/extensions/extensions-audits-api-expected.txt: 9 * inspector/extensions/extensions-audits.html: 10 1 11 2011-07-04 Yuta Kitamura <yutak@chromium.org> 2 12 -
trunk/LayoutTests/inspector/extensions/extensions-audits-api-expected.txt
r78535 r90355 14 14 category.onAuditStarted fired, results dump follows: 15 15 { 16 url: <function>17 snippet : <function>18 text : <function>16 createURL : <function> 17 createSnippet : <function> 18 createText : <function> 19 19 addResult : <function> 20 20 createResult : <function> -
trunk/LayoutTests/inspector/extensions/extensions-audits.html
r82713 r90355 17 17 18 18 var node = results.createResult("Subtree"); 19 node.addChild("Some url: ", results. url("http://www.webkit.org", "WebKit"), " more text ", results.url("http://www.google.com"));19 node.addChild("Some url: ", results.createURL("http://www.webkit.org", "WebKit"), " more text ", results.createURL("http://www.google.com")); 20 20 var nestedNode = node.addChild("... and a snippet"); 21 21 nestedNode.expanded = true; 22 nestedNode.addChild(results. snippet("function rand()\n{\n return 4;\n}"));22 nestedNode.addChild(results.createSnippet("function rand()\n{\n return 4;\n}")); 23 23 24 24 results.addResult("Rule with details subtree (1)", "This rule has a lot of details", results.Severity.Warning, node); -
trunk/Source/WebCore/ChangeLog
r90351 r90355 1 2011-07-04 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: [Extensions API] audit formatter names should begin with create 6 https://bugs.webkit.org/show_bug.cgi?id=63802 7 8 * inspector/front-end/ExtensionAPI.js: 9 (WebInspector.injectedExtensionAPI.AuditResultImpl): 10 1 11 2011-07-03 Dominic Cooney <dominicc@chromium.org> 2 12 -
trunk/Source/WebCore/inspector/front-end/ExtensionAPI.js
r87399 r90355 288 288 this._id = id; 289 289 290 var formatterTypes = [ 291 "url", 292 "snippet", 293 "text" 294 ]; 295 for (var i = 0; i < formatterTypes.length; ++i) 296 this[formatterTypes[i]] = bind(this._nodeFactory, null, formatterTypes[i]); 290 this.createURL = bind(this._nodeFactory, null, "url"); 291 this.createSnippet = bind(this._nodeFactory, null, "snippet"); 292 this.createText = bind(this._nodeFactory, null, "text"); 297 293 } 298 294
Note: See TracChangeset
for help on using the changeset viewer.