diff options
author | Taym Haddadi <haddadi.taym@gmail.com> | 2025-01-05 12:37:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-05 11:37:15 +0000 |
commit | bcad0d50e96cc9ffe190d0bbe2519df1bcadcfd3 (patch) | |
tree | 6c9564a14488e25338edbc7e847b92688bd570d6 /components/script/dom/webidls/Blob.webidl | |
parent | 15eb405f36bc714a8644fb0b1e4a502ebaa7d76e (diff) | |
download | servo-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/Blob.webidl')
-rw-r--r-- | components/script/dom/webidls/Blob.webidl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/Blob.webidl b/components/script/dom/webidls/Blob.webidl index 572879ec621..14af967c2f0 100644 --- a/components/script/dom/webidls/Blob.webidl +++ b/components/script/dom/webidls/Blob.webidl @@ -17,7 +17,7 @@ interface Blob { optional [Clamp] long long end, optional DOMString contentType); - [NewObject] object stream(); + [NewObject, Throws] ReadableStream stream(); [NewObject] Promise<DOMString> text(); [NewObject] Promise<ArrayBuffer> arrayBuffer(); }; |