blob: 80908203103ce322015b00712c8ec042c2c031de [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#changes-argument
[
Exposed=(Window, Worker),
RuntimeEnabled=IDBObserver
] interface IDBObserverChanges {
readonly attribute IDBDatabase database;
// Transaction contains the same object stores as the transaction on which IDBTransaction.observe was called.
readonly attribute IDBTransaction transaction;
// Map object from String (object store name) to Array of IDBObservation.
[CallWith=ScriptState] readonly attribute any records;
};