Index: modules/fetch/WorkerFetch.idl |
diff --git a/modules/fetch/WorkerFetch.idl b/modules/fetch/WorkerFetch.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c2c87e5ce4f368968c49d04ffa4e852e52e8902 |
--- /dev/null |
+++ b/modules/fetch/WorkerFetch.idl |
@@ -0,0 +1,9 @@ |
+// 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. |
+ |
+[ |
+ ImplementedAs=GlobalFetch, |
+] partial interface WorkerGlobalScope { |
+ [CallWith=ScriptState, RaisesException] Promise<Response> fetch(RequestInfo input, optional Dictionary init); |
+}; |