diff --git a/js/src/builtin/Stream.cpp b/js/src/builtin/Stream.cpp index 51cf8e9f6e..0d5d0b2701 100644 --- a/js/src/builtin/Stream.cpp +++ b/js/src/builtin/Stream.cpp @@ -6949,6 +6949,9 @@ R"JS( return closePromise; } +)JS" +R"JS( + function __uxpTransferWritableStream(stream) { if (!isWritableStream(stream)) return undefined; @@ -7104,6 +7107,9 @@ R"JS( } } +)JS" +R"JS( + function postReadableTransferPortError(record, error) { var posted = tryPostReadableTransferPort(record.port, { type: "error", value: error });