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.

This commit is contained in:
Brian Smith 2023-09-27 19:20:08 -05:00 committed by roytam1
commit bff1f3bc60
13 changed files with 620 additions and 24 deletions

View file

@ -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;
};