summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-09-27 19:20:08 -0500
committerBrian Smith <brian@dbsoft.org>2023-09-27 19:20:08 -0500
commit4a179ff8855552d2c19b72e82f1d7f7a84a401fa (patch)
tree3aa2d56896f9d01a80511c253c9f38d35bcb598b /dom/webidl
parent8c5a0f0de9ece809942d8e412246194540d4e2b0 (diff)
downloaduxp-4a179ff8855552d2c19b72e82f1d7f7a84a401fa.tar.gz
Issue #1442 - Part 8: Fetch implementation of streams.
https://bugzilla.mozilla.org/show_bug.cgi?id=1128959 +worker-friendly pref checking for the DOM API.
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Response.webidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/webidl/Response.webidl b/dom/webidl/Response.webidl
index adaa70d66d..d02b714f7d 100644
--- a/dom/webidl/Response.webidl
+++ b/dom/webidl/Response.webidl
@@ -32,6 +32,7 @@ Response implements Body;
// This should be part of Body but we don't want to expose body to request yet.
partial interface Response {
+ [GetterThrows, Func="nsContentUtils::StreamsEnabled"]
readonly attribute ReadableStream? body;
};