blob: ed6ff178ac11784a979ce431b6b2dd3184ece989 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://fetch.spec.whatwg.org/#fetch-method
[
ImplementedAs=GlobalFetch
] partial interface Window {
[CallWith=ScriptState, NewObject, RaisesException] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});
};