Index: modules/serviceworkers/Response.idl |
diff --git a/modules/serviceworkers/Response.idl b/modules/serviceworkers/Response.idl |
deleted file mode 100644 |
index d3cd258a63f9952fe7e3d9d17dcc502631e4b61d..0000000000000000000000000000000000000000 |
--- a/modules/serviceworkers/Response.idl |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// 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. |
- |
-// http://fetch.spec.whatwg.org/#response-class |
- |
-enum ResponseType { "basic", "cors", "default", "error", "opaque" }; |
- |
-[ |
- // FIXME: Add ctors for FormData and URLSearchParams response bodies. |
- Constructor(ScalarValueString body, optional Dictionary responseInitDict), |
- Constructor(Blob? body, optional Dictionary responseInitDict), |
- Constructor(ArrayBuffer input, optional Dictionary requestInitDict), |
- Constructor(ArrayBufferView input, optional Dictionary requestInitDict), |
- ConstructorCallWith=ExecutionContext, |
- RuntimeEnabled=ServiceWorker, |
- Exposed=ServiceWorker, |
- RaisesException=Constructor, |
- GarbageCollected, |
-] interface Response { |
- // FIXME: Implement redirect(). |
- readonly attribute ResponseType type; |
- readonly attribute ScalarValueString url; |
- readonly attribute unsigned short status; |
- readonly attribute ByteString statusText; |
- readonly attribute Headers headers; |
- |
- Response clone(); |
-}; |
- |
-Response implements Body; |