blob: 53439e53d774ce7d22e1e0d29309a1a48cdf5193 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
Constructor(DOMString type, FetchEventInit eventInitDict),
] interface FetchEvent : ExtendableEvent {
[SameObject] readonly attribute Request request;
readonly attribute DOMString clientId;
readonly attribute DOMString resultingClientId;
readonly attribute boolean isReload;
[CallWith=ScriptState, RaisesException] void respondWith(Promise<Response> r);
[CallWith=ScriptState] readonly attribute Promise<any> preloadResponse;