Issue #1587 - Part 1: Implement FetchController/FetchSignal interface

This commit is contained in:
Moonchild 2020-06-10 21:08:58 +00:00 committed by Roy Tam
commit 24087592ad
14 changed files with 416 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/.
*/
[Constructor(), Exposed=(Window,Worker),
Func="FetchController::IsEnabled"]
interface FetchController {
readonly attribute FetchSignal signal;
void abort();
void follow(FetchSignal signal);
void unfollow(FetchSignal signal);
};