Home | History | Annotate | Download | only in docs
      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
      3        across api docs and should be edited only with knowledge of the
      4        templating mechanism.
      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
      7        authored overview content.
      8     4) The <body>.innerHTML is also generated by an offline step so that this
      9        page may easily be indexed by search engines.
     10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
     11     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     12     <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
     13     <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
     14     <script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js">
     15     </script>
     16     <script type="text/javascript" src="js/api_page_generator.js"></script>
     17     <script type="text/javascript" src="js/bootstrap.js"></script>
     18     <script type="text/javascript" src="js/sidebar.js"></script>
     19   <title>experimental.webInspector.audits - Google Chrome Extensions - Google Code</title></head>
     20   <body>  <div id="gc-container" class="labs">
     21       <div id="devModeWarning">
     22         You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
     23       </div>
     24       <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
     25       <!-- In particular, sub-templates that recurse, must be used by allowing
     26            jstemplate to make a copy of the template in this section which
     27            are not operated on by way of the jsskip="true" -->
     28       <div style="display:none">
     29 
     30         <!-- VALUE -->
     31         <div id="valueTemplate">
     32           <dt>
     33             <var>paramName</var>
     34               <em>
     35 
     36                 <!-- TYPE -->
     37                 <div style="display:inline">
     38                   (
     39                     <span class="optional">optional</span>
     40                     <span class="enum">enumerated</span>
     41                     <span id="typeTemplate">
     42                       <span>
     43                         <a> Type</a>
     44                       </span>
     45                       <span>
     46                         <span>
     47                           array of <span><span></span></span>
     48                         </span>
     49                         <span>paramType</span>
     50                         <span></span>
     51                       </span>
     52                     </span>
     53                   )
     54                 </div>
     55 
     56               </em>
     57           </dt>
     58           <dd class="todo">
     59             Undocumented.
     60           </dd>
     61           <dd>
     62             Description of this parameter from the json schema.
     63           </dd>
     64           <dd>
     65             This parameter was added in version
     66             <b><span></span></b>.
     67             You must omit this parameter in earlier versions,
     68             and you may omit it in any version.  If you require this
     69             parameter, the manifest key
     70             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
     71             can ensure that your extension won't be run in an earlier browser version.
     72           </dd>
     73 
     74           <!-- OBJECT PROPERTIES -->
     75           <dd>
     76             <dl>
     77               <div>
     78                 <div>
     79                 </div>
     80               </div>
     81             </dl>
     82           </dd>
     83 
     84           <!-- OBJECT METHODS -->
     85           <dd>
     86             <div></div>
     87           </dd>
     88 
     89           <!-- OBJECT EVENT FIELDS -->
     90           <dd>
     91             <div></div>
     92           </dd>
     93 
     94           <!-- FUNCTION PARAMETERS -->
     95           <dd>
     96             <div></div>
     97           </dd>
     98 
     99         </div> <!-- /VALUE -->
    100 
    101         <div id="functionParametersTemplate">
    102           <h5>Parameters</h5>
    103           <dl>
    104             <div>
    105               <div>
    106               </div>
    107             </div>
    108           </dl>
    109         </div>
    110       </div> <!-- /SUBTEMPLATES -->
    111 
    112   <a id="top"></a>
    113     <div id="skipto">
    114       <a href="#gc-pagecontent">Skip to page content</a>
    115       <a href="#gc-toc">Skip to main navigation</a>
    116     </div>
    117     <!-- API HEADER -->
    118     <table id="header" width="100%" cellspacing="0" border="0">
    119       <tbody><tr>
    120         <td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td>
    121         <td valign="middle" width="100%" style="padding-left:0.6em;">
    122           <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
    123             <div id="gsc-search-box">
    124               <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
    125               <input type="hidden" name="ie" value="UTF-8">
    126               <input type="text" name="q" value="" size="55">
    127               <input class="gsc-search-button" type="submit" name="sa" value="Search">
    128               <br>
    129               <span class="greytext">e.g. "page action" or "tabs"</span>
    130             </div>
    131           </form>
    132 
    133           <script type="text/javascript" src="http://www.google.com/jsapi"></script>
    134           <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
    135           <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script>
    136           <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
    137         </td>
    138       </tr>
    139     </tbody></table>
    140 
    141     <div id="codesiteContent" class="">
    142 
    143       <a id="gc-topnav-anchor"></a>
    144       <div id="gc-topnav">
    145         <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1>
    146         <ul id="home" class="gc-topnav-tabs">
    147           <li id="home_link">
    148             <a href="index.html" title="Google Chrome Extensions home page">Home</a>
    149           </li>
    150           <li id="docs_link">
    151             <a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a>
    152           </li>
    153           <li id="faq_link">
    154             <a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a>
    155           </li>
    156           <li id="samples_link">
    157             <a href="samples.html" title="Sample extensions (with source code)">Samples</a>
    158           </li>
    159           <li id="group_link">
    160             <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a>
    161           </li>
    162         </ul>
    163       </div> <!-- end gc-topnav -->
    164 
    165     <div class="g-section g-tpl-170">
    166       <!-- SIDENAV -->
    167       <div class="g-unit g-first" id="gc-toc">
    168         <ul>
    169           <li><a href="getstarted.html">Getting Started</a></li>
    170           <li><a href="overview.html">Overview</a></li>
    171           <li><a href="whats_new.html">What's New?</a></li>
    172           <li><h2><a href="devguide.html">Developer's Guide</a></h2>
    173             <ul>
    174               <li>Browser UI
    175                 <ul>
    176                   <li><a href="browserAction.html">Browser Actions</a></li>
    177                   <li><a href="contextMenus.html">Context Menus</a></li>
    178                   <li><a href="notifications.html">Desktop Notifications</a></li>
    179                   <li><a href="omnibox.html">Omnibox</a></li>
    180                   <li><a href="options.html">Options Pages</a></li>
    181                   <li><a href="override.html">Override Pages</a></li>
    182                   <li><a href="pageAction.html">Page Actions</a></li>
    183                 </ul>
    184               </li>
    185               <li>Browser Interaction
    186                 <ul>
    187                   <li><a href="bookmarks.html">Bookmarks</a></li>
    188                   <li><a href="cookies.html">Cookies</a></li>
    189                   <li><a href="events.html">Events</a></li>
    190                   <li><a href="history.html">History</a></li>
    191                   <li><a href="management.html">Management</a></li>
    192                   <li><a href="tabs.html">Tabs</a></li>
    193                   <li><a href="windows.html">Windows</a></li>
    194                 </ul>
    195               </li>
    196               <li>Implementation
    197                 <ul>
    198                   <li><a href="a11y.html">Accessibility</a></li>
    199                   <li><a href="background_pages.html">Background Pages</a></li>
    200                   <li><a href="content_scripts.html">Content Scripts</a></li>
    201                   <li><a href="xhr.html">Cross-Origin XHR</a></li>
    202                   <li><a href="idle.html">Idle</a></li>
    203                   <li><a href="i18n.html">Internationalization</a></li>
    204                   <li><a href="messaging.html">Message Passing</a></li>
    205                   <li><a href="npapi.html">NPAPI Plugins</a></li>
    206                 </ul>
    207               </li>
    208               <li>Finishing
    209                 <ul>
    210                   <li><a href="hosting.html">Hosting</a></li>
    211                   <li><a href="external_extensions.html">Other Deployment Options</a></li>
    212                 </ul>
    213               </li>
    214             </ul>
    215           </li>
    216           <li><h2><a href="apps.html">Packaged Apps</a></h2></li>
    217           <li><h2><a href="tutorials.html">Tutorials</a></h2>
    218             <ul>
    219               <li><a href="tut_debugging.html">Debugging</a></li>
    220               <li><a href="tut_analytics.html">Google Analytics</a></li>
    221               <li><a href="tut_oauth.html">OAuth</a></li>
    222             </ul>
    223           </li>
    224           <li><h2>Reference</h2>
    225             <ul>
    226               <li>Formats
    227                 <ul>
    228                   <li><a href="manifest.html">Manifest Files</a></li>
    229                   <li><a href="match_patterns.html">Match Patterns</a></li>
    230                 </ul>
    231               </li>
    232               <li><a href="permission_warnings.html">Permission Warnings</a></li>
    233               <li><a href="api_index.html">chrome.* APIs</a></li>
    234               <li><a href="api_other.html">Other APIs</a></li>
    235             </ul>
    236           </li>
    237           <li><h2><a href="samples.html">Samples</a></h2></li>
    238           <div class="line"> </div>
    239           <li><h2>More</h2>
    240             <ul>
    241               <li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li>
    242               <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li>
    243               <li><a href="themes.html">Themes</a></li>
    244             </ul>
    245           </li>
    246         </ul>
    247       </div>
    248       <script>
    249         initToggles();
    250       </script>
    251 
    252     <div class="g-unit" id="gc-pagecontent">
    253       <div id="pageTitle">
    254         <h1 class="page_title">experimental.webInspector.audits</h1>
    255       </div>
    256         <!-- TABLE OF CONTENTS -->
    257         <div id="toc">
    258           <h2>Contents</h2>
    259           <ol>
    260             <li>
    261               <a href="#H2-0">Notes</a>
    262               <ol>
    263                 <li style="display: none; ">
    264                   <a>h3Name</a>
    265                 </li>
    266               </ol>
    267             </li>
    268               <li>
    269                 <a href="#apiReference">API reference: experimental.webInspector.audits</a>
    270                 <ol>
    271                   <li style="display: none; ">
    272                     <a href="#properties">Properties</a>
    273                     <ol>
    274                       <li>
    275                         <a href="#property-anchor">propertyName</a>
    276                       </li>
    277                     </ol>
    278                   </li>
    279                   <li>
    280                     <a href="#global-methods">Methods</a>
    281                     <ol>
    282                       <li>
    283                         <a href="#method-addCategory">addCategory</a>
    284                       </li>
    285                     </ol>
    286                   </li>
    287                   <li style="display: none; ">
    288                     <a>Events</a>
    289                     <ol>
    290                       <li>
    291                         <a href="#event-anchor">eventName</a>
    292                       </li>
    293                     </ol>
    294                   </li>
    295                   <li>
    296                     <a href="#types">Types</a>
    297                     <ol>
    298                       <li>
    299                         <a href="#type-AuditCategory">AuditCategory</a>
    300                       </li><li>
    301                         <a href="#type-FormattedValue">FormattedValue</a>
    302                       </li><li>
    303                         <a href="#type-AuditResults">AuditResults</a>
    304                       </li><li>
    305                         <a href="#type-AuditResultNode">AuditResultNode</a>
    306                       </li><li>
    307                         <a href="#type-AuditResultSeverity">AuditResultSeverity</a>
    308                       </li>
    309                     </ol>
    310                   </li>
    311                 </ol>
    312               </li>
    313           </ol>
    314         </div>
    315         <!-- /TABLE OF CONTENTS -->
    316 
    317         <!-- Standard content lead-in for experimental API pages -->
    318         <p id="classSummary" style="display: none; ">
    319           For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page.
    320         </p>
    321 
    322         <!-- STATIC CONTENT PLACEHOLDER -->
    323         <div id="static"><!-- BEGIN AUTHORED CONTENT -->
    324 <p id="classSummary">
    325 Use the <code>experimental.webInspector.audits</code> module to add new audit
    326 categories and rules to WebInspector's Audit panel.
    327 </p><p>
    328 See <a href="experimental.webInspector.html">WebInspector API summary</a> for
    329 general introduction to using WebInspector API.
    330 </p>
    331 
    332 <a name="H2-0"></a><h2>Notes</h2>
    333 
    334 <p>
    335 Each audit category is represented by a line on <em>Select audits to run</em>
    336 screen in the Audits panel. The following example adds a category named
    337 <em>Readability</em>:</p>
    338 <pre>var category = webInspector.audits.addCategory("Readability", 2);
    339 </pre>
    340 <img src="images/devtools-audits-category.png" style="margin-left: 20px" width="489" height="342" alt="Extension audit category on the launch screen of Audits panel">
    341 <p>
    342 If the category's checkbox is checked, the <code>onAuditStarted</code> event of
    343 that category will be fired when user clicks the <em>Run</em> button.
    344 </p>
    345 <p>The event handler in your extension receives <code>AuditResults</code>
    346 as an argument and should add one or more results using <code>addResult()</code>
    347 method. This may be done asynchronously, i.e. after the handler returns. The
    348 run of the category is considered to be complete once the extension adds the
    349 number of results declared when adding the  category with
    350 <code>experimental.webInspector.audits.addCategory()</code> or
    351 calls AuditResult's <code>done()</code> method.
    352 </p>
    353 <p>The results may include additional details visualized as an expandable
    354 tree by the Audits panel. You may build the details tree using
    355 <code>createResult()</code> and <code>addChild()</code> methods. The child node
    356 may include specially formatted fragments created by
    357 <code>auditResults.snippet()</code> or <code>auditResults.url()</code>.
    358 </p>
    359 The following example adds a handler for onAuditStarted event that creates two
    360 audit results and populates one of them with the additional details:
    361 
    362 <pre>category.onAuditStarted.addListener(function(results) {
    363   var details = results.createResult("Details...");
    364   var styles = details.addChild("2 styles with small font");
    365   var elements = details.addChild("3 elements with small font");
    366 
    367   results.addResult("Font Size (5)",
    368       "5 elements use font size below 10pt",
    369       results.Severity.Severe,
    370       details);
    371   results.addResult("Contrast",
    372                     "Text should stand out from background",
    373                     results.Severity.Info);
    374 });
    375 </pre>
    376 <p>The audit result tree produced by the snippet above will look like this:
    377 </p>
    378 <img src="images/devtools-audits-results.png" style="margin-left: 20px" width="330" height="169" alt="Audit results example">
    379 <!-- END AUTHORED CONTENT -->
    380 </div>
    381 
    382         <!-- API PAGE -->
    383         <div class="apiPage">
    384         <a name="apiReference"></a>
    385         <h2>API reference: experimental.webInspector.audits</h2>
    386 
    387           <!-- PROPERTIES -->
    388           <div class="apiGroup" style="display: none; ">
    389             <a name="properties"></a>
    390             <h3 id="properties">Properties</h3>
    391 
    392             <div>
    393               <a></a>
    394               <h4>getLastError</h4>
    395               <div class="summary">
    396                 <!-- Note: intentionally longer 80 columns -->
    397                 <span>chrome.extension</span><span>lastError</span>
    398               </div>
    399               <div>
    400               </div>
    401             </div>
    402 
    403           </div> <!-- /apiGroup -->
    404 
    405           <!-- METHODS -->
    406           <div id="methodsTemplate" class="apiGroup">
    407             <a name="global-methods"></a>
    408             <h3>Methods</h3>
    409 
    410             <!-- iterates over all functions -->
    411             <div class="apiItem">
    412               <a name="method-addCategory"></a> <!-- method-anchor -->
    413               <h4>addCategory</h4>
    414 
    415               <div class="summary"><span>AuditCategory</span>
    416                   <!-- Note: intentionally longer 80 columns -->
    417                   <span>experimental.webInspector.audits.addCategory</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
    418                       <var><span>displayName</span></var></span><span class="null"><span>, </span><span>number</span>
    419                       <var><span>resultCount</span></var></span>)</div>
    420 
    421               <div class="description">
    422                 <p class="todo" style="display: none; ">Undocumented.</p>
    423                 <p>Adds an audit category.</p>
    424 
    425                 <!-- PARAMETERS -->
    426                 <h4>Parameters</h4>
    427                 <dl>
    428                   <div>
    429                     <div>
    430           <dt>
    431             <var>displayName</var>
    432               <em>
    433 
    434                 <!-- TYPE -->
    435                 <div style="display:inline">
    436                   (
    437                     <span class="optional" style="display: none; ">optional</span>
    438                     <span class="enum" style="display: none; ">enumerated</span>
    439                     <span id="typeTemplate">
    440                       <span style="display: none; ">
    441                         <a> Type</a>
    442                       </span>
    443                       <span>
    444                         <span style="display: none; ">
    445                           array of <span><span></span></span>
    446                         </span>
    447                         <span>string</span>
    448                         <span style="display: none; "></span>
    449                       </span>
    450                     </span>
    451                   )
    452                 </div>
    453 
    454               </em>
    455           </dt>
    456           <dd class="todo" style="display: none; ">
    457             Undocumented.
    458           </dd>
    459           <dd>A display name for the category</dd>
    460           <dd style="display: none; ">
    461             This parameter was added in version
    462             <b><span></span></b>.
    463             You must omit this parameter in earlier versions,
    464             and you may omit it in any version.  If you require this
    465             parameter, the manifest key
    466             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    467             can ensure that your extension won't be run in an earlier browser version.
    468           </dd>
    469 
    470           <!-- OBJECT PROPERTIES -->
    471           <dd style="display: none; ">
    472             <dl>
    473               <div>
    474                 <div>
    475                 </div>
    476               </div>
    477             </dl>
    478           </dd>
    479 
    480           <!-- OBJECT METHODS -->
    481           <dd style="display: none; ">
    482             <div></div>
    483           </dd>
    484 
    485           <!-- OBJECT EVENT FIELDS -->
    486           <dd style="display: none; ">
    487             <div></div>
    488           </dd>
    489 
    490           <!-- FUNCTION PARAMETERS -->
    491           <dd style="display: none; ">
    492             <div></div>
    493           </dd>
    494 
    495         </div>
    496                   </div><div>
    497                     <div>
    498           <dt>
    499             <var>resultCount</var>
    500               <em>
    501 
    502                 <!-- TYPE -->
    503                 <div style="display:inline">
    504                   (
    505                     <span class="optional" style="display: none; ">optional</span>
    506                     <span class="enum" style="display: none; ">enumerated</span>
    507                     <span id="typeTemplate">
    508                       <span style="display: none; ">
    509                         <a> Type</a>
    510                       </span>
    511                       <span>
    512                         <span style="display: none; ">
    513                           array of <span><span></span></span>
    514                         </span>
    515                         <span>number</span>
    516                         <span style="display: none; "></span>
    517                       </span>
    518                     </span>
    519                   )
    520                 </div>
    521 
    522               </em>
    523           </dt>
    524           <dd class="todo" style="display: none; ">
    525             Undocumented.
    526           </dd>
    527           <dd>The expected number of audit results in the category.</dd>
    528           <dd style="display: none; ">
    529             This parameter was added in version
    530             <b><span></span></b>.
    531             You must omit this parameter in earlier versions,
    532             and you may omit it in any version.  If you require this
    533             parameter, the manifest key
    534             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    535             can ensure that your extension won't be run in an earlier browser version.
    536           </dd>
    537 
    538           <!-- OBJECT PROPERTIES -->
    539           <dd style="display: none; ">
    540             <dl>
    541               <div>
    542                 <div>
    543                 </div>
    544               </div>
    545             </dl>
    546           </dd>
    547 
    548           <!-- OBJECT METHODS -->
    549           <dd style="display: none; ">
    550             <div></div>
    551           </dd>
    552 
    553           <!-- OBJECT EVENT FIELDS -->
    554           <dd style="display: none; ">
    555             <div></div>
    556           </dd>
    557 
    558           <!-- FUNCTION PARAMETERS -->
    559           <dd style="display: none; ">
    560             <div></div>
    561           </dd>
    562 
    563         </div>
    564                   </div>
    565                 </dl>
    566 
    567                 <!-- RETURNS -->
    568                 <h4>Returns</h4>
    569                 <dl>
    570                   <div>
    571                     <div>
    572           <dt>
    573             <var style="display: none; ">paramName</var>
    574               <em>
    575 
    576                 <!-- TYPE -->
    577                 <div style="display:inline">
    578                   (
    579                     <span class="optional" style="display: none; ">optional</span>
    580                     <span class="enum" style="display: none; ">enumerated</span>
    581                     <span id="typeTemplate">
    582                       <span>
    583                         <a href="experimental.webInspector.audits.html#type-AuditCategory">AuditCategory</a>
    584                       </span>
    585                       <span style="display: none; ">
    586                         <span>
    587                           array of <span><span></span></span>
    588                         </span>
    589                         <span>paramType</span>
    590                         <span></span>
    591                       </span>
    592                     </span>
    593                   )
    594                 </div>
    595 
    596               </em>
    597           </dt>
    598           <dd class="todo">
    599             Undocumented.
    600           </dd>
    601           <dd style="display: none; ">
    602             Description of this parameter from the json schema.
    603           </dd>
    604           <dd style="display: none; ">
    605             This parameter was added in version
    606             <b><span></span></b>.
    607             You must omit this parameter in earlier versions,
    608             and you may omit it in any version.  If you require this
    609             parameter, the manifest key
    610             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    611             can ensure that your extension won't be run in an earlier browser version.
    612           </dd>
    613 
    614           <!-- OBJECT PROPERTIES -->
    615           <dd style="display: none; ">
    616             <dl>
    617               <div>
    618                 <div>
    619                 </div>
    620               </div>
    621             </dl>
    622           </dd>
    623 
    624           <!-- OBJECT METHODS -->
    625           <dd style="display: none; ">
    626             <div></div>
    627           </dd>
    628 
    629           <!-- OBJECT EVENT FIELDS -->
    630           <dd style="display: none; ">
    631             <div></div>
    632           </dd>
    633 
    634           <!-- FUNCTION PARAMETERS -->
    635           <dd style="display: none; ">
    636             <div></div>
    637           </dd>
    638 
    639         </div>
    640                   </div>
    641                 </dl>
    642 
    643                 <!-- CALLBACK -->
    644                 <div style="display: none; ">
    645                   <div>
    646                   <h4>Callback function</h4>
    647                   <p>
    648                     The callback <em>parameter</em> should specify a function
    649                     that looks like this:
    650                   </p>
    651                   <p>
    652                     If you specify the <em>callback</em> parameter, it should
    653                     specify a function that looks like this:
    654                   </p>
    655 
    656                   <!-- Note: intentionally longer 80 columns -->
    657                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
    658                   <dl>
    659                     <div>
    660                       <div>
    661                       </div>
    662                     </div>
    663                   </dl>
    664                   </div>
    665                 </div>
    666 
    667                 <!-- MIN_VERSION -->
    668                 <p style="display: none; ">
    669                   This function was added in version <b><span></span></b>.
    670                   If you require this function, the manifest key
    671                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    672                   can ensure that your extension won't be run in an earlier browser version.
    673                 </p>
    674               </div> <!-- /description -->
    675 
    676             </div>  <!-- /apiItem -->
    677 
    678           </div>  <!-- /apiGroup -->
    679 
    680           <!-- EVENTS -->
    681           <div id="eventsTemplate" class="apiGroup" style="display: none; ">
    682             <a></a>
    683             <h3>Events</h3>
    684             <!-- iterates over all events -->
    685             <div class="apiItem">
    686               <a></a>
    687               <h4>event name</h4>
    688 
    689               <div class="summary">
    690                 <!-- Note: intentionally longer 80 columns -->
    691                 <span class="subdued">chrome.bookmarks</span><span>onEvent</span><span class="subdued">.addListener</span>(function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>);
    692               </div>
    693 
    694               <div class="description">
    695                 <p class="todo">Undocumented.</p>
    696                 <p>
    697                   A description from the json schema def of the event goes here.
    698                 </p>
    699 
    700                 <!-- PARAMETERS -->
    701                 <div>
    702                   <h4>Parameters</h4>
    703                   <dl>
    704                     <div>
    705                       <div>
    706                       </div>
    707                     </div>
    708                   </dl>
    709                 </div>
    710               </div> <!-- /decription -->
    711 
    712             </div> <!-- /apiItem -->
    713 
    714           </div> <!-- /apiGroup -->
    715 
    716           <!-- TYPES -->
    717           <div class="apiGroup">
    718             <a name="types"></a>
    719             <h3 id="types">Types</h3>
    720 
    721             <!-- iterates over all types -->
    722             <div class="apiItem">
    723               <a name="type-AuditCategory"></a>
    724               <h4>AuditCategory</h4>
    725 
    726               <div>
    727           <dt>
    728             <var style="display: none; ">paramName</var>
    729               <em>
    730 
    731                 <!-- TYPE -->
    732                 <div style="display:inline">
    733                   (
    734                     <span class="optional" style="display: none; ">optional</span>
    735                     <span class="enum" style="display: none; ">enumerated</span>
    736                     <span id="typeTemplate">
    737                       <span style="display: none; ">
    738                         <a> Type</a>
    739                       </span>
    740                       <span>
    741                         <span style="display: none; ">
    742                           array of <span><span></span></span>
    743                         </span>
    744                         <span>object</span>
    745                         <span style="display: none; "></span>
    746                       </span>
    747                     </span>
    748                   )
    749                 </div>
    750 
    751               </em>
    752           </dt>
    753           <dd class="todo" style="display: none; ">
    754             Undocumented.
    755           </dd>
    756           <dd>A set of audit rules</dd>
    757           <dd style="display: none; ">
    758             This parameter was added in version
    759             <b><span></span></b>.
    760             You must omit this parameter in earlier versions,
    761             and you may omit it in any version.  If you require this
    762             parameter, the manifest key
    763             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    764             can ensure that your extension won't be run in an earlier browser version.
    765           </dd>
    766 
    767           <!-- OBJECT PROPERTIES -->
    768           <dd style="display: none; ">
    769             <dl>
    770               <div>
    771                 <div>
    772                 </div>
    773               </div>
    774             </dl>
    775           </dd>
    776 
    777           <!-- OBJECT METHODS -->
    778           <dd style="display: none; ">
    779             <div></div>
    780           </dd>
    781 
    782           <!-- OBJECT EVENT FIELDS -->
    783           <dd>
    784             <div class="apiGroup" style="">
    785             <a name="global-AuditCategory-events"></a>
    786             <h3>Events of AuditCategory</h3>
    787             <!-- iterates over all events -->
    788             <div class="apiItem">
    789               <a name="event-AuditCategory-onAuditStarted"></a>
    790               <h4>onAuditStarted</h4>
    791 
    792               <div class="summary">
    793                 <!-- Note: intentionally longer 80 columns -->
    794                 <span class="subdued">auditCategory.</span><span>onAuditStarted</span><span class="subdued">.addListener</span>(function(<span>AuditResults results</span>) <span class="subdued">{...}</span>);
    795               </div>
    796 
    797               <div class="description">
    798                 <p class="todo" style="display: none; ">Undocumented.</p>
    799                 <p>Fired when the audit is started, if the category is enabled -- the extension is expected to begin executing audit rules.</p>
    800 
    801                 <!-- PARAMETERS -->
    802                 <div>
    803                   <h4>Parameters</h4>
    804                   <dl>
    805                     <div>
    806                       <div>
    807           <dt>
    808             <var>results</var>
    809               <em>
    810 
    811                 <!-- TYPE -->
    812                 <div style="display:inline">
    813                   (
    814                     <span class="optional" style="display: none; ">optional</span>
    815                     <span class="enum" style="display: none; ">enumerated</span>
    816                     <span id="typeTemplate">
    817                       <span>
    818                         <a href="experimental.webInspector.audits.html#type-AuditResults">AuditResults</a>
    819                       </span>
    820                       <span style="display: none; ">
    821                         <span>
    822                           array of <span><span></span></span>
    823                         </span>
    824                         <span>paramType</span>
    825                         <span></span>
    826                       </span>
    827                     </span>
    828                   )
    829                 </div>
    830 
    831               </em>
    832           </dt>
    833           <dd class="todo">
    834             Undocumented.
    835           </dd>
    836           <dd style="display: none; ">
    837             Description of this parameter from the json schema.
    838           </dd>
    839           <dd style="display: none; ">
    840             This parameter was added in version
    841             <b><span></span></b>.
    842             You must omit this parameter in earlier versions,
    843             and you may omit it in any version.  If you require this
    844             parameter, the manifest key
    845             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    846             can ensure that your extension won't be run in an earlier browser version.
    847           </dd>
    848 
    849           <!-- OBJECT PROPERTIES -->
    850           <dd style="display: none; ">
    851             <dl>
    852               <div>
    853                 <div>
    854                 </div>
    855               </div>
    856             </dl>
    857           </dd>
    858 
    859           <!-- OBJECT METHODS -->
    860           <dd style="display: none; ">
    861             <div></div>
    862           </dd>
    863 
    864           <!-- OBJECT EVENT FIELDS -->
    865           <dd style="display: none; ">
    866             <div></div>
    867           </dd>
    868 
    869           <!-- FUNCTION PARAMETERS -->
    870           <dd style="display: none; ">
    871             <div></div>
    872           </dd>
    873 
    874         </div>
    875                     </div>
    876                   </dl>
    877                 </div>
    878               </div> <!-- /decription -->
    879 
    880             </div> <!-- /apiItem -->
    881 
    882           </div>
    883           </dd>
    884 
    885           <!-- FUNCTION PARAMETERS -->
    886           <dd style="display: none; ">
    887             <div></div>
    888           </dd>
    889 
    890         </div>
    891 
    892             </div><div class="apiItem">
    893               <a name="type-FormattedValue"></a>
    894               <h4>FormattedValue</h4>
    895 
    896               <div>
    897           <dt>
    898             <var style="display: none; ">paramName</var>
    899               <em>
    900 
    901                 <!-- TYPE -->
    902                 <div style="display:inline">
    903                   (
    904                     <span class="optional" style="display: none; ">optional</span>
    905                     <span class="enum" style="display: none; ">enumerated</span>
    906                     <span id="typeTemplate">
    907                       <span style="display: none; ">
    908                         <a> Type</a>
    909                       </span>
    910                       <span>
    911                         <span style="display: none; ">
    912                           array of <span><span></span></span>
    913                         </span>
    914                         <span>object</span>
    915                         <span style="display: none; "></span>
    916                       </span>
    917                     </span>
    918                   )
    919                 </div>
    920 
    921               </em>
    922           </dt>
    923           <dd class="todo" style="display: none; ">
    924             Undocumented.
    925           </dd>
    926           <dd>A value returned from one of the formatters (an URL, code snippet etc), to be passed to createResult or addChild</dd>
    927           <dd style="display: none; ">
    928             This parameter was added in version
    929             <b><span></span></b>.
    930             You must omit this parameter in earlier versions,
    931             and you may omit it in any version.  If you require this
    932             parameter, the manifest key
    933             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
    934             can ensure that your extension won't be run in an earlier browser version.
    935           </dd>
    936 
    937           <!-- OBJECT PROPERTIES -->
    938           <dd style="display: none; ">
    939             <dl>
    940               <div>
    941                 <div>
    942                 </div>
    943               </div>
    944             </dl>
    945           </dd>
    946 
    947           <!-- OBJECT METHODS -->
    948           <dd style="display: none; ">
    949             <div></div>
    950           </dd>
    951 
    952           <!-- OBJECT EVENT FIELDS -->
    953           <dd style="display: none; ">
    954             <div></div>
    955           </dd>
    956 
    957           <!-- FUNCTION PARAMETERS -->
    958           <dd style="display: none; ">
    959             <div></div>
    960           </dd>
    961 
    962         </div>
    963 
    964             </div><div class="apiItem">
    965               <a name="type-AuditResults"></a>
    966               <h4>AuditResults</h4>
    967 
    968               <div>
    969           <dt>
    970             <var style="display: none; ">paramName</var>
    971               <em>
    972 
    973                 <!-- TYPE -->
    974                 <div style="display:inline">
    975                   (
    976                     <span class="optional" style="display: none; ">optional</span>
    977                     <span class="enum" style="display: none; ">enumerated</span>
    978                     <span id="typeTemplate">
    979                       <span style="display: none; ">
    980                         <a> Type</a>
    981                       </span>
    982                       <span>
    983                         <span style="display: none; ">
    984                           array of <span><span></span></span>
    985                         </span>
    986                         <span>object</span>
    987                         <span style="display: none; "></span>
    988                       </span>
    989                     </span>
    990                   )
    991                 </div>
    992 
    993               </em>
    994           </dt>
    995           <dd class="todo" style="display: none; ">
    996             Undocumented.
    997           </dd>
    998           <dd>A collection of audit results for current run of the audit category</dd>
    999           <dd style="display: none; ">
   1000             This parameter was added in version
   1001             <b><span></span></b>.
   1002             You must omit this parameter in earlier versions,
   1003             and you may omit it in any version.  If you require this
   1004             parameter, the manifest key
   1005             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1006             can ensure that your extension won't be run in an earlier browser version.
   1007           </dd>
   1008 
   1009           <!-- OBJECT PROPERTIES -->
   1010           <dd>
   1011             <dl>
   1012               <div>
   1013                 <div>
   1014           <dt>
   1015             <var>Severity</var>
   1016               <em>
   1017 
   1018                 <!-- TYPE -->
   1019                 <div style="display:inline">
   1020                   (
   1021                     <span class="optional" style="display: none; ">optional</span>
   1022                     <span class="enum" style="display: none; ">enumerated</span>
   1023                     <span id="typeTemplate">
   1024                       <span>
   1025                         <a href="experimental.webInspector.audits.html#type-AuditResultSeverity">AuditResultSeverity</a>
   1026                       </span>
   1027                       <span style="display: none; ">
   1028                         <span>
   1029                           array of <span><span></span></span>
   1030                         </span>
   1031                         <span>paramType</span>
   1032                         <span></span>
   1033                       </span>
   1034                     </span>
   1035                   )
   1036                 </div>
   1037 
   1038               </em>
   1039           </dt>
   1040           <dd class="todo" style="display: none; ">
   1041             Undocumented.
   1042           </dd>
   1043           <dd>A class that contains possible values for audit result severities.</dd>
   1044           <dd style="display: none; ">
   1045             This parameter was added in version
   1046             <b><span></span></b>.
   1047             You must omit this parameter in earlier versions,
   1048             and you may omit it in any version.  If you require this
   1049             parameter, the manifest key
   1050             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1051             can ensure that your extension won't be run in an earlier browser version.
   1052           </dd>
   1053 
   1054           <!-- OBJECT PROPERTIES -->
   1055           <dd style="display: none; ">
   1056             <dl>
   1057               <div>
   1058                 <div>
   1059                 </div>
   1060               </div>
   1061             </dl>
   1062           </dd>
   1063 
   1064           <!-- OBJECT METHODS -->
   1065           <dd style="display: none; ">
   1066             <div></div>
   1067           </dd>
   1068 
   1069           <!-- OBJECT EVENT FIELDS -->
   1070           <dd style="display: none; ">
   1071             <div></div>
   1072           </dd>
   1073 
   1074           <!-- FUNCTION PARAMETERS -->
   1075           <dd style="display: none; ">
   1076             <div></div>
   1077           </dd>
   1078 
   1079         </div>
   1080               </div><div>
   1081                 <div>
   1082           <dt>
   1083             <var>text</var>
   1084               <em>
   1085 
   1086                 <!-- TYPE -->
   1087                 <div style="display:inline">
   1088                   (
   1089                     <span class="optional" style="display: none; ">optional</span>
   1090                     <span class="enum" style="display: none; ">enumerated</span>
   1091                     <span id="typeTemplate">
   1092                       <span style="display: none; ">
   1093                         <a> Type</a>
   1094                       </span>
   1095                       <span>
   1096                         <span style="display: none; ">
   1097                           array of <span><span></span></span>
   1098                         </span>
   1099                         <span>string</span>
   1100                         <span style="display: none; "></span>
   1101                       </span>
   1102                     </span>
   1103                   )
   1104                 </div>
   1105 
   1106               </em>
   1107           </dt>
   1108           <dd class="todo" style="display: none; ">
   1109             Undocumented.
   1110           </dd>
   1111           <dd>The contents of the node.</dd>
   1112           <dd style="display: none; ">
   1113             This parameter was added in version
   1114             <b><span></span></b>.
   1115             You must omit this parameter in earlier versions,
   1116             and you may omit it in any version.  If you require this
   1117             parameter, the manifest key
   1118             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1119             can ensure that your extension won't be run in an earlier browser version.
   1120           </dd>
   1121 
   1122           <!-- OBJECT PROPERTIES -->
   1123           <dd style="display: none; ">
   1124             <dl>
   1125               <div>
   1126                 <div>
   1127                 </div>
   1128               </div>
   1129             </dl>
   1130           </dd>
   1131 
   1132           <!-- OBJECT METHODS -->
   1133           <dd style="display: none; ">
   1134             <div></div>
   1135           </dd>
   1136 
   1137           <!-- OBJECT EVENT FIELDS -->
   1138           <dd style="display: none; ">
   1139             <div></div>
   1140           </dd>
   1141 
   1142           <!-- FUNCTION PARAMETERS -->
   1143           <dd style="display: none; ">
   1144             <div></div>
   1145           </dd>
   1146 
   1147         </div>
   1148               </div><div>
   1149                 <div>
   1150           <dt>
   1151             <var>children</var>
   1152               <em>
   1153 
   1154                 <!-- TYPE -->
   1155                 <div style="display:inline">
   1156                   (
   1157                     <span class="optional">optional</span>
   1158                     <span class="enum" style="display: none; ">enumerated</span>
   1159                     <span id="typeTemplate">
   1160                       <span style="display: none; ">
   1161                         <a> Type</a>
   1162                       </span>
   1163                       <span>
   1164                         <span>
   1165                           array of <span><span>
   1166                       <span>
   1167                         <a href="experimental.webInspector.audits.html#type-AuditResultNode">AuditResultNode</a>
   1168                       </span>
   1169                       <span style="display: none; ">
   1170                         <span>
   1171                           array of <span><span></span></span>
   1172                         </span>
   1173                         <span>paramType</span>
   1174                         <span></span>
   1175                       </span>
   1176                     </span></span>
   1177                         </span>
   1178                         <span style="display: none; ">paramType</span>
   1179                         <span style="display: none; "></span>
   1180                       </span>
   1181                     </span>
   1182                   )
   1183                 </div>
   1184 
   1185               </em>
   1186           </dt>
   1187           <dd class="todo" style="display: none; ">
   1188             Undocumented.
   1189           </dd>
   1190           <dd>Children of this node.</dd>
   1191           <dd style="display: none; ">
   1192             This parameter was added in version
   1193             <b><span></span></b>.
   1194             You must omit this parameter in earlier versions,
   1195             and you may omit it in any version.  If you require this
   1196             parameter, the manifest key
   1197             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1198             can ensure that your extension won't be run in an earlier browser version.
   1199           </dd>
   1200 
   1201           <!-- OBJECT PROPERTIES -->
   1202           <dd style="display: none; ">
   1203             <dl>
   1204               <div>
   1205                 <div>
   1206                 </div>
   1207               </div>
   1208             </dl>
   1209           </dd>
   1210 
   1211           <!-- OBJECT METHODS -->
   1212           <dd style="display: none; ">
   1213             <div></div>
   1214           </dd>
   1215 
   1216           <!-- OBJECT EVENT FIELDS -->
   1217           <dd style="display: none; ">
   1218             <div></div>
   1219           </dd>
   1220 
   1221           <!-- FUNCTION PARAMETERS -->
   1222           <dd style="display: none; ">
   1223             <div></div>
   1224           </dd>
   1225 
   1226         </div>
   1227               </div><div>
   1228                 <div>
   1229           <dt>
   1230             <var>expanded</var>
   1231               <em>
   1232 
   1233                 <!-- TYPE -->
   1234                 <div style="display:inline">
   1235                   (
   1236                     <span class="optional">optional</span>
   1237                     <span class="enum" style="display: none; ">enumerated</span>
   1238                     <span id="typeTemplate">
   1239                       <span style="display: none; ">
   1240                         <a> Type</a>
   1241                       </span>
   1242                       <span>
   1243                         <span style="display: none; ">
   1244                           array of <span><span></span></span>
   1245                         </span>
   1246                         <span>boolean</span>
   1247                         <span style="display: none; "></span>
   1248                       </span>
   1249                     </span>
   1250                   )
   1251                 </div>
   1252 
   1253               </em>
   1254           </dt>
   1255           <dd class="todo" style="display: none; ">
   1256             Undocumented.
   1257           </dd>
   1258           <dd>Whether the node is expanded by default.</dd>
   1259           <dd style="display: none; ">
   1260             This parameter was added in version
   1261             <b><span></span></b>.
   1262             You must omit this parameter in earlier versions,
   1263             and you may omit it in any version.  If you require this
   1264             parameter, the manifest key
   1265             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1266             can ensure that your extension won't be run in an earlier browser version.
   1267           </dd>
   1268 
   1269           <!-- OBJECT PROPERTIES -->
   1270           <dd style="display: none; ">
   1271             <dl>
   1272               <div>
   1273                 <div>
   1274                 </div>
   1275               </div>
   1276             </dl>
   1277           </dd>
   1278 
   1279           <!-- OBJECT METHODS -->
   1280           <dd style="display: none; ">
   1281             <div></div>
   1282           </dd>
   1283 
   1284           <!-- OBJECT EVENT FIELDS -->
   1285           <dd style="display: none; ">
   1286             <div></div>
   1287           </dd>
   1288 
   1289           <!-- FUNCTION PARAMETERS -->
   1290           <dd style="display: none; ">
   1291             <div></div>
   1292           </dd>
   1293 
   1294         </div>
   1295               </div>
   1296             </dl>
   1297           </dd>
   1298 
   1299           <!-- OBJECT METHODS -->
   1300           <dd>
   1301             <div class="apiGroup">
   1302             <a name="global-AuditResults-methods"></a>
   1303             <h3>Methods of AuditResults</h3>
   1304 
   1305             <!-- iterates over all functions -->
   1306             <div class="apiItem">
   1307               <a name="method-AuditResults-addResult"></a> <!-- method-anchor -->
   1308               <h4>addResult</h4>
   1309 
   1310               <div class="summary"><span style="display: none; ">AuditCategory</span>
   1311                   <!-- Note: intentionally longer 80 columns -->
   1312                   <span>auditResults.addResult</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
   1313                       <var><span>displayName</span></var></span><span class="null"><span>, </span><span>string</span>
   1314                       <var><span>description</span></var></span><span class="null"><span>, </span><span>AuditResultSeverety</span>
   1315                       <var><span>severity</span></var></span><span class="optional"><span>, </span><span>AuditResultNode</span>
   1316                       <var><span>details</span></var></span>)</div>
   1317 
   1318               <div class="description">
   1319                 <p class="todo" style="display: none; ">Undocumented.</p>
   1320                 <p style="display: none; ">Adds an audit category.</p>
   1321 
   1322                 <!-- PARAMETERS -->
   1323                 <h4>Parameters</h4>
   1324                 <dl>
   1325                   <div>
   1326                     <div>
   1327           <dt>
   1328             <var>displayName</var>
   1329               <em>
   1330 
   1331                 <!-- TYPE -->
   1332                 <div style="display:inline">
   1333                   (
   1334                     <span class="optional" style="display: none; ">optional</span>
   1335                     <span class="enum" style="display: none; ">enumerated</span>
   1336                     <span id="typeTemplate">
   1337                       <span style="display: none; ">
   1338                         <a> Type</a>
   1339                       </span>
   1340                       <span>
   1341                         <span style="display: none; ">
   1342                           array of <span><span></span></span>
   1343                         </span>
   1344                         <span>string</span>
   1345                         <span style="display: none; "></span>
   1346                       </span>
   1347                     </span>
   1348                   )
   1349                 </div>
   1350 
   1351               </em>
   1352           </dt>
   1353           <dd class="todo" style="display: none; ">
   1354             Undocumented.
   1355           </dd>
   1356           <dd>A concise, high-level description of audit rule result</dd>
   1357           <dd style="display: none; ">
   1358             This parameter was added in version
   1359             <b><span></span></b>.
   1360             You must omit this parameter in earlier versions,
   1361             and you may omit it in any version.  If you require this
   1362             parameter, the manifest key
   1363             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1364             can ensure that your extension won't be run in an earlier browser version.
   1365           </dd>
   1366 
   1367           <!-- OBJECT PROPERTIES -->
   1368           <dd style="display: none; ">
   1369             <dl>
   1370               <div>
   1371                 <div>
   1372                 </div>
   1373               </div>
   1374             </dl>
   1375           </dd>
   1376 
   1377           <!-- OBJECT METHODS -->
   1378           <dd style="display: none; ">
   1379             <div></div>
   1380           </dd>
   1381 
   1382           <!-- OBJECT EVENT FIELDS -->
   1383           <dd style="display: none; ">
   1384             <div></div>
   1385           </dd>
   1386 
   1387           <!-- FUNCTION PARAMETERS -->
   1388           <dd style="display: none; ">
   1389             <div></div>
   1390           </dd>
   1391 
   1392         </div>
   1393                   </div><div>
   1394                     <div>
   1395           <dt>
   1396             <var>description</var>
   1397               <em>
   1398 
   1399                 <!-- TYPE -->
   1400                 <div style="display:inline">
   1401                   (
   1402                     <span class="optional" style="display: none; ">optional</span>
   1403                     <span class="enum" style="display: none; ">enumerated</span>
   1404                     <span id="typeTemplate">
   1405                       <span style="display: none; ">
   1406                         <a> Type</a>
   1407                       </span>
   1408                       <span>
   1409                         <span style="display: none; ">
   1410                           array of <span><span></span></span>
   1411                         </span>
   1412                         <span>string</span>
   1413                         <span style="display: none; "></span>
   1414                       </span>
   1415                     </span>
   1416                   )
   1417                 </div>
   1418 
   1419               </em>
   1420           </dt>
   1421           <dd class="todo" style="display: none; ">
   1422             Undocumented.
   1423           </dd>
   1424           <dd>A detailed description of what the displayName means</dd>
   1425           <dd style="display: none; ">
   1426             This parameter was added in version
   1427             <b><span></span></b>.
   1428             You must omit this parameter in earlier versions,
   1429             and you may omit it in any version.  If you require this
   1430             parameter, the manifest key
   1431             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1432             can ensure that your extension won't be run in an earlier browser version.
   1433           </dd>
   1434 
   1435           <!-- OBJECT PROPERTIES -->
   1436           <dd style="display: none; ">
   1437             <dl>
   1438               <div>
   1439                 <div>
   1440                 </div>
   1441               </div>
   1442             </dl>
   1443           </dd>
   1444 
   1445           <!-- OBJECT METHODS -->
   1446           <dd style="display: none; ">
   1447             <div></div>
   1448           </dd>
   1449 
   1450           <!-- OBJECT EVENT FIELDS -->
   1451           <dd style="display: none; ">
   1452             <div></div>
   1453           </dd>
   1454 
   1455           <!-- FUNCTION PARAMETERS -->
   1456           <dd style="display: none; ">
   1457             <div></div>
   1458           </dd>
   1459 
   1460         </div>
   1461                   </div><div>
   1462                     <div>
   1463           <dt>
   1464             <var>severity</var>
   1465               <em>
   1466 
   1467                 <!-- TYPE -->
   1468                 <div style="display:inline">
   1469                   (
   1470                     <span class="optional" style="display: none; ">optional</span>
   1471                     <span class="enum" style="display: none; ">enumerated</span>
   1472                     <span id="typeTemplate">
   1473                       <span style="">
   1474                         <a>AuditResultSeverety</a>
   1475                       </span>
   1476                       <span style="display: none; ">
   1477                         <span style="display: none; ">
   1478                           array of <span><span></span></span>
   1479                         </span>
   1480                         <span>number</span>
   1481                         <span style="display: none; "></span>
   1482                       </span>
   1483                     </span>
   1484                   )
   1485                 </div>
   1486 
   1487               </em>
   1488           </dt>
   1489           <dd class="todo" style="">
   1490             Undocumented.
   1491           </dd>
   1492           <dd style="display: none; ">The expected number of audit results in the category.</dd>
   1493           <dd style="display: none; ">
   1494             This parameter was added in version
   1495             <b><span></span></b>.
   1496             You must omit this parameter in earlier versions,
   1497             and you may omit it in any version.  If you require this
   1498             parameter, the manifest key
   1499             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1500             can ensure that your extension won't be run in an earlier browser version.
   1501           </dd>
   1502 
   1503           <!-- OBJECT PROPERTIES -->
   1504           <dd style="display: none; ">
   1505             <dl>
   1506               <div>
   1507                 <div>
   1508                 </div>
   1509               </div>
   1510             </dl>
   1511           </dd>
   1512 
   1513           <!-- OBJECT METHODS -->
   1514           <dd style="display: none; ">
   1515             <div></div>
   1516           </dd>
   1517 
   1518           <!-- OBJECT EVENT FIELDS -->
   1519           <dd style="display: none; ">
   1520             <div></div>
   1521           </dd>
   1522 
   1523           <!-- FUNCTION PARAMETERS -->
   1524           <dd style="display: none; ">
   1525             <div></div>
   1526           </dd>
   1527 
   1528         </div>
   1529                   </div><div>
   1530                     <div>
   1531           <dt>
   1532             <var>details</var>
   1533               <em>
   1534 
   1535                 <!-- TYPE -->
   1536                 <div style="display:inline">
   1537                   (
   1538                     <span class="optional" style="">optional</span>
   1539                     <span class="enum" style="display: none; ">enumerated</span>
   1540                     <span id="typeTemplate">
   1541                       <span style="">
   1542                         <a href="experimental.webInspector.audits.html#type-AuditResultNode">AuditResultNode</a>
   1543                       </span>
   1544                       <span style="display: none; ">
   1545                         <span style="display: none; ">
   1546                           array of <span><span></span></span>
   1547                         </span>
   1548                         <span>number</span>
   1549                         <span style="display: none; "></span>
   1550                       </span>
   1551                     </span>
   1552                   )
   1553                 </div>
   1554 
   1555               </em>
   1556           </dt>
   1557           <dd class="todo" style="display: none; ">
   1558             Undocumented.
   1559           </dd>
   1560           <dd>A subtree that appears under added result that may provide additional details on the violations found</dd>
   1561           <dd style="display: none; ">
   1562             This parameter was added in version
   1563             <b><span></span></b>.
   1564             You must omit this parameter in earlier versions,
   1565             and you may omit it in any version.  If you require this
   1566             parameter, the manifest key
   1567             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1568             can ensure that your extension won't be run in an earlier browser version.
   1569           </dd>
   1570 
   1571           <!-- OBJECT PROPERTIES -->
   1572           <dd style="display: none; ">
   1573             <dl>
   1574               <div>
   1575                 <div>
   1576                 </div>
   1577               </div>
   1578             </dl>
   1579           </dd>
   1580 
   1581           <!-- OBJECT METHODS -->
   1582           <dd style="display: none; ">
   1583             <div></div>
   1584           </dd>
   1585 
   1586           <!-- OBJECT EVENT FIELDS -->
   1587           <dd style="display: none; ">
   1588             <div></div>
   1589           </dd>
   1590 
   1591           <!-- FUNCTION PARAMETERS -->
   1592           <dd style="display: none; ">
   1593             <div></div>
   1594           </dd>
   1595 
   1596         </div>
   1597                   </div>
   1598                 </dl>
   1599 
   1600                 <!-- RETURNS -->
   1601                 <h4 style="display: none; ">Returns</h4>
   1602                 <dl>
   1603                   <div style="display: none; ">
   1604                     <div>
   1605           <dt>
   1606             <var style="display: none; ">paramName</var>
   1607               <em>
   1608 
   1609                 <!-- TYPE -->
   1610                 <div style="display:inline">
   1611                   (
   1612                     <span class="optional" style="display: none; ">optional</span>
   1613                     <span class="enum" style="display: none; ">enumerated</span>
   1614                     <span id="typeTemplate">
   1615                       <span>
   1616                         <a href="experimental.webInspector.audits.html#type-AuditCategory">AuditCategory</a>
   1617                       </span>
   1618                       <span style="display: none; ">
   1619                         <span>
   1620                           array of <span><span></span></span>
   1621                         </span>
   1622                         <span>paramType</span>
   1623                         <span></span>
   1624                       </span>
   1625                     </span>
   1626                   )
   1627                 </div>
   1628 
   1629               </em>
   1630           </dt>
   1631           <dd class="todo">
   1632             Undocumented.
   1633           </dd>
   1634           <dd style="display: none; ">
   1635             Description of this parameter from the json schema.
   1636           </dd>
   1637           <dd style="display: none; ">
   1638             This parameter was added in version
   1639             <b><span></span></b>.
   1640             You must omit this parameter in earlier versions,
   1641             and you may omit it in any version.  If you require this
   1642             parameter, the manifest key
   1643             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1644             can ensure that your extension won't be run in an earlier browser version.
   1645           </dd>
   1646 
   1647           <!-- OBJECT PROPERTIES -->
   1648           <dd style="display: none; ">
   1649             <dl>
   1650               <div>
   1651                 <div>
   1652                 </div>
   1653               </div>
   1654             </dl>
   1655           </dd>
   1656 
   1657           <!-- OBJECT METHODS -->
   1658           <dd style="display: none; ">
   1659             <div></div>
   1660           </dd>
   1661 
   1662           <!-- OBJECT EVENT FIELDS -->
   1663           <dd style="display: none; ">
   1664             <div></div>
   1665           </dd>
   1666 
   1667           <!-- FUNCTION PARAMETERS -->
   1668           <dd style="display: none; ">
   1669             <div></div>
   1670           </dd>
   1671 
   1672         </div>
   1673                   </div>
   1674                 </dl>
   1675 
   1676                 <!-- CALLBACK -->
   1677                 <div style="display: none; ">
   1678                   <div>
   1679                   <h4>Callback function</h4>
   1680                   <p>
   1681                     The callback <em>parameter</em> should specify a function
   1682                     that looks like this:
   1683                   </p>
   1684                   <p>
   1685                     If you specify the <em>callback</em> parameter, it should
   1686                     specify a function that looks like this:
   1687                   </p>
   1688 
   1689                   <!-- Note: intentionally longer 80 columns -->
   1690                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   1691                   <dl>
   1692                     <div>
   1693                       <div>
   1694                       </div>
   1695                     </div>
   1696                   </dl>
   1697                   </div>
   1698                 </div>
   1699 
   1700                 <!-- MIN_VERSION -->
   1701                 <p style="display: none; ">
   1702                   This function was added in version <b><span></span></b>.
   1703                   If you require this function, the manifest key
   1704                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1705                   can ensure that your extension won't be run in an earlier browser version.
   1706                 </p>
   1707               </div> <!-- /description -->
   1708 
   1709             </div><div class="apiItem">
   1710               <a name="method-AuditResults-createResult"></a> <!-- method-anchor -->
   1711               <h4>createResult</h4>
   1712 
   1713               <div class="summary"><span>AuditResultNode</span>
   1714                   <!-- Note: intentionally longer 80 columns -->
   1715                   <span>auditResults.createResult</span>(<span class="null"><span style="display: none; ">, </span><span>string or FormattedValue</span>
   1716                       <var><span>content ...</span></var></span>)</div>
   1717 
   1718               <div class="description">
   1719                 <p class="todo" style="display: none; ">Undocumented.</p>
   1720                 <p>Creates a result node that may be user as details parameters to addResult</p>
   1721 
   1722                 <!-- PARAMETERS -->
   1723                 <h4>Parameters</h4>
   1724                 <dl>
   1725                   <div>
   1726                     <div>
   1727           <dt>
   1728             <var>content ...</var>
   1729               <em>
   1730 
   1731                 <!-- TYPE -->
   1732                 <div style="display:inline">
   1733                   (
   1734                     <span class="optional" style="display: none; ">optional</span>
   1735                     <span class="enum" style="display: none; ">enumerated</span>
   1736                     <span id="typeTemplate">
   1737                       <span style="display: none; ">
   1738                         <a> Type</a>
   1739                       </span>
   1740                       <span>
   1741                         <span style="display: none; ">
   1742                           array of <span><span></span></span>
   1743                         </span>
   1744                         <span>string or FormattedValue</span>
   1745                         <span style="display: none; "></span>
   1746                       </span>
   1747                     </span>
   1748                   )
   1749                 </div>
   1750 
   1751               </em>
   1752           </dt>
   1753           <dd class="todo" style="display: none; ">
   1754             Undocumented.
   1755           </dd>
   1756           <dd>Either string or formatted values returned by one of AuditResult formatters (url, snippet etc)</dd>
   1757           <dd style="display: none; ">
   1758             This parameter was added in version
   1759             <b><span></span></b>.
   1760             You must omit this parameter in earlier versions,
   1761             and you may omit it in any version.  If you require this
   1762             parameter, the manifest key
   1763             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1764             can ensure that your extension won't be run in an earlier browser version.
   1765           </dd>
   1766 
   1767           <!-- OBJECT PROPERTIES -->
   1768           <dd style="display: none; ">
   1769             <dl>
   1770               <div>
   1771                 <div>
   1772                 </div>
   1773               </div>
   1774             </dl>
   1775           </dd>
   1776 
   1777           <!-- OBJECT METHODS -->
   1778           <dd style="display: none; ">
   1779             <div></div>
   1780           </dd>
   1781 
   1782           <!-- OBJECT EVENT FIELDS -->
   1783           <dd style="display: none; ">
   1784             <div></div>
   1785           </dd>
   1786 
   1787           <!-- FUNCTION PARAMETERS -->
   1788           <dd style="display: none; ">
   1789             <div></div>
   1790           </dd>
   1791 
   1792         </div>
   1793                   </div>
   1794                 </dl>
   1795 
   1796                 <!-- RETURNS -->
   1797                 <h4>Returns</h4>
   1798                 <dl>
   1799                   <div>
   1800                     <div>
   1801           <dt>
   1802             <var style="display: none; ">paramName</var>
   1803               <em>
   1804 
   1805                 <!-- TYPE -->
   1806                 <div style="display:inline">
   1807                   (
   1808                     <span class="optional" style="display: none; ">optional</span>
   1809                     <span class="enum" style="display: none; ">enumerated</span>
   1810                     <span id="typeTemplate">
   1811                       <span>
   1812                         <a href="experimental.webInspector.audits.html#type-AuditResultNode">AuditResultNode</a>
   1813                       </span>
   1814                       <span style="display: none; ">
   1815                         <span>
   1816                           array of <span><span></span></span>
   1817                         </span>
   1818                         <span>paramType</span>
   1819                         <span></span>
   1820                       </span>
   1821                     </span>
   1822                   )
   1823                 </div>
   1824 
   1825               </em>
   1826           </dt>
   1827           <dd class="todo">
   1828             Undocumented.
   1829           </dd>
   1830           <dd style="display: none; ">
   1831             Description of this parameter from the json schema.
   1832           </dd>
   1833           <dd style="display: none; ">
   1834             This parameter was added in version
   1835             <b><span></span></b>.
   1836             You must omit this parameter in earlier versions,
   1837             and you may omit it in any version.  If you require this
   1838             parameter, the manifest key
   1839             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1840             can ensure that your extension won't be run in an earlier browser version.
   1841           </dd>
   1842 
   1843           <!-- OBJECT PROPERTIES -->
   1844           <dd style="display: none; ">
   1845             <dl>
   1846               <div>
   1847                 <div>
   1848                 </div>
   1849               </div>
   1850             </dl>
   1851           </dd>
   1852 
   1853           <!-- OBJECT METHODS -->
   1854           <dd style="display: none; ">
   1855             <div></div>
   1856           </dd>
   1857 
   1858           <!-- OBJECT EVENT FIELDS -->
   1859           <dd style="display: none; ">
   1860             <div></div>
   1861           </dd>
   1862 
   1863           <!-- FUNCTION PARAMETERS -->
   1864           <dd style="display: none; ">
   1865             <div></div>
   1866           </dd>
   1867 
   1868         </div>
   1869                   </div>
   1870                 </dl>
   1871 
   1872                 <!-- CALLBACK -->
   1873                 <div style="display: none; ">
   1874                   <div>
   1875                   <h4>Callback function</h4>
   1876                   <p>
   1877                     The callback <em>parameter</em> should specify a function
   1878                     that looks like this:
   1879                   </p>
   1880                   <p>
   1881                     If you specify the <em>callback</em> parameter, it should
   1882                     specify a function that looks like this:
   1883                   </p>
   1884 
   1885                   <!-- Note: intentionally longer 80 columns -->
   1886                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   1887                   <dl>
   1888                     <div>
   1889                       <div>
   1890                       </div>
   1891                     </div>
   1892                   </dl>
   1893                   </div>
   1894                 </div>
   1895 
   1896                 <!-- MIN_VERSION -->
   1897                 <p style="display: none; ">
   1898                   This function was added in version <b><span></span></b>.
   1899                   If you require this function, the manifest key
   1900                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1901                   can ensure that your extension won't be run in an earlier browser version.
   1902                 </p>
   1903               </div> <!-- /description -->
   1904 
   1905             </div><div class="apiItem">
   1906               <a name="method-AuditResults-done"></a> <!-- method-anchor -->
   1907               <h4>done</h4>
   1908 
   1909               <div class="summary"><span style="display: none; ">AuditCategory</span>
   1910                   <!-- Note: intentionally longer 80 columns -->
   1911                   <span>auditResults.done</span>(<span class="null" style="display: none; "><span style="display: none; ">, </span><span>string</span>
   1912                       <var><span>displayName</span></var></span><span class="null" style="display: none; "><span>, </span><span>number</span>
   1913                       <var><span>resultCount</span></var></span>)</div>
   1914 
   1915               <div class="description">
   1916                 <p class="todo" style="display: none; ">Undocumented.</p>
   1917                 <p>Signals the WebInspector Audits panel that the run of this category is over. Normally the run completes automatically when a number of added top-level results is equal to that declared when AuditCategory was created.</p>
   1918 
   1919                 <!-- PARAMETERS -->
   1920                 <h4 style="display: none; ">Parameters</h4>
   1921                 <dl>
   1922                   <div style="display: none; ">
   1923                     <div>
   1924           <dt>
   1925             <var>displayName</var>
   1926               <em>
   1927 
   1928                 <!-- TYPE -->
   1929                 <div style="display:inline">
   1930                   (
   1931                     <span class="optional" style="display: none; ">optional</span>
   1932                     <span class="enum" style="display: none; ">enumerated</span>
   1933                     <span id="typeTemplate">
   1934                       <span style="display: none; ">
   1935                         <a> Type</a>
   1936                       </span>
   1937                       <span>
   1938                         <span style="display: none; ">
   1939                           array of <span><span></span></span>
   1940                         </span>
   1941                         <span>string</span>
   1942                         <span style="display: none; "></span>
   1943                       </span>
   1944                     </span>
   1945                   )
   1946                 </div>
   1947 
   1948               </em>
   1949           </dt>
   1950           <dd class="todo" style="display: none; ">
   1951             Undocumented.
   1952           </dd>
   1953           <dd>A display name for the category</dd>
   1954           <dd style="display: none; ">
   1955             This parameter was added in version
   1956             <b><span></span></b>.
   1957             You must omit this parameter in earlier versions,
   1958             and you may omit it in any version.  If you require this
   1959             parameter, the manifest key
   1960             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   1961             can ensure that your extension won't be run in an earlier browser version.
   1962           </dd>
   1963 
   1964           <!-- OBJECT PROPERTIES -->
   1965           <dd style="display: none; ">
   1966             <dl>
   1967               <div>
   1968                 <div>
   1969                 </div>
   1970               </div>
   1971             </dl>
   1972           </dd>
   1973 
   1974           <!-- OBJECT METHODS -->
   1975           <dd style="display: none; ">
   1976             <div></div>
   1977           </dd>
   1978 
   1979           <!-- OBJECT EVENT FIELDS -->
   1980           <dd style="display: none; ">
   1981             <div></div>
   1982           </dd>
   1983 
   1984           <!-- FUNCTION PARAMETERS -->
   1985           <dd style="display: none; ">
   1986             <div></div>
   1987           </dd>
   1988 
   1989         </div>
   1990                   </div><div style="display: none; ">
   1991                     <div>
   1992           <dt>
   1993             <var>resultCount</var>
   1994               <em>
   1995 
   1996                 <!-- TYPE -->
   1997                 <div style="display:inline">
   1998                   (
   1999                     <span class="optional" style="display: none; ">optional</span>
   2000                     <span class="enum" style="display: none; ">enumerated</span>
   2001                     <span id="typeTemplate">
   2002                       <span style="display: none; ">
   2003                         <a> Type</a>
   2004                       </span>
   2005                       <span>
   2006                         <span style="display: none; ">
   2007                           array of <span><span></span></span>
   2008                         </span>
   2009                         <span>number</span>
   2010                         <span style="display: none; "></span>
   2011                       </span>
   2012                     </span>
   2013                   )
   2014                 </div>
   2015 
   2016               </em>
   2017           </dt>
   2018           <dd class="todo" style="display: none; ">
   2019             Undocumented.
   2020           </dd>
   2021           <dd>The expected number of audit results in the category.</dd>
   2022           <dd style="display: none; ">
   2023             This parameter was added in version
   2024             <b><span></span></b>.
   2025             You must omit this parameter in earlier versions,
   2026             and you may omit it in any version.  If you require this
   2027             parameter, the manifest key
   2028             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2029             can ensure that your extension won't be run in an earlier browser version.
   2030           </dd>
   2031 
   2032           <!-- OBJECT PROPERTIES -->
   2033           <dd style="display: none; ">
   2034             <dl>
   2035               <div>
   2036                 <div>
   2037                 </div>
   2038               </div>
   2039             </dl>
   2040           </dd>
   2041 
   2042           <!-- OBJECT METHODS -->
   2043           <dd style="display: none; ">
   2044             <div></div>
   2045           </dd>
   2046 
   2047           <!-- OBJECT EVENT FIELDS -->
   2048           <dd style="display: none; ">
   2049             <div></div>
   2050           </dd>
   2051 
   2052           <!-- FUNCTION PARAMETERS -->
   2053           <dd style="display: none; ">
   2054             <div></div>
   2055           </dd>
   2056 
   2057         </div>
   2058                   </div>
   2059                 </dl>
   2060 
   2061                 <!-- RETURNS -->
   2062                 <h4 style="display: none; ">Returns</h4>
   2063                 <dl>
   2064                   <div style="display: none; ">
   2065                     <div>
   2066           <dt>
   2067             <var style="display: none; ">paramName</var>
   2068               <em>
   2069 
   2070                 <!-- TYPE -->
   2071                 <div style="display:inline">
   2072                   (
   2073                     <span class="optional" style="display: none; ">optional</span>
   2074                     <span class="enum" style="display: none; ">enumerated</span>
   2075                     <span id="typeTemplate">
   2076                       <span>
   2077                         <a href="experimental.webInspector.audits.html#type-AuditCategory">AuditCategory</a>
   2078                       </span>
   2079                       <span style="display: none; ">
   2080                         <span>
   2081                           array of <span><span></span></span>
   2082                         </span>
   2083                         <span>paramType</span>
   2084                         <span></span>
   2085                       </span>
   2086                     </span>
   2087                   )
   2088                 </div>
   2089 
   2090               </em>
   2091           </dt>
   2092           <dd class="todo">
   2093             Undocumented.
   2094           </dd>
   2095           <dd style="display: none; ">
   2096             Description of this parameter from the json schema.
   2097           </dd>
   2098           <dd style="display: none; ">
   2099             This parameter was added in version
   2100             <b><span></span></b>.
   2101             You must omit this parameter in earlier versions,
   2102             and you may omit it in any version.  If you require this
   2103             parameter, the manifest key
   2104             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2105             can ensure that your extension won't be run in an earlier browser version.
   2106           </dd>
   2107 
   2108           <!-- OBJECT PROPERTIES -->
   2109           <dd style="display: none; ">
   2110             <dl>
   2111               <div>
   2112                 <div>
   2113                 </div>
   2114               </div>
   2115             </dl>
   2116           </dd>
   2117 
   2118           <!-- OBJECT METHODS -->
   2119           <dd style="display: none; ">
   2120             <div></div>
   2121           </dd>
   2122 
   2123           <!-- OBJECT EVENT FIELDS -->
   2124           <dd style="display: none; ">
   2125             <div></div>
   2126           </dd>
   2127 
   2128           <!-- FUNCTION PARAMETERS -->
   2129           <dd style="display: none; ">
   2130             <div></div>
   2131           </dd>
   2132 
   2133         </div>
   2134                   </div>
   2135                 </dl>
   2136 
   2137                 <!-- CALLBACK -->
   2138                 <div style="display: none; ">
   2139                   <div>
   2140                   <h4>Callback function</h4>
   2141                   <p>
   2142                     The callback <em>parameter</em> should specify a function
   2143                     that looks like this:
   2144                   </p>
   2145                   <p>
   2146                     If you specify the <em>callback</em> parameter, it should
   2147                     specify a function that looks like this:
   2148                   </p>
   2149 
   2150                   <!-- Note: intentionally longer 80 columns -->
   2151                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   2152                   <dl>
   2153                     <div>
   2154                       <div>
   2155                       </div>
   2156                     </div>
   2157                   </dl>
   2158                   </div>
   2159                 </div>
   2160 
   2161                 <!-- MIN_VERSION -->
   2162                 <p style="display: none; ">
   2163                   This function was added in version <b><span></span></b>.
   2164                   If you require this function, the manifest key
   2165                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2166                   can ensure that your extension won't be run in an earlier browser version.
   2167                 </p>
   2168               </div> <!-- /description -->
   2169 
   2170             </div><div class="apiItem">
   2171               <a name="method-AuditResults-snippet"></a> <!-- method-anchor -->
   2172               <h4>snippet</h4>
   2173 
   2174               <div class="summary"><span>FormattedValue</span>
   2175                   <!-- Note: intentionally longer 80 columns -->
   2176                   <span>auditResults.snippet</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
   2177                       <var><span>text</span></var></span>)</div>
   2178 
   2179               <div class="description">
   2180                 <p class="todo" style="display: none; ">Undocumented.</p>
   2181                 <p>Render passed text as a code snippet in the Audits panel</p>
   2182 
   2183                 <!-- PARAMETERS -->
   2184                 <h4>Parameters</h4>
   2185                 <dl>
   2186                   <div>
   2187                     <div>
   2188           <dt>
   2189             <var>text</var>
   2190               <em>
   2191 
   2192                 <!-- TYPE -->
   2193                 <div style="display:inline">
   2194                   (
   2195                     <span class="optional" style="display: none; ">optional</span>
   2196                     <span class="enum" style="display: none; ">enumerated</span>
   2197                     <span id="typeTemplate">
   2198                       <span style="display: none; ">
   2199                         <a> Type</a>
   2200                       </span>
   2201                       <span>
   2202                         <span style="display: none; ">
   2203                           array of <span><span></span></span>
   2204                         </span>
   2205                         <span>string</span>
   2206                         <span style="display: none; "></span>
   2207                       </span>
   2208                     </span>
   2209                   )
   2210                 </div>
   2211 
   2212               </em>
   2213           </dt>
   2214           <dd class="todo" style="display: none; ">
   2215             Undocumented.
   2216           </dd>
   2217           <dd>Snippet text</dd>
   2218           <dd style="display: none; ">
   2219             This parameter was added in version
   2220             <b><span></span></b>.
   2221             You must omit this parameter in earlier versions,
   2222             and you may omit it in any version.  If you require this
   2223             parameter, the manifest key
   2224             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2225             can ensure that your extension won't be run in an earlier browser version.
   2226           </dd>
   2227 
   2228           <!-- OBJECT PROPERTIES -->
   2229           <dd style="display: none; ">
   2230             <dl>
   2231               <div>
   2232                 <div>
   2233                 </div>
   2234               </div>
   2235             </dl>
   2236           </dd>
   2237 
   2238           <!-- OBJECT METHODS -->
   2239           <dd style="display: none; ">
   2240             <div></div>
   2241           </dd>
   2242 
   2243           <!-- OBJECT EVENT FIELDS -->
   2244           <dd style="display: none; ">
   2245             <div></div>
   2246           </dd>
   2247 
   2248           <!-- FUNCTION PARAMETERS -->
   2249           <dd style="display: none; ">
   2250             <div></div>
   2251           </dd>
   2252 
   2253         </div>
   2254                   </div>
   2255                 </dl>
   2256 
   2257                 <!-- RETURNS -->
   2258                 <h4>Returns</h4>
   2259                 <dl>
   2260                   <div>
   2261                     <div>
   2262           <dt>
   2263             <var style="display: none; ">paramName</var>
   2264               <em>
   2265 
   2266                 <!-- TYPE -->
   2267                 <div style="display:inline">
   2268                   (
   2269                     <span class="optional" style="display: none; ">optional</span>
   2270                     <span class="enum" style="display: none; ">enumerated</span>
   2271                     <span id="typeTemplate">
   2272                       <span>
   2273                         <a href="experimental.webInspector.audits.html#type-FormattedValue">FormattedValue</a>
   2274                       </span>
   2275                       <span style="display: none; ">
   2276                         <span>
   2277                           array of <span><span></span></span>
   2278                         </span>
   2279                         <span>paramType</span>
   2280                         <span></span>
   2281                       </span>
   2282                     </span>
   2283                   )
   2284                 </div>
   2285 
   2286               </em>
   2287           </dt>
   2288           <dd class="todo">
   2289             Undocumented.
   2290           </dd>
   2291           <dd style="display: none; ">
   2292             Description of this parameter from the json schema.
   2293           </dd>
   2294           <dd style="display: none; ">
   2295             This parameter was added in version
   2296             <b><span></span></b>.
   2297             You must omit this parameter in earlier versions,
   2298             and you may omit it in any version.  If you require this
   2299             parameter, the manifest key
   2300             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2301             can ensure that your extension won't be run in an earlier browser version.
   2302           </dd>
   2303 
   2304           <!-- OBJECT PROPERTIES -->
   2305           <dd style="display: none; ">
   2306             <dl>
   2307               <div>
   2308                 <div>
   2309                 </div>
   2310               </div>
   2311             </dl>
   2312           </dd>
   2313 
   2314           <!-- OBJECT METHODS -->
   2315           <dd style="display: none; ">
   2316             <div></div>
   2317           </dd>
   2318 
   2319           <!-- OBJECT EVENT FIELDS -->
   2320           <dd style="display: none; ">
   2321             <div></div>
   2322           </dd>
   2323 
   2324           <!-- FUNCTION PARAMETERS -->
   2325           <dd style="display: none; ">
   2326             <div></div>
   2327           </dd>
   2328 
   2329         </div>
   2330                   </div>
   2331                 </dl>
   2332 
   2333                 <!-- CALLBACK -->
   2334                 <div style="display: none; ">
   2335                   <div>
   2336                   <h4>Callback function</h4>
   2337                   <p>
   2338                     The callback <em>parameter</em> should specify a function
   2339                     that looks like this:
   2340                   </p>
   2341                   <p>
   2342                     If you specify the <em>callback</em> parameter, it should
   2343                     specify a function that looks like this:
   2344                   </p>
   2345 
   2346                   <!-- Note: intentionally longer 80 columns -->
   2347                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   2348                   <dl>
   2349                     <div>
   2350                       <div>
   2351                       </div>
   2352                     </div>
   2353                   </dl>
   2354                   </div>
   2355                 </div>
   2356 
   2357                 <!-- MIN_VERSION -->
   2358                 <p style="display: none; ">
   2359                   This function was added in version <b><span></span></b>.
   2360                   If you require this function, the manifest key
   2361                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2362                   can ensure that your extension won't be run in an earlier browser version.
   2363                 </p>
   2364               </div> <!-- /description -->
   2365 
   2366             </div><div class="apiItem">
   2367               <a name="method-AuditResults-url"></a> <!-- method-anchor -->
   2368               <h4>url</h4>
   2369 
   2370               <div class="summary"><span>FormattedValue</span>
   2371                   <!-- Note: intentionally longer 80 columns -->
   2372                   <span>auditResults.url</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
   2373                       <var><span>href</span></var></span><span class="optional"><span>, </span><span>string</span>
   2374                       <var><span>displayText</span></var></span>)</div>
   2375 
   2376               <div class="description">
   2377                 <p class="todo" style="display: none; ">Undocumented.</p>
   2378                 <p>Render passed value as an URL in the Audits panel</p>
   2379 
   2380                 <!-- PARAMETERS -->
   2381                 <h4>Parameters</h4>
   2382                 <dl>
   2383                   <div>
   2384                     <div>
   2385           <dt>
   2386             <var>href</var>
   2387               <em>
   2388 
   2389                 <!-- TYPE -->
   2390                 <div style="display:inline">
   2391                   (
   2392                     <span class="optional" style="display: none; ">optional</span>
   2393                     <span class="enum" style="display: none; ">enumerated</span>
   2394                     <span id="typeTemplate">
   2395                       <span style="display: none; ">
   2396                         <a> Type</a>
   2397                       </span>
   2398                       <span>
   2399                         <span style="display: none; ">
   2400                           array of <span><span></span></span>
   2401                         </span>
   2402                         <span>string</span>
   2403                         <span style="display: none; "></span>
   2404                       </span>
   2405                     </span>
   2406                   )
   2407                 </div>
   2408 
   2409               </em>
   2410           </dt>
   2411           <dd class="todo" style="display: none; ">
   2412             Undocumented.
   2413           </dd>
   2414           <dd>An URL that will appear as href value on resulting link</dd>
   2415           <dd style="display: none; ">
   2416             This parameter was added in version
   2417             <b><span></span></b>.
   2418             You must omit this parameter in earlier versions,
   2419             and you may omit it in any version.  If you require this
   2420             parameter, the manifest key
   2421             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2422             can ensure that your extension won't be run in an earlier browser version.
   2423           </dd>
   2424 
   2425           <!-- OBJECT PROPERTIES -->
   2426           <dd style="display: none; ">
   2427             <dl>
   2428               <div>
   2429                 <div>
   2430                 </div>
   2431               </div>
   2432             </dl>
   2433           </dd>
   2434 
   2435           <!-- OBJECT METHODS -->
   2436           <dd style="display: none; ">
   2437             <div></div>
   2438           </dd>
   2439 
   2440           <!-- OBJECT EVENT FIELDS -->
   2441           <dd style="display: none; ">
   2442             <div></div>
   2443           </dd>
   2444 
   2445           <!-- FUNCTION PARAMETERS -->
   2446           <dd style="display: none; ">
   2447             <div></div>
   2448           </dd>
   2449 
   2450         </div>
   2451                   </div><div>
   2452                     <div>
   2453           <dt>
   2454             <var>displayText</var>
   2455               <em>
   2456 
   2457                 <!-- TYPE -->
   2458                 <div style="display:inline">
   2459                   (
   2460                     <span class="optional" style="">optional</span>
   2461                     <span class="enum" style="display: none; ">enumerated</span>
   2462                     <span id="typeTemplate">
   2463                       <span style="display: none; ">
   2464                         <a> Type</a>
   2465                       </span>
   2466                       <span>
   2467                         <span style="display: none; ">
   2468                           array of <span><span></span></span>
   2469                         </span>
   2470                         <span>string</span>
   2471                         <span style="display: none; "></span>
   2472                       </span>
   2473                     </span>
   2474                   )
   2475                 </div>
   2476 
   2477               </em>
   2478           </dt>
   2479           <dd class="todo" style="display: none; ">
   2480             Undocumented.
   2481           </dd>
   2482           <dd>A text that will appear to user</dd>
   2483           <dd style="display: none; ">
   2484             This parameter was added in version
   2485             <b><span></span></b>.
   2486             You must omit this parameter in earlier versions,
   2487             and you may omit it in any version.  If you require this
   2488             parameter, the manifest key
   2489             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2490             can ensure that your extension won't be run in an earlier browser version.
   2491           </dd>
   2492 
   2493           <!-- OBJECT PROPERTIES -->
   2494           <dd style="display: none; ">
   2495             <dl>
   2496               <div>
   2497                 <div>
   2498                 </div>
   2499               </div>
   2500             </dl>
   2501           </dd>
   2502 
   2503           <!-- OBJECT METHODS -->
   2504           <dd style="display: none; ">
   2505             <div></div>
   2506           </dd>
   2507 
   2508           <!-- OBJECT EVENT FIELDS -->
   2509           <dd style="display: none; ">
   2510             <div></div>
   2511           </dd>
   2512 
   2513           <!-- FUNCTION PARAMETERS -->
   2514           <dd style="display: none; ">
   2515             <div></div>
   2516           </dd>
   2517 
   2518         </div>
   2519                   </div>
   2520                 </dl>
   2521 
   2522                 <!-- RETURNS -->
   2523                 <h4>Returns</h4>
   2524                 <dl>
   2525                   <div>
   2526                     <div>
   2527           <dt>
   2528             <var style="display: none; ">paramName</var>
   2529               <em>
   2530 
   2531                 <!-- TYPE -->
   2532                 <div style="display:inline">
   2533                   (
   2534                     <span class="optional" style="display: none; ">optional</span>
   2535                     <span class="enum" style="display: none; ">enumerated</span>
   2536                     <span id="typeTemplate">
   2537                       <span>
   2538                         <a href="experimental.webInspector.audits.html#type-FormattedValue">FormattedValue</a>
   2539                       </span>
   2540                       <span style="display: none; ">
   2541                         <span>
   2542                           array of <span><span></span></span>
   2543                         </span>
   2544                         <span>paramType</span>
   2545                         <span></span>
   2546                       </span>
   2547                     </span>
   2548                   )
   2549                 </div>
   2550 
   2551               </em>
   2552           </dt>
   2553           <dd class="todo">
   2554             Undocumented.
   2555           </dd>
   2556           <dd style="display: none; ">
   2557             Description of this parameter from the json schema.
   2558           </dd>
   2559           <dd style="display: none; ">
   2560             This parameter was added in version
   2561             <b><span></span></b>.
   2562             You must omit this parameter in earlier versions,
   2563             and you may omit it in any version.  If you require this
   2564             parameter, the manifest key
   2565             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2566             can ensure that your extension won't be run in an earlier browser version.
   2567           </dd>
   2568 
   2569           <!-- OBJECT PROPERTIES -->
   2570           <dd style="display: none; ">
   2571             <dl>
   2572               <div>
   2573                 <div>
   2574                 </div>
   2575               </div>
   2576             </dl>
   2577           </dd>
   2578 
   2579           <!-- OBJECT METHODS -->
   2580           <dd style="display: none; ">
   2581             <div></div>
   2582           </dd>
   2583 
   2584           <!-- OBJECT EVENT FIELDS -->
   2585           <dd style="display: none; ">
   2586             <div></div>
   2587           </dd>
   2588 
   2589           <!-- FUNCTION PARAMETERS -->
   2590           <dd style="display: none; ">
   2591             <div></div>
   2592           </dd>
   2593 
   2594         </div>
   2595                   </div>
   2596                 </dl>
   2597 
   2598                 <!-- CALLBACK -->
   2599                 <div style="display: none; ">
   2600                   <div>
   2601                   <h4>Callback function</h4>
   2602                   <p>
   2603                     The callback <em>parameter</em> should specify a function
   2604                     that looks like this:
   2605                   </p>
   2606                   <p>
   2607                     If you specify the <em>callback</em> parameter, it should
   2608                     specify a function that looks like this:
   2609                   </p>
   2610 
   2611                   <!-- Note: intentionally longer 80 columns -->
   2612                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   2613                   <dl>
   2614                     <div>
   2615                       <div>
   2616                       </div>
   2617                     </div>
   2618                   </dl>
   2619                   </div>
   2620                 </div>
   2621 
   2622                 <!-- MIN_VERSION -->
   2623                 <p style="display: none; ">
   2624                   This function was added in version <b><span></span></b>.
   2625                   If you require this function, the manifest key
   2626                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2627                   can ensure that your extension won't be run in an earlier browser version.
   2628                 </p>
   2629               </div> <!-- /description -->
   2630 
   2631             </div>  <!-- /apiItem -->
   2632 
   2633           </div>
   2634           </dd>
   2635 
   2636           <!-- OBJECT EVENT FIELDS -->
   2637           <dd style="display: none; ">
   2638             <div></div>
   2639           </dd>
   2640 
   2641           <!-- FUNCTION PARAMETERS -->
   2642           <dd style="display: none; ">
   2643             <div></div>
   2644           </dd>
   2645 
   2646         </div>
   2647 
   2648             </div><div class="apiItem">
   2649               <a name="type-AuditResultNode"></a>
   2650               <h4>AuditResultNode</h4>
   2651 
   2652               <div>
   2653           <dt>
   2654             <var style="display: none; ">paramName</var>
   2655               <em>
   2656 
   2657                 <!-- TYPE -->
   2658                 <div style="display:inline">
   2659                   (
   2660                     <span class="optional" style="display: none; ">optional</span>
   2661                     <span class="enum" style="display: none; ">enumerated</span>
   2662                     <span id="typeTemplate">
   2663                       <span style="display: none; ">
   2664                         <a> Type</a>
   2665                       </span>
   2666                       <span>
   2667                         <span style="display: none; ">
   2668                           array of <span><span></span></span>
   2669                         </span>
   2670                         <span>object</span>
   2671                         <span style="display: none; "></span>
   2672                       </span>
   2673                     </span>
   2674                   )
   2675                 </div>
   2676 
   2677               </em>
   2678           </dt>
   2679           <dd class="todo" style="display: none; ">
   2680             Undocumented.
   2681           </dd>
   2682           <dd>A node in the audit result trees. Displays some content and optionally has children node</dd>
   2683           <dd style="display: none; ">
   2684             This parameter was added in version
   2685             <b><span></span></b>.
   2686             You must omit this parameter in earlier versions,
   2687             and you may omit it in any version.  If you require this
   2688             parameter, the manifest key
   2689             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2690             can ensure that your extension won't be run in an earlier browser version.
   2691           </dd>
   2692 
   2693           <!-- OBJECT PROPERTIES -->
   2694           <dd>
   2695             <dl>
   2696               <div>
   2697                 <div>
   2698           <dt>
   2699             <var>expanded</var>
   2700               <em>
   2701 
   2702                 <!-- TYPE -->
   2703                 <div style="display:inline">
   2704                   (
   2705                     <span class="optional" style="display: none; ">optional</span>
   2706                     <span class="enum" style="display: none; ">enumerated</span>
   2707                     <span id="typeTemplate">
   2708                       <span style="display: none; ">
   2709                         <a> Type</a>
   2710                       </span>
   2711                       <span>
   2712                         <span style="display: none; ">
   2713                           array of <span><span></span></span>
   2714                         </span>
   2715                         <span>boolean</span>
   2716                         <span style="display: none; "></span>
   2717                       </span>
   2718                     </span>
   2719                   )
   2720                 </div>
   2721 
   2722               </em>
   2723           </dt>
   2724           <dd class="todo" style="display: none; ">
   2725             Undocumented.
   2726           </dd>
   2727           <dd>If set, the subtree will always be expanded</dd>
   2728           <dd style="display: none; ">
   2729             This parameter was added in version
   2730             <b><span></span></b>.
   2731             You must omit this parameter in earlier versions,
   2732             and you may omit it in any version.  If you require this
   2733             parameter, the manifest key
   2734             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2735             can ensure that your extension won't be run in an earlier browser version.
   2736           </dd>
   2737 
   2738           <!-- OBJECT PROPERTIES -->
   2739           <dd style="display: none; ">
   2740             <dl>
   2741               <div>
   2742                 <div>
   2743                 </div>
   2744               </div>
   2745             </dl>
   2746           </dd>
   2747 
   2748           <!-- OBJECT METHODS -->
   2749           <dd style="display: none; ">
   2750             <div></div>
   2751           </dd>
   2752 
   2753           <!-- OBJECT EVENT FIELDS -->
   2754           <dd style="display: none; ">
   2755             <div></div>
   2756           </dd>
   2757 
   2758           <!-- FUNCTION PARAMETERS -->
   2759           <dd style="display: none; ">
   2760             <div></div>
   2761           </dd>
   2762 
   2763         </div>
   2764               </div>
   2765             </dl>
   2766           </dd>
   2767 
   2768           <!-- OBJECT METHODS -->
   2769           <dd>
   2770             <div class="apiGroup">
   2771             <a name="global-AuditResultNode-methods"></a>
   2772             <h3>Methods of AuditResultNode</h3>
   2773 
   2774             <!-- iterates over all functions -->
   2775             <div class="apiItem">
   2776               <a name="method-AuditResultNode-addChild"></a> <!-- method-anchor -->
   2777               <h4>addChild</h4>
   2778 
   2779               <div class="summary"><span>AuditResultNode</span>
   2780                   <!-- Note: intentionally longer 80 columns -->
   2781                   <span>auditResultNode.addChild</span>(<span class="null"><span style="display: none; ">, </span><span>string or FormattedValue</span>
   2782                       <var><span>content ...</span></var></span>)</div>
   2783 
   2784               <div class="description">
   2785                 <p class="todo" style="display: none; ">Undocumented.</p>
   2786                 <p>Adds another child node to this node</p>
   2787 
   2788                 <!-- PARAMETERS -->
   2789                 <h4>Parameters</h4>
   2790                 <dl>
   2791                   <div>
   2792                     <div>
   2793           <dt>
   2794             <var>content ...</var>
   2795               <em>
   2796 
   2797                 <!-- TYPE -->
   2798                 <div style="display:inline">
   2799                   (
   2800                     <span class="optional" style="display: none; ">optional</span>
   2801                     <span class="enum" style="display: none; ">enumerated</span>
   2802                     <span id="typeTemplate">
   2803                       <span style="display: none; ">
   2804                         <a> Type</a>
   2805                       </span>
   2806                       <span>
   2807                         <span style="display: none; ">
   2808                           array of <span><span></span></span>
   2809                         </span>
   2810                         <span>string or FormattedValue</span>
   2811                         <span style="display: none; "></span>
   2812                       </span>
   2813                     </span>
   2814                   )
   2815                 </div>
   2816 
   2817               </em>
   2818           </dt>
   2819           <dd class="todo" style="display: none; ">
   2820             Undocumented.
   2821           </dd>
   2822           <dd>Either string or formatted values returned by one of AuditResult formatters (url, snippet etc)</dd>
   2823           <dd style="display: none; ">
   2824             This parameter was added in version
   2825             <b><span></span></b>.
   2826             You must omit this parameter in earlier versions,
   2827             and you may omit it in any version.  If you require this
   2828             parameter, the manifest key
   2829             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2830             can ensure that your extension won't be run in an earlier browser version.
   2831           </dd>
   2832 
   2833           <!-- OBJECT PROPERTIES -->
   2834           <dd style="display: none; ">
   2835             <dl>
   2836               <div>
   2837                 <div>
   2838                 </div>
   2839               </div>
   2840             </dl>
   2841           </dd>
   2842 
   2843           <!-- OBJECT METHODS -->
   2844           <dd style="display: none; ">
   2845             <div></div>
   2846           </dd>
   2847 
   2848           <!-- OBJECT EVENT FIELDS -->
   2849           <dd style="display: none; ">
   2850             <div></div>
   2851           </dd>
   2852 
   2853           <!-- FUNCTION PARAMETERS -->
   2854           <dd style="display: none; ">
   2855             <div></div>
   2856           </dd>
   2857 
   2858         </div>
   2859                   </div>
   2860                 </dl>
   2861 
   2862                 <!-- RETURNS -->
   2863                 <h4>Returns</h4>
   2864                 <dl>
   2865                   <div>
   2866                     <div>
   2867           <dt>
   2868             <var style="display: none; ">paramName</var>
   2869               <em>
   2870 
   2871                 <!-- TYPE -->
   2872                 <div style="display:inline">
   2873                   (
   2874                     <span class="optional" style="display: none; ">optional</span>
   2875                     <span class="enum" style="display: none; ">enumerated</span>
   2876                     <span id="typeTemplate">
   2877                       <span>
   2878                         <a href="experimental.webInspector.audits.html#type-AuditResultNode">AuditResultNode</a>
   2879                       </span>
   2880                       <span style="display: none; ">
   2881                         <span>
   2882                           array of <span><span></span></span>
   2883                         </span>
   2884                         <span>paramType</span>
   2885                         <span></span>
   2886                       </span>
   2887                     </span>
   2888                   )
   2889                 </div>
   2890 
   2891               </em>
   2892           </dt>
   2893           <dd class="todo">
   2894             Undocumented.
   2895           </dd>
   2896           <dd style="display: none; ">
   2897             Description of this parameter from the json schema.
   2898           </dd>
   2899           <dd style="display: none; ">
   2900             This parameter was added in version
   2901             <b><span></span></b>.
   2902             You must omit this parameter in earlier versions,
   2903             and you may omit it in any version.  If you require this
   2904             parameter, the manifest key
   2905             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2906             can ensure that your extension won't be run in an earlier browser version.
   2907           </dd>
   2908 
   2909           <!-- OBJECT PROPERTIES -->
   2910           <dd style="display: none; ">
   2911             <dl>
   2912               <div>
   2913                 <div>
   2914                 </div>
   2915               </div>
   2916             </dl>
   2917           </dd>
   2918 
   2919           <!-- OBJECT METHODS -->
   2920           <dd style="display: none; ">
   2921             <div></div>
   2922           </dd>
   2923 
   2924           <!-- OBJECT EVENT FIELDS -->
   2925           <dd style="display: none; ">
   2926             <div></div>
   2927           </dd>
   2928 
   2929           <!-- FUNCTION PARAMETERS -->
   2930           <dd style="display: none; ">
   2931             <div></div>
   2932           </dd>
   2933 
   2934         </div>
   2935                   </div>
   2936                 </dl>
   2937 
   2938                 <!-- CALLBACK -->
   2939                 <div style="display: none; ">
   2940                   <div>
   2941                   <h4>Callback function</h4>
   2942                   <p>
   2943                     The callback <em>parameter</em> should specify a function
   2944                     that looks like this:
   2945                   </p>
   2946                   <p>
   2947                     If you specify the <em>callback</em> parameter, it should
   2948                     specify a function that looks like this:
   2949                   </p>
   2950 
   2951                   <!-- Note: intentionally longer 80 columns -->
   2952                   <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
   2953                   <dl>
   2954                     <div>
   2955                       <div>
   2956                       </div>
   2957                     </div>
   2958                   </dl>
   2959                   </div>
   2960                 </div>
   2961 
   2962                 <!-- MIN_VERSION -->
   2963                 <p style="display: none; ">
   2964                   This function was added in version <b><span></span></b>.
   2965                   If you require this function, the manifest key
   2966                   <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   2967                   can ensure that your extension won't be run in an earlier browser version.
   2968                 </p>
   2969               </div> <!-- /description -->
   2970 
   2971             </div>  <!-- /apiItem -->
   2972 
   2973           </div>
   2974           </dd>
   2975 
   2976           <!-- OBJECT EVENT FIELDS -->
   2977           <dd style="display: none; ">
   2978             <div></div>
   2979           </dd>
   2980 
   2981           <!-- FUNCTION PARAMETERS -->
   2982           <dd style="display: none; ">
   2983             <div></div>
   2984           </dd>
   2985 
   2986         </div>
   2987 
   2988             </div><div class="apiItem">
   2989               <a name="type-AuditResultSeverity"></a>
   2990               <h4>AuditResultSeverity</h4>
   2991 
   2992               <div>
   2993           <dt>
   2994             <var style="display: none; ">paramName</var>
   2995               <em>
   2996 
   2997                 <!-- TYPE -->
   2998                 <div style="display:inline">
   2999                   (
   3000                     <span class="optional" style="display: none; ">optional</span>
   3001                     <span class="enum" style="display: none; ">enumerated</span>
   3002                     <span id="typeTemplate">
   3003                       <span style="display: none; ">
   3004                         <a> Type</a>
   3005                       </span>
   3006                       <span>
   3007                         <span style="display: none; ">
   3008                           array of <span><span></span></span>
   3009                         </span>
   3010                         <span>object</span>
   3011                         <span style="display: none; "></span>
   3012                       </span>
   3013                     </span>
   3014                   )
   3015                 </div>
   3016 
   3017               </em>
   3018           </dt>
   3019           <dd class="todo">
   3020             Undocumented.
   3021           </dd>
   3022           <dd style="display: none; ">
   3023             Description of this parameter from the json schema.
   3024           </dd>
   3025           <dd style="display: none; ">
   3026             This parameter was added in version
   3027             <b><span></span></b>.
   3028             You must omit this parameter in earlier versions,
   3029             and you may omit it in any version.  If you require this
   3030             parameter, the manifest key
   3031             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   3032             can ensure that your extension won't be run in an earlier browser version.
   3033           </dd>
   3034 
   3035           <!-- OBJECT PROPERTIES -->
   3036           <dd>
   3037             <dl>
   3038               <div>
   3039                 <div>
   3040           <dt>
   3041             <var>Info</var>
   3042               <em>
   3043 
   3044                 <!-- TYPE -->
   3045                 <div style="display:inline">
   3046                   (
   3047                     <span class="optional" style="display: none; ">optional</span>
   3048                     <span class="enum" style="display: none; ">enumerated</span>
   3049                     <span id="typeTemplate">
   3050                       <span style="display: none; ">
   3051                         <a> Type</a>
   3052                       </span>
   3053                       <span>
   3054                         <span style="display: none; ">
   3055                           array of <span><span></span></span>
   3056                         </span>
   3057                         <span>string</span>
   3058                         <span style="display: none; "></span>
   3059                       </span>
   3060                     </span>
   3061                   )
   3062                 </div>
   3063 
   3064               </em>
   3065           </dt>
   3066           <dd class="todo">
   3067             Undocumented.
   3068           </dd>
   3069           <dd style="display: none; ">
   3070             Description of this parameter from the json schema.
   3071           </dd>
   3072           <dd style="display: none; ">
   3073             This parameter was added in version
   3074             <b><span></span></b>.
   3075             You must omit this parameter in earlier versions,
   3076             and you may omit it in any version.  If you require this
   3077             parameter, the manifest key
   3078             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   3079             can ensure that your extension won't be run in an earlier browser version.
   3080           </dd>
   3081 
   3082           <!-- OBJECT PROPERTIES -->
   3083           <dd style="display: none; ">
   3084             <dl>
   3085               <div>
   3086                 <div>
   3087                 </div>
   3088               </div>
   3089             </dl>
   3090           </dd>
   3091 
   3092           <!-- OBJECT METHODS -->
   3093           <dd style="display: none; ">
   3094             <div></div>
   3095           </dd>
   3096 
   3097           <!-- OBJECT EVENT FIELDS -->
   3098           <dd style="display: none; ">
   3099             <div></div>
   3100           </dd>
   3101 
   3102           <!-- FUNCTION PARAMETERS -->
   3103           <dd style="display: none; ">
   3104             <div></div>
   3105           </dd>
   3106 
   3107         </div>
   3108               </div><div>
   3109                 <div>
   3110           <dt>
   3111             <var>Warning</var>
   3112               <em>
   3113 
   3114                 <!-- TYPE -->
   3115                 <div style="display:inline">
   3116                   (
   3117                     <span class="optional" style="display: none; ">optional</span>
   3118                     <span class="enum" style="display: none; ">enumerated</span>
   3119                     <span id="typeTemplate">
   3120                       <span style="display: none; ">
   3121                         <a> Type</a>
   3122                       </span>
   3123                       <span>
   3124                         <span style="display: none; ">
   3125                           array of <span><span></span></span>
   3126                         </span>
   3127                         <span>string</span>
   3128                         <span style="display: none; "></span>
   3129                       </span>
   3130                     </span>
   3131                   )
   3132                 </div>
   3133 
   3134               </em>
   3135           </dt>
   3136           <dd class="todo">
   3137             Undocumented.
   3138           </dd>
   3139           <dd style="display: none; ">
   3140             Description of this parameter from the json schema.
   3141           </dd>
   3142           <dd style="display: none; ">
   3143             This parameter was added in version
   3144             <b><span></span></b>.
   3145             You must omit this parameter in earlier versions,
   3146             and you may omit it in any version.  If you require this
   3147             parameter, the manifest key
   3148             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   3149             can ensure that your extension won't be run in an earlier browser version.
   3150           </dd>
   3151 
   3152           <!-- OBJECT PROPERTIES -->
   3153           <dd style="display: none; ">
   3154             <dl>
   3155               <div>
   3156                 <div>
   3157                 </div>
   3158               </div>
   3159             </dl>
   3160           </dd>
   3161 
   3162           <!-- OBJECT METHODS -->
   3163           <dd style="display: none; ">
   3164             <div></div>
   3165           </dd>
   3166 
   3167           <!-- OBJECT EVENT FIELDS -->
   3168           <dd style="display: none; ">
   3169             <div></div>
   3170           </dd>
   3171 
   3172           <!-- FUNCTION PARAMETERS -->
   3173           <dd style="display: none; ">
   3174             <div></div>
   3175           </dd>
   3176 
   3177         </div>
   3178               </div><div>
   3179                 <div>
   3180           <dt>
   3181             <var>Severe</var>
   3182               <em>
   3183 
   3184                 <!-- TYPE -->
   3185                 <div style="display:inline">
   3186                   (
   3187                     <span class="optional" style="display: none; ">optional</span>
   3188                     <span class="enum" style="display: none; ">enumerated</span>
   3189                     <span id="typeTemplate">
   3190                       <span style="display: none; ">
   3191                         <a> Type</a>
   3192                       </span>
   3193                       <span>
   3194                         <span style="display: none; ">
   3195                           array of <span><span></span></span>
   3196                         </span>
   3197                         <span>string</span>
   3198                         <span style="display: none; "></span>
   3199                       </span>
   3200                     </span>
   3201                   )
   3202                 </div>
   3203 
   3204               </em>
   3205           </dt>
   3206           <dd class="todo">
   3207             Undocumented.
   3208           </dd>
   3209           <dd style="display: none; ">
   3210             Description of this parameter from the json schema.
   3211           </dd>
   3212           <dd style="display: none; ">
   3213             This parameter was added in version
   3214             <b><span></span></b>.
   3215             You must omit this parameter in earlier versions,
   3216             and you may omit it in any version.  If you require this
   3217             parameter, the manifest key
   3218             <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
   3219             can ensure that your extension won't be run in an earlier browser version.
   3220           </dd>
   3221 
   3222           <!-- OBJECT PROPERTIES -->
   3223           <dd style="display: none; ">
   3224             <dl>
   3225               <div>
   3226                 <div>
   3227                 </div>
   3228               </div>
   3229             </dl>
   3230           </dd>
   3231 
   3232           <!-- OBJECT METHODS -->
   3233           <dd style="display: none; ">
   3234             <div></div>
   3235           </dd>
   3236 
   3237           <!-- OBJECT EVENT FIELDS -->
   3238           <dd style="display: none; ">
   3239             <div></div>
   3240           </dd>
   3241 
   3242           <!-- FUNCTION PARAMETERS -->
   3243           <dd style="display: none; ">
   3244             <div></div>
   3245           </dd>
   3246 
   3247         </div>
   3248               </div>
   3249             </dl>
   3250           </dd>
   3251 
   3252           <!-- OBJECT METHODS -->
   3253           <dd style="display: none; ">
   3254             <div></div>
   3255           </dd>
   3256 
   3257           <!-- OBJECT EVENT FIELDS -->
   3258           <dd style="display: none; ">
   3259             <div></div>
   3260           </dd>
   3261 
   3262           <!-- FUNCTION PARAMETERS -->
   3263           <dd style="display: none; ">
   3264             <div></div>
   3265           </dd>
   3266 
   3267         </div>
   3268 
   3269             </div> <!-- /apiItem -->
   3270 
   3271           </div> <!-- /apiGroup -->
   3272 
   3273         </div> <!-- /apiPage -->
   3274       </div> <!-- /gc-pagecontent -->
   3275     </div> <!-- /g-section -->
   3276   </div> <!-- /codesiteContent -->
   3277     <div id="gc-footer" --="">
   3278       <div class="text">
   3279   <p>
   3280   Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
   3281   the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
   3282   Attribution 3.0 License</a>, and code samples are licensed under the
   3283   <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
   3284   </p>
   3285   <p>
   3286   2011 Google
   3287   </p>
   3288 
   3289 <!-- begin analytics -->
   3290 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
   3291 <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
   3292 
   3293 <script type="text/javascript">
   3294   // chrome doc tracking
   3295   try {
   3296     var engdocs = _gat._getTracker("YT-10763712-2");
   3297     engdocs._trackPageview();
   3298   } catch(err) {}
   3299 
   3300   // code.google.com site-wide tracking
   3301   try {
   3302     _uacct="UA-18071-1";
   3303     _uanchor=1;
   3304     _uff=0;
   3305     urchinTracker();
   3306   }
   3307   catch(e) {/* urchinTracker not available. */}
   3308 </script>
   3309 <!-- end analytics -->
   3310       </div>
   3311     </div> <!-- /gc-footer -->
   3312   </div> <!-- /gc-container -->
   3313 </body></html>
   3314