<!-- Please describe your changes on the following line: --> r? @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because refactor <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 83f687a7be2d4cdda11f5ec03133c23d6d621e78
18 lines
606 B
Plaintext
18 lines
606 B
Plaintext
/* 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/. */
|
|
|
|
// https://w3c.github.io/ServiceWorker/#extendable-event
|
|
|
|
[Constructor(DOMString type,
|
|
optional ExtendableEventInit eventInitDict),
|
|
Exposed=ServiceWorker,
|
|
Pref="dom.serviceworker.enabled"]
|
|
interface ExtendableEvent : Event {
|
|
[Throws] void waitUntil(/*Promise<*/any/*>*/ f);
|
|
};
|
|
|
|
dictionary ExtendableEventInit : EventInit {
|
|
// Defined for the forward compatibility across the derived events
|
|
};
|