| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 <a>h3Name</a> | 264 <a>h3Name</a> |
| 265 </li> | 265 </li> |
| 266 </ol> | 266 </ol> |
| 267 </li><li> | 267 </li><li> |
| 268 <a href="#overview-examples">Examples</a> | 268 <a href="#overview-examples">Examples</a> |
| 269 <ol> | 269 <ol> |
| 270 <li style="display: none; "> | 270 <li style="display: none; "> |
| 271 <a>h3Name</a> | 271 <a>h3Name</a> |
| 272 </li> | 272 </li> |
| 273 </ol> | 273 </ol> |
| 274 </li><li> |
| 275 <a href="#examples">Examples</a> |
| 276 <ol> |
| 277 <li style="display: none; "> |
| 278 <a>h3Name</a> |
| 279 </li> |
| 280 </ol> |
| 274 </li> | 281 </li> |
| 275 <li> | 282 <li> |
| 276 <a href="#apiReference">API reference: chrome.experimental.devto
ols.resources</a> | 283 <a href="#apiReference">API reference: chrome.experimental.devto
ols.resources</a> |
| 277 <ol> | 284 <ol> |
| 278 <li style="display: none; "> | 285 <li style="display: none; "> |
| 279 <a href="#properties">Properties</a> | 286 <a href="#properties">Properties</a> |
| 280 <ol> | 287 <ol> |
| 281 <li> | 288 <li> |
| 282 <a href="#property-anchor">propertyName</a> | 289 <a href="#property-anchor">propertyName</a> |
| 283 </li> | 290 </li> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 363 |
| 357 <p>The following code logs URLs of all images larger than 40KB as they are | 364 <p>The following code logs URLs of all images larger than 40KB as they are |
| 358 loaded:</p> | 365 loaded:</p> |
| 359 | 366 |
| 360 <pre>chrome.experimental.devtools.resources.onFinished.addListener(function(reso
urce) { | 367 <pre>chrome.experimental.devtools.resources.onFinished.addListener(function(reso
urce) { |
| 361 if (resource.response.bodySize > 40*1024) | 368 if (resource.response.bodySize > 40*1024) |
| 362 experimental.chrome.devtools.log("Large image: " + resource.request.url); | 369 experimental.chrome.devtools.log("Large image: " + resource.request.url); |
| 363 }); | 370 }); |
| 364 </pre> | 371 </pre> |
| 365 | 372 |
| 373 <h2 id="examples">Examples</h2> |
| 374 |
| 375 <p> |
| 376 You can find examples that use this API in |
| 377 <a href="samples.html#devtools.resources">Samples</a>. |
| 378 </p> |
| 379 |
| 366 <!-- END AUTHORED CONTENT --> | 380 <!-- END AUTHORED CONTENT --> |
| 367 </div> | 381 </div> |
| 368 | 382 |
| 369 <!-- API PAGE --> | 383 <!-- API PAGE --> |
| 370 <div class="apiPage"> | 384 <div class="apiPage"> |
| 371 <a name="apiReference"></a> | 385 <a name="apiReference"></a> |
| 372 <h2>API reference: chrome.experimental.devtools.resources</h2> | 386 <h2>API reference: chrome.experimental.devtools.resources</h2> |
| 373 | 387 |
| 374 <!-- PROPERTIES --> | 388 <!-- PROPERTIES --> |
| 375 <div class="apiGroup" style="display: none; "> | 389 <div class="apiGroup" style="display: none; "> |
| (...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 _uff=0; | 1223 _uff=0; |
| 1210 urchinTracker(); | 1224 urchinTracker(); |
| 1211 } | 1225 } |
| 1212 catch(e) {/* urchinTracker not available. */} | 1226 catch(e) {/* urchinTracker not available. */} |
| 1213 </script> | 1227 </script> |
| 1214 <!-- end analytics --> | 1228 <!-- end analytics --> |
| 1215 </div> | 1229 </div> |
| 1216 </div> <!-- /gc-footer --> | 1230 </div> <!-- /gc-footer --> |
| 1217 </div> <!-- /gc-container --> | 1231 </div> <!-- /gc-container --> |
| 1218 </body></html> | 1232 </body></html> |
| OLD | NEW |