OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#chang
es-argument | 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#chang
es-argument |
6 | 6 |
7 [ | 7 [ |
8 Exposed=(Window, Worker), | 8 Exposed=(Window, Worker), |
9 RuntimeEnabled=IDBObserver | 9 RuntimeEnabled=IDBObserver |
10 ] interface IDBObserverChanges { | 10 ] interface IDBObserverChanges { |
11 readonly attribute IDBDatabase database; | 11 readonly attribute IDBDatabase database; |
12 // Transaction contains the same object stores as the transaction on which I
DBTransaction.observe was called. | 12 // Transaction contains the same object stores as the transaction on which I
DBTransaction.observe was called. |
13 readonly attribute IDBTransaction transaction; | 13 readonly attribute IDBTransaction transaction; |
14 // Map object from String (object store name) to Array of IDBObservation. | 14 // Map object from String (object store name) to Array of IDBObservation. |
15 [CallWith=ScriptState] readonly attribute any records; | 15 [CallWith=ScriptState] readonly attribute any records; |
16 }; | 16 }; |
17 | |
18 | |
OLD | NEW |