aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Body.webidl
diff options
context:
space:
mode:
authorTaym Haddadi <haddadi.taym@gmail.com>2025-01-05 12:37:15 +0100
committerGitHub <noreply@github.com>2025-01-05 11:37:15 +0000
commitbcad0d50e96cc9ffe190d0bbe2519df1bcadcfd3 (patch)
tree6c9564a14488e25338edbc7e847b92688bd570d6 /components/script/dom/webidls/Body.webidl
parent15eb405f36bc714a8644fb0b1e4a502ebaa7d76e (diff)
downloadservo-bcad0d50e96cc9ffe190d0bbe2519df1bcadcfd3.tar.gz
servo-bcad0d50e96cc9ffe190d0bbe2519df1bcadcfd3.zip
ReadableStream: remove the use of get_js_stream and use DomRoot<ReadableStream> (#34836)
* Remove the use of get_js_stream and use DomRoot<ReadableStream> Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> * return an error instead of Option Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
Diffstat (limited to 'components/script/dom/webidls/Body.webidl')
-rw-r--r--components/script/dom/webidls/Body.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/Body.webidl b/components/script/dom/webidls/Body.webidl
index 5de4aa36813..1c730f499c1 100644
--- a/components/script/dom/webidls/Body.webidl
+++ b/components/script/dom/webidls/Body.webidl
@@ -7,7 +7,7 @@
[Exposed=(Window,Worker)]
interface mixin Body {
readonly attribute boolean bodyUsed;
- readonly attribute object? body;
+ readonly attribute ReadableStream? body;
[NewObject] Promise<ArrayBuffer> arrayBuffer();
[NewObject] Promise<Blob> blob();