mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Script implement TransformStream and TransformStreamDefaultController (#36739)
Part of https://github.com/servo/servo/issues/34676 --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> Signed-off-by: Taym <haddadi.taym@gmail.com> Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
d39b9f05ff
commit
f3f4cc5500
30 changed files with 1784 additions and 48 deletions
|
@ -383,7 +383,6 @@ impl ReadableStreamDefaultController {
|
|||
}
|
||||
|
||||
/// <https://streams.spec.whatwg.org/#set-up-readable-stream-default-controller>
|
||||
#[allow(unsafe_code)]
|
||||
pub(crate) fn setup(
|
||||
&self,
|
||||
stream: DomRoot<ReadableStream>,
|
||||
|
@ -866,7 +865,6 @@ impl ReadableStreamDefaultController {
|
|||
}
|
||||
|
||||
/// <https://streams.spec.whatwg.org/#rs-default-controller-has-backpressure>
|
||||
#[allow(unused)]
|
||||
pub(crate) fn has_backpressure(&self) -> bool {
|
||||
// If ! ReadableStreamDefaultControllerShouldCallPull(controller) is true, return false.
|
||||
// Otherwise, return true.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue