File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33const {
44 ArrayFrom,
5+ ArrayPrototypePush,
56 MathMax,
67 MathMin,
78 ObjectDefineProperties,
@@ -424,7 +425,7 @@ function arrayBuffer(blob) {
424425 return ;
425426 }
426427 if ( buffer !== undefined )
427- buffers . push ( buffer ) ;
428+ ArrayPrototypePush ( buffers , buffer ) ;
428429 queueMicrotask ( ( ) => readNext ( ) ) ;
429430 } ) ;
430431 } ;
@@ -442,7 +443,7 @@ function createBlobReaderStream(reader) {
442443 } ,
443444 pull ( c ) {
444445 const { promise, resolve, reject } = PromiseWithResolvers ( ) ;
445- this . pendingPulls . push ( { resolve, reject } ) ;
446+ ArrayPrototypePush ( this . pendingPulls , { resolve, reject } ) ;
446447 const readNext = ( ) => {
447448 reader . pull ( ( status , buffer ) => {
448449 // If pendingPulls is empty here, the stream had to have
You can’t perform that action at this time.
0 commit comments