Chromium Code Reviews| 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> |