| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
| 2 <p id="classSummary"> | 2 <p id="classSummary"> |
| 3 Use the <code>chrome.experimental.devtools.audits</code> module to add new audit | 3 Use the <code>chrome.experimental.devtools.audits</code> module to add new audit |
| 4 categories and rules to Developer Tools' Audit panel. | 4 categories and rules to Developer Tools' Audit panel. |
| 5 </p><p> | 5 </p><p> |
| 6 See <a href="experimental.devtools.html">DevTools APIs summary</a> for | 6 See <a href="experimental.devtools.html">DevTools APIs summary</a> for |
| 7 general introduction to using Developer Tools APIs</a>. | 7 general introduction to using Developer Tools APIs</a>. |
| 8 </p> | 8 </p> |
| 9 | 9 |
| 10 <h2>Notes</h2> | 10 <h2>Notes</h2> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "Text should stand out from background", | 55 "Text should stand out from background", |
| 56 results.Severity.Info); | 56 results.Severity.Info); |
| 57 }); | 57 }); |
| 58 </pre> | 58 </pre> |
| 59 <p>The audit result tree produced by the snippet above will look like this: | 59 <p>The audit result tree produced by the snippet above will look like this: |
| 60 </p> | 60 </p> |
| 61 <img src="images/devtools-audits-results.png" | 61 <img src="images/devtools-audits-results.png" |
| 62 style="margin-left: 20px" | 62 style="margin-left: 20px" |
| 63 width="330" height="169" | 63 width="330" height="169" |
| 64 alt="Audit results example" /> | 64 alt="Audit results example" /> |
| 65 |
| 66 <h2 id="examples">Examples</h2> |
| 67 |
| 68 <p> |
| 69 You can find examples that use this API in |
| 70 <a href="samples.html#devtools.audits">Samples</a>. |
| 71 </p> |
| 65 <!-- END AUTHORED CONTENT --> | 72 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |