Title: [264915] releases/WebKitGTK/webkit-2.28/Source/WebCore
Revision
264915
Author
carlo...@webkit.org
Date
2020-07-27 03:48:23 -0700 (Mon, 27 Jul 2020)

Log Message

Merge r262739 - Use usual promise in readableStreamTee
https://bugs.webkit.org/show_bug.cgi?id=212715

Reviewed by Mark Lam.

The spec[1] is organized to be OK to use usual promises here. This patch uses usual promises instead of internal ones.

[1]: https://streams.spec.whatwg.org/#readable-stream-tee

* Modules/streams/ReadableStreamInternals.js:
(readableStreamTee):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.28/Source/WebCore/ChangeLog (264914 => 264915)


--- releases/WebKitGTK/webkit-2.28/Source/WebCore/ChangeLog	2020-07-27 10:48:18 UTC (rev 264914)
+++ releases/WebKitGTK/webkit-2.28/Source/WebCore/ChangeLog	2020-07-27 10:48:23 UTC (rev 264915)
@@ -1,3 +1,17 @@
+2020-06-08  Yusuke Suzuki  <ysuz...@apple.com>
+
+        Use usual promise in readableStreamTee
+        https://bugs.webkit.org/show_bug.cgi?id=212715
+
+        Reviewed by Mark Lam.
+
+        The spec[1] is organized to be OK to use usual promises here. This patch uses usual promises instead of internal ones.
+
+        [1]: https://streams.spec.whatwg.org/#readable-stream-tee
+
+        * Modules/streams/ReadableStreamInternals.js:
+        (readableStreamTee):
+
 2020-06-10  Brent Fulgham  <bfulg...@apple.com>
 
         Improve CSP compliance under PSON

Modified: releases/WebKitGTK/webkit-2.28/Source/WebCore/Modules/streams/ReadableStreamInternals.js (264914 => 264915)


--- releases/WebKitGTK/webkit-2.28/Source/WebCore/Modules/streams/ReadableStreamInternals.js	2020-07-27 10:48:18 UTC (rev 264914)
+++ releases/WebKitGTK/webkit-2.28/Source/WebCore/Modules/streams/ReadableStreamInternals.js	2020-07-27 10:48:23 UTC (rev 264915)
@@ -137,7 +137,7 @@
         reason2: @undefined,
     };
 
-    teeState.cancelPromiseCapability = @newPromiseCapability(@InternalPromise);
+    teeState.cancelPromiseCapability = @newPromiseCapability(@Promise);
 
     const pullFunction = @readableStreamTeePullFunction(teeState, reader, shouldClone);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to