OLD | NEW |
1 <p id="classSummary"> | 1 <p> |
2 Use the <code>chrome.experimental.devtools.audits</code> module to add new audit | |
3 categories to Developer Tools' Audit panel. | |
4 </p><p> | |
5 See <a href="experimental.devtools.html">DevTools APIs summary</a> for | 2 See <a href="experimental.devtools.html">DevTools APIs summary</a> for |
6 general introduction to using Developer Tools APIs. | 3 general introduction to using Developer Tools APIs. |
7 </p> | 4 </p> |
8 | 5 |
9 <h2 id="overview">Overview</h2> | 6 <h2 id="overview">Overview</h2> |
10 | 7 |
11 <p> | 8 <p> |
12 Each audit category is represented by a line on <em>Select audits to run</em> | 9 Each audit category is represented by a line on <em>Select audits to run</em> |
13 screen in the Audits panel. The following example adds a category named | 10 screen in the Audits panel. The following example adds a category named |
14 <em>Readability</em>:</p> | 11 <em>Readability</em>:</p> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 </p> | 60 </p> |
64 <img src="{{static}}/images/devtools-audits-results.png" | 61 <img src="{{static}}/images/devtools-audits-results.png" |
65 style="margin-left: 20px" | 62 style="margin-left: 20px" |
66 width="330" height="169" | 63 width="330" height="169" |
67 alt="Audit results example" /> | 64 alt="Audit results example" /> |
68 | 65 |
69 <p> | 66 <p> |
70 You can find more examples that use this API in | 67 You can find more examples that use this API in |
71 <a href="samples.html#devtools.audits">Samples</a>. | 68 <a href="samples.html#devtools.audits">Samples</a>. |
72 </p> | 69 </p> |
OLD | NEW |