mirror of
https://github.com/servo/servo.git
synced 2025-09-07 13:38:20 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -52,18 +52,16 @@ self.recordingWritableStream = (extras = {}, strategy) => {
|
|||
|
||||
return undefined;
|
||||
},
|
||||
write(chunk) {
|
||||
write(chunk, controller) {
|
||||
stream.events.push('write', chunk);
|
||||
|
||||
if (extras.write) {
|
||||
return extras.write(chunk);
|
||||
return extras.write(chunk, controller);
|
||||
}
|
||||
|
||||
return undefined;
|
||||
},
|
||||
close(...args) {
|
||||
assert_array_equals(args, [controllerToCopyOver], 'close must always be called with the controller');
|
||||
|
||||
close() {
|
||||
stream.events.push('close');
|
||||
|
||||
if (extras.close) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue