mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Streams: make writable streams transferrable (#36588)
Making writable streams transferrable, part of https://github.com/servo/servo/issues/34676 Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
05b5268061
commit
fc201927ae
7 changed files with 107 additions and 34 deletions
|
@ -845,7 +845,7 @@ impl ReadableStream {
|
|||
}
|
||||
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))]
|
||||
fn new_with_proto(
|
||||
pub(crate) fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<SafeHandleObject>,
|
||||
can_gc: CanGc,
|
||||
|
@ -1619,7 +1619,7 @@ impl ReadableStream {
|
|||
|
||||
/// <https://streams.spec.whatwg.org/#readable-stream-pipe-to>
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn pipe_to(
|
||||
pub(crate) fn pipe_to(
|
||||
&self,
|
||||
cx: SafeJSContext,
|
||||
global: &GlobalScope,
|
||||
|
@ -1782,7 +1782,7 @@ impl ReadableStream {
|
|||
}
|
||||
|
||||
/// <https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformreadable>
|
||||
fn setup_cross_realm_transform_readable(
|
||||
pub(crate) fn setup_cross_realm_transform_readable(
|
||||
&self,
|
||||
cx: SafeJSContext,
|
||||
port: &MessagePort,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue