Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#chang es-argument | |
| 6 | |
| 7 [ | |
| 8 RuntimeEnabled=IDBObserver | |
| 9 ] interface IDBObserverChanges { | |
| 10 readonly attribute IDBDatabase database; | |
| 11 // Transaction contains the same object stores as the transaction on which I DBTransaction.observe was called. | |
| 12 readonly attribute IDBTransaction transaction; | |
| 13 // This is the javascript Map<String, sequence<IDBObserverChangesRecord>>, | |
| 14 // where the key is the object store name. | |
| 15 [CallWith=ScriptState] readonly attribute any records; | |
|
bashi
2016/06/13 01:35:51
Can you elaborate why you don't use maplike<DOMStr
dmurph
2016/06/13 17:23:52
Unless the bindings generator we have is different
palakj1
2016/06/13 21:30:12
Indeed, as dmuprh pointed out, I cannot declare ma
| |
| 16 }; | |
| 17 | |
| OLD | NEW |