2014-03-22 17:52:21 +04:00
|
|
|
/* 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",
|
2015-11-09 17:33:00 +03:00
|
|
|
ChromeConstructor(DOMString id, optional ActivityOptions options, optional boolean returnvalue),
|
2014-03-22 17:52:21 +04:00
|
|
|
ChromeOnly]
|
|
|
|
interface ActivityRequestHandler
|
|
|
|
{
|
2014-12-21 19:54:37 +03:00
|
|
|
[UnsafeInPrerendering]
|
2014-03-22 17:52:21 +04:00
|
|
|
void postResult(any result);
|
2014-12-21 19:54:37 +03:00
|
|
|
[UnsafeInPrerendering]
|
2014-03-22 17:52:21 +04:00
|
|
|
void postError(DOMString error);
|
2014-03-22 17:54:40 +04:00
|
|
|
[Pure, Cached, Frozen]
|
|
|
|
readonly attribute ActivityOptions source;
|
2014-03-22 17:52:21 +04:00
|
|
|
};
|