| 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 jsvalues="$partition_path:$this.partition_path"> |
| 14 <div class="indexeddb-summary"> | 15 <div class="indexeddb-summary"> |
| 15 <span>Instances in: </span> | 16 <span>Instances in: </span> |
| 16 <span jscontent="$this.path"></span> | 17 <span jscontent="$this.partition_path"></span> |
| 17 <span jscontent="'(' + $this.idbs.length + ')'"></span> | 18 <span jscontent="'(' + $this.idbs.length + ')'"></span> |
| 18 </div> | 19 </div> |
| 19 <div class="indexeddb-item" jsselect="$this.idbs"> | 20 <div class="indexeddb-item" jsselect="$this.idbs"> |
| 20 <a class="indexeddb-url" jscontent="url" jsvalues="href:url" | 21 <a class="indexeddb-url" jscontent="url" jsvalues="href:url" |
| 21 target="_blank"></a> | 22 target="_blank"></a> |
| 22 <div class="indexeddb-size"> | 23 <div class="indexeddb-size"> |
| 23 <span>Size:</span> | 24 <span>Size:</span> |
| 24 <span jscontent="size + ' bytes'"></span> | 25 <span jscontent="size + ' bytes'"></span> |
| 25 </div> | 26 </div> |
| 26 <div class="indexeddb-last-modified"> | 27 <div class="indexeddb-last-modified"> |
| 27 <span>Last modified:</span> | 28 <span>Last modified:</span> |
| 28 <span jscontent="new Date(last_modified)"></span> | 29 <span jscontent="new Date(last_modified)"></span> |
| 29 </div> | 30 </div> |
| 30 <div class="indexeddb-last-modified"> | 31 <div class="indexeddb-last-modified"> |
| 31 <span>Path:</span> | 32 <span>Path:</span> |
| 32 <span jscontent="path"></span> | 33 <span jscontent="path"></span> |
| 33 </div> | 34 </div> |
| 35 <div class="controls"> |
| 36 <a href="#" class="download" |
| 37 jsvalues=".idb_origin_url:url;.idb_partition_path:$partit
ion_path">Download</a> |
| 38 <span class="download-status" style="display: none">Loading.
..</span> |
| 39 </div> |
| 34 </div> | 40 </div> |
| 35 </div> | 41 </div> |
| 36 </div> | 42 </div> |
| 37 <h1>IndexedDB</h1> | 43 <h1>IndexedDB</h1> |
| 38 <div class="content"> | 44 <div class="content"> |
| 39 <div id="indexeddb-list"> | 45 <div id="indexeddb-list"> |
| 40 </div> | 46 </div> |
| 41 <script src="chrome://resources/js/util.js"></script> | 47 <script src="chrome://resources/js/util.js"></script> |
| 42 <script src="chrome://resources/js/cr.js"></script> | 48 <script src="chrome://resources/js/cr.js"></script> |
| 43 <script src="indexeddb_internals.js"></script> | 49 <script src="indexeddb_internals.js"></script> |
| 44 <script src="chrome://resources/js/load_time_data.js"></script> | 50 <script src="chrome://resources/js/load_time_data.js"></script> |
| 45 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | 51 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 46 <script src="strings.js"></script> | 52 <script src="strings.js"></script> |
| 47 <script src="chrome://resources/js/i18n_template2.js"></script> | 53 <script src="chrome://resources/js/i18n_template2.js"></script> |
| 48 </body> | 54 </body> |
| 49 </html> | 55 </html> |
| 50 | 56 |
| OLD | NEW |