| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. | 4 templating mechanism. |
| 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
| 7 authored overview content. | 7 authored overview content. |
| 8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
| 9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
| 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 <div id="toc"> | 257 <div id="toc"> |
| 258 <h2>Contents</h2> | 258 <h2>Contents</h2> |
| 259 <ol> | 259 <ol> |
| 260 <li> | 260 <li> |
| 261 <a href="#H2-0">Notes</a> | 261 <a href="#H2-0">Notes</a> |
| 262 <ol> | 262 <ol> |
| 263 <li style="display: none; "> | 263 <li style="display: none; "> |
| 264 <a>h3Name</a> | 264 <a>h3Name</a> |
| 265 </li> | 265 </li> |
| 266 </ol> | 266 </ol> |
| 267 </li><li> |
| 268 <a href="#examples">Examples</a> |
| 269 <ol> |
| 270 <li style="display: none; "> |
| 271 <a>h3Name</a> |
| 272 </li> |
| 273 </ol> |
| 267 </li> | 274 </li> |
| 268 <li> | 275 <li> |
| 269 <a href="#apiReference">API reference: chrome.experimental.devto
ols.audits</a> | 276 <a href="#apiReference">API reference: chrome.experimental.devto
ols.audits</a> |
| 270 <ol> | 277 <ol> |
| 271 <li style="display: none; "> | 278 <li style="display: none; "> |
| 272 <a href="#properties">Properties</a> | 279 <a href="#properties">Properties</a> |
| 273 <ol> | 280 <ol> |
| 274 <li> | 281 <li> |
| 275 <a href="#property-anchor">propertyName</a> | 282 <a href="#property-anchor">propertyName</a> |
| 276 </li> | 283 </li> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 results.Severity.Severe, | 376 results.Severity.Severe, |
| 370 details); | 377 details); |
| 371 results.addResult("Contrast", | 378 results.addResult("Contrast", |
| 372 "Text should stand out from background", | 379 "Text should stand out from background", |
| 373 results.Severity.Info); | 380 results.Severity.Info); |
| 374 }); | 381 }); |
| 375 </pre> | 382 </pre> |
| 376 <p>The audit result tree produced by the snippet above will look like this: | 383 <p>The audit result tree produced by the snippet above will look like this: |
| 377 </p> | 384 </p> |
| 378 <img src="images/devtools-audits-results.png" style="margin-left: 20px" width="3
30" height="169" alt="Audit results example"> | 385 <img src="images/devtools-audits-results.png" style="margin-left: 20px" width="3
30" height="169" alt="Audit results example"> |
| 386 |
| 387 <h2 id="examples">Examples</h2> |
| 388 |
| 389 <p> |
| 390 You can find examples that use this API in |
| 391 <a href="samples.html#devtools.audits">Samples</a>. |
| 392 </p> |
| 379 <!-- END AUTHORED CONTENT --> | 393 <!-- END AUTHORED CONTENT --> |
| 380 </div> | 394 </div> |
| 381 | 395 |
| 382 <!-- API PAGE --> | 396 <!-- API PAGE --> |
| 383 <div class="apiPage"> | 397 <div class="apiPage"> |
| 384 <a name="apiReference"></a> | 398 <a name="apiReference"></a> |
| 385 <h2>API reference: chrome.experimental.devtools.audits</h2> | 399 <h2>API reference: chrome.experimental.devtools.audits</h2> |
| 386 | 400 |
| 387 <!-- PROPERTIES --> | 401 <!-- PROPERTIES --> |
| 388 <div class="apiGroup" style="display: none; "> | 402 <div class="apiGroup" style="display: none; "> |
| (...skipping 2955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3344 _uff=0; | 3358 _uff=0; |
| 3345 urchinTracker(); | 3359 urchinTracker(); |
| 3346 } | 3360 } |
| 3347 catch(e) {/* urchinTracker not available. */} | 3361 catch(e) {/* urchinTracker not available. */} |
| 3348 </script> | 3362 </script> |
| 3349 <!-- end analytics --> | 3363 <!-- end analytics --> |
| 3350 </div> | 3364 </div> |
| 3351 </div> <!-- /gc-footer --> | 3365 </div> <!-- /gc-footer --> |
| 3352 </div> <!-- /gc-container --> | 3366 </div> <!-- /gc-container --> |
| 3353 </body></html> | 3367 </body></html> |
| OLD | NEW |