1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 import { GeckoViewActorChild } from "resource://gre/modules/GeckoViewActorChild.sys.mjs";
7 export class GeckoViewPromptChild extends GeckoViewActorChild {
9 const { type } = event;
10 debug`handleEvent: ${type}`;
13 case "MozOpenDateTimePicker":
14 case "mozshowdropdown":
15 case "mozshowdropdown-sourcetouch":
18 case "DOMPopupBlocked":
19 Services.prompt.wrappedJSObject.handleEvent(event);
24 const { debug, warn } = GeckoViewPromptChild.initLogging("GeckoViewPrompt");