Bug 1671598 [wpt PR 26128] - [AspectRatio] Fix divide by zero with a small float...
[gecko.git] / dom / webidl / ExtendableEvent.webidl
blobc311b5364114b1c97721c7f2f852d178bb430f0d
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 [Exposed=ServiceWorker]
11 interface ExtendableEvent : Event {
12   constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
13   
14   // https://github.com/slightlyoff/ServiceWorker/issues/261
15   [Throws]
16   void waitUntil(Promise<any> p);
19 dictionary ExtendableEventInit : EventInit {
20   // Defined for the forward compatibility across the derived events