Bug 1805294 [wpt PR 37463] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / dom / indexedDB / nsIIDBPermissionsRequest.idl
blob4a85b19ac4a97594cafaa86b3ba8f247b868170f
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /**
7 * Interface for IDB permission requests. This is passed as the
8 * subject for the permission request observer service notifications.
9 */
10 #include "nsISupports.idl"
12 interface nsIObserver;
14 webidl Element;
16 [scriptable, builtinclass, uuid(c3493c65-0530-496e-995c-bcd38dbfce21)]
17 interface nsIIDBPermissionsRequest : nsISupports
19 // The <browser> element the permission request is coming from.
20 readonly attribute Element browserElement;
22 // The nsIObserver that can be used to send the reply notification.
23 readonly attribute nsIObserver responseObserver;