2013-10-02 21:27:15 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
dictionary DataStoreChangeEventInit : EventInit {
|
|
|
|
DOMString revisionId = "";
|
2014-04-28 13:54:38 +04:00
|
|
|
|
|
|
|
// When |operation| is "clear" or "done", this must return null.
|
|
|
|
DataStoreKey? id = null;
|
|
|
|
|
2013-10-02 21:27:15 +04:00
|
|
|
DOMString operation = "";
|
2014-02-28 11:34:38 +04:00
|
|
|
DOMString owner = "";
|
2013-10-02 21:27:15 +04:00
|
|
|
};
|
|
|
|
|
2014-02-06 21:44:03 +04:00
|
|
|
[Func="Navigator::HasDataStoreSupport",
|
2013-10-02 21:27:15 +04:00
|
|
|
Constructor(DOMString type, optional DataStoreChangeEventInit eventInitDict)]
|
|
|
|
interface DataStoreChangeEvent : Event {
|
|
|
|
readonly attribute DOMString revisionId;
|
2014-04-28 13:54:38 +04:00
|
|
|
readonly attribute DataStoreKey? id;
|
2013-10-02 21:27:15 +04:00
|
|
|
readonly attribute DOMString operation;
|
2014-02-28 11:34:38 +04:00
|
|
|
readonly attribute DOMString owner;
|
2013-10-02 21:27:15 +04:00
|
|
|
};
|