mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bdb6a06376
This patch ports over the ActivityRequestHandler interface. Unfortunately the original design of the interface specifies that ActivityRequestHandler.source should be of type ActivityOptions which is a dictionary. This is not expressible in WebIDL, so for now we're just using the type 'object' for that.
15 lines
528 B
Plaintext
15 lines
528 B
Plaintext
/* 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/. */
|
|
|
|
[Pref="dom.sysmsg.enabled",
|
|
JSImplementation="@mozilla.org/dom/activities/request-handler;1",
|
|
ChromeConstructor(DOMString id, optional ActivityOptions options),
|
|
ChromeOnly]
|
|
interface ActivityRequestHandler
|
|
{
|
|
void postResult(any result);
|
|
void postError(DOMString error);
|
|
readonly attribute object source;
|
|
};
|