Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / dom / webidl / InstallPhaseEvent.webidl
blob93da4e6db98e10cd8de323c7402d9f1048bfdd00
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/.
5  *
6  * For more information on this interface, please see
7  * http://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html
8  */
10 // While not explicitly restricted to ServiceWorkerGlobalScope, it probably
11 // should be. https://github.com/slightlyoff/ServiceWorker/issues/254
12 [Constructor(DOMString type, optional EventInit eventInitDict),
13  Func="mozilla::dom::workers::ServiceWorkerEventsVisible",
14  Exposed=(ServiceWorker,Window)]
15 interface InstallPhaseEvent : Event {
16   // https://github.com/slightlyoff/ServiceWorker/issues/261
17   void waitUntil(Promise<any> p);