Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: sky/framework/inspector/indexeddb-agent.sky

Issue 674823003: Add basic console support to Sky's inspector. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: No need to change abarth.sky now Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/framework/inspector/inspector.sky » ('j') | sky/framework/inspector/runtime-agent.sky » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/inspector/indexeddb-agent.sky
diff --git a/sky/framework/inspector/indexeddb-agent.sky b/sky/framework/inspector/indexeddb-agent.sky
new file mode 100644
index 0000000000000000000000000000000000000000..670ba14219d8c04dcb1dc5afaed2fa138f8cb759
--- /dev/null
+++ b/sky/framework/inspector/indexeddb-agent.sky
@@ -0,0 +1,11 @@
+<script>
+function IndexedDB() {
+}
+
+// Needed to make the inspector not throw an exception.
+IndexedDB.prototype.requestDatabaseNames = function() {
+ return { "databaseNames": [] };
+};
+
+this.exports = IndexedDB;
+</script>
« no previous file with comments | « no previous file | sky/framework/inspector/inspector.sky » ('j') | sky/framework/inspector/runtime-agent.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698