summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-09-27 19:08:24 -0500
committerBrian Smith <brian@dbsoft.org>2023-09-27 19:08:24 -0500
commit8c5a0f0de9ece809942d8e412246194540d4e2b0 (patch)
tree87c49a4c7f83615f51f7960c0dfb8ea174ac5cc9 /dom/webidl
parentcc8f43bf79e82235c2a5b85d18f39f729b46615b (diff)
downloaduxp-8c5a0f0de9ece809942d8e412246194540d4e2b0.tar.gz
Issue #1442 - Part 7: Use of ReadableStream in WebIDL files.
https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Response.webidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/webidl/Response.webidl b/dom/webidl/Response.webidl
index 08f31fe29a..adaa70d66d 100644
--- a/dom/webidl/Response.webidl
+++ b/dom/webidl/Response.webidl
@@ -30,6 +30,11 @@ interface Response {
};
Response implements Body;
+// This should be part of Body but we don't want to expose body to request yet.
+partial interface Response {
+ readonly attribute ReadableStream? body;
+};
+
dictionary ResponseInit {
unsigned short status = 200;
ByteString statusText = "OK";