mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae
This commit is contained in:
parent
b23125d590
commit
6c901de216
844 changed files with 19802 additions and 3093 deletions
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
function readableStreamToArray(stream) {
|
||||
var array = [];
|
||||
var writable = new WritableStream({
|
||||
write(chunk) {
|
||||
array.push(chunk);
|
||||
}
|
||||
});
|
||||
return stream.pipeTo(writable).then(() => array);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue