| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title>IndexedDB</title> | 5 <title>IndexedDB</title> |
| 6 <link rel="stylesheet" href="chrome://resources/css/tabs.css"> | 6 <link rel="stylesheet" href="chrome://resources/css/tabs.css"> |
| 7 <link rel="stylesheet" href="chrome://resources/css/widgets.css"> | 7 <link rel="stylesheet" href="chrome://resources/css/widgets.css"> |
| 8 <link rel="stylesheet" href="indexeddb_internals.css"> | 8 <link rel="stylesheet" href="indexeddb_internals.css"> |
| 9 </head> | 9 </head> |
| 10 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 10 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| 11 <!-- templates --> | 11 <!-- templates --> |
| 12 <div style="display:none"> | 12 <div style="display:none"> |
| 13 <div id="indexeddb-list-template"> | 13 <div id="indexeddb-list-template"> |
| 14 <div class="indexeddb-summary"> | 14 <div class="indexeddb-summary"> |
| 15 <span>IndexedDB instances</span> | 15 <span>Instances in: </span> |
| 16 <span jscontent="'(' + $this.length + ')'"></span> | 16 <span jscontent="$this.path"></span> |
| 17 <span jscontent="'(' + $this.idbs.length + ')'"></span> |
| 17 </div> | 18 </div> |
| 18 <div class="indexeddb-item" jsselect="$this"> | 19 <div class="indexeddb-item" jsselect="$this.idbs"> |
| 19 <a class="indexeddb-url" jscontent="url" jsvalues="href:url" | 20 <a class="indexeddb-url" jscontent="url" jsvalues="href:url" |
| 20 target="_blank"></a> | 21 target="_blank"></a> |
| 21 <div class="indexeddb-size"> | 22 <div class="indexeddb-size"> |
| 22 <span>Size:</span> | 23 <span>Size:</span> |
| 23 <span jscontent="size + ' bytes'"></span> | 24 <span jscontent="size + ' bytes'"></span> |
| 24 </div> | 25 </div> |
| 25 <div class="indexeddb-last-modified"> | 26 <div class="indexeddb-last-modified"> |
| 26 <span>Last modified:</span> | 27 <span>Last modified:</span> |
| 27 <span jscontent="new Date(last_modified)"></span> | 28 <span jscontent="new Date(last_modified)"></span> |
| 28 </div> | 29 </div> |
| 30 <div class="indexeddb-last-modified"> |
| 31 <span>Path:</span> |
| 32 <span jscontent="path"></span> |
| 33 </div> |
| 29 </div> | 34 </div> |
| 30 </div> | 35 </div> |
| 31 </div> | 36 </div> |
| 32 <h1>IndexedDB</h1> | 37 <h1>IndexedDB</h1> |
| 33 <div class="content"> | 38 <div class="content"> |
| 34 <div id="indexeddb-list"> | 39 <div id="indexeddb-list"> |
| 35 </div> | 40 </div> |
| 36 <script src="chrome://resources/js/util.js"></script> | 41 <script src="chrome://resources/js/util.js"></script> |
| 37 <script src="chrome://resources/js/cr.js"></script> | 42 <script src="chrome://resources/js/cr.js"></script> |
| 38 <script src="indexeddb_internals.js"></script> | 43 <script src="indexeddb_internals.js"></script> |
| 39 <script src="chrome://resources/js/load_time_data.js"></script> | 44 <script src="chrome://resources/js/load_time_data.js"></script> |
| 40 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | 45 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 41 <script src="strings.js"></script> | 46 <script src="strings.js"></script> |
| 42 <script src="chrome://resources/js/i18n_template2.js"></script> | 47 <script src="chrome://resources/js/i18n_template2.js"></script> |
| 43 </body> | 48 </body> |
| 44 </html> | 49 </html> |
| 45 | 50 |
| OLD | NEW |