michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: [Pref="dom.sysmsg.enabled", michael@0: JSImplementation="@mozilla.org/dom/activities/request-handler;1", michael@0: ChromeConstructor(DOMString id, optional ActivityOptions options), michael@0: ChromeOnly] michael@0: interface ActivityRequestHandler michael@0: { michael@0: void postResult(any result); michael@0: void postError(DOMString error); michael@0: [Pure, Cached, Frozen] michael@0: readonly attribute ActivityOptions source; michael@0: };