Index: content/browser/resources/indexed_db/indexeddb_internals.js |
diff --git a/content/browser/resources/indexed_db/indexeddb_internals.js b/content/browser/resources/indexed_db/indexeddb_internals.js |
index 045d355b78e35e62ef449c733955dfb8f649e183..9f589e32b0b917e45c11bbf4e813b1e01b9e826b 100644 |
--- a/content/browser/resources/indexed_db/indexeddb_internals.js |
+++ b/content/browser/resources/indexed_db/indexeddb_internals.js |
@@ -6,11 +6,21 @@ cr.define('indexeddb', function() { |
'use strict'; |
function initialize() { |
+ chrome.send('getAllOrigins'); |
+ } |
+ |
+ function onOriginsReady(origins) { |
+ console.log('Origins: ', origins); |
+ var template = jstGetTemplate('indexeddb-list-template'); |
+ var container = $('indexeddb-list'); |
+ container.appendChild(template); |
+ jstProcess(new JsEvalContext(origins), template); |
} |
return { |
- initialize: initialize, |
+ initialize: initialize, |
+ onOriginsReady: onOriginsReady, |
}; |
}); |