2013-10-02 17:27:15 +00: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 09:54:38 +00:00
|
|
|
|
|
|
|
// When |operation| is "clear" or "done", this must return null.
|
|
|
|
DataStoreKey? id = null;
|
|
|
|
|
2013-10-02 17:27:15 +00:00
|
|
|
DOMString operation = "";
|
2014-02-28 07:34:38 +00:00
|
|
|
DOMString owner = "";
|
2013-10-02 17:27:15 +00:00
|
|
|
};
|
|
|
|
|
2014-02-06 17:44:03 +00:00
|
|
|
[Func="Navigator::HasDataStoreSupport",
|
2013-10-02 17:27:15 +00:00
|
|
|
Constructor(DOMString type, optional DataStoreChangeEventInit eventInitDict)]
|
|
|
|
interface DataStoreChangeEvent : Event {
|
|
|
|
readonly attribute DOMString revisionId;
|
2014-04-28 09:54:38 +00:00
|
|
|
readonly attribute DataStoreKey? id;
|
2013-10-02 17:27:15 +00:00
|
|
|
readonly attribute DOMString operation;
|
2014-02-28 07:34:38 +00:00
|
|
|
readonly attribute DOMString owner;
|
2013-10-02 17:27:15 +00:00
|
|
|
};
|