Changeset 194366 in webkit
- Timestamp:
- Dec 22, 2015, 10:20:49 AM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 deleted
- 21 edited
-
ChangeLog (modified) (1 diff)
-
streams/brand-checks.html (modified) (1 diff)
-
streams/pipe-to.html (modified) (1 diff)
-
streams/readable-stream-controller-error.html (modified) (1 diff)
-
streams/readable-stream-pipeThrough.html (modified) (2 diffs)
-
streams/readable-stream-reader-read.html (modified) (2 diffs)
-
streams/reference-implementation/abstract-ops.html (modified) (1 diff)
-
streams/reference-implementation/bad-strategies.html (modified) (6 diffs)
-
streams/reference-implementation/bad-underlying-sinks.html (modified) (1 diff)
-
streams/reference-implementation/bad-underlying-sources-expected.txt (deleted)
-
streams/reference-implementation/brand-checks.html (modified) (3 diffs)
-
streams/reference-implementation/byte-length-queuing-strategy.html (modified) (1 diff)
-
streams/reference-implementation/count-queuing-strategy.html (modified) (11 diffs)
-
streams/reference-implementation/pipe-through.html (modified) (1 diff)
-
streams/reference-implementation/pipe-to-options.html (modified) (1 diff)
-
streams/reference-implementation/pipe-to.html (modified) (1 diff)
-
streams/reference-implementation/readable-stream-templated.html (modified) (3 diffs)
-
streams/reference-implementation/transform-stream-errors.html (modified) (1 diff)
-
streams/reference-implementation/transform-stream.html (modified) (1 diff)
-
streams/reference-implementation/writable-stream-abort.html (modified) (1 diff)
-
streams/reference-implementation/writable-stream-expected.txt (modified) (1 diff)
-
streams/reference-implementation/writable-stream.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194365 r194366 1 2015-12-22 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [Streams API] Fix cosmetic things after importing spec tests 4 https://bugs.webkit.org/show_bug.cgi?id=152479 5 6 Reviewed by Youenn Fablet. 7 8 Spec version are mainly updated in this patch as it wasn't done when importing tests from the spec. Some other 9 minor changes were done, as renumbering some tests, removing some orphan expectations and other styling issues. 10 11 * streams/brand-checks.html: 12 * streams/pipe-to.html: 13 * streams/readable-stream-controller-error.html: 14 * streams/readable-stream-pipeThrough.html: 15 * streams/readable-stream-reader-read.html: 16 * streams/reference-implementation/abstract-ops.html: 17 * streams/reference-implementation/bad-strategies.html: 18 * streams/reference-implementation/bad-underlying-sinks.html: 19 * streams/reference-implementation/bad-underlying-sources-expected.txt: Removed. 20 * streams/reference-implementation/brand-checks.html: 21 * streams/reference-implementation/byte-length-queuing-strategy.html: 22 * streams/reference-implementation/count-queuing-strategy.html: 23 * streams/reference-implementation/pipe-through.html: 24 * streams/reference-implementation/pipe-to-options.html: 25 * streams/reference-implementation/pipe-to.html: 26 * streams/reference-implementation/readable-stream-templated.html: 27 * streams/reference-implementation/transform-stream-errors.html: 28 * streams/reference-implementation/transform-stream.html: 29 * streams/reference-implementation/writable-stream-abort.html: 30 * streams/reference-implementation/writable-stream-expected.txt: 31 * streams/reference-implementation/writable-stream.html: 32 1 33 2015-12-22 Ryan Haddad <ryanhaddad@apple.com> 2 34 -
trunk/LayoutTests/streams/brand-checks.html
r193824 r194366 4 4 <script src='reference-implementation/resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 6 8 let ReadableStreamReader = (new ReadableStream()).getReader().constructor; 7 9 -
trunk/LayoutTests/streams/pipe-to.html
r192765 r194366 4 4 <script src='reference-implementation/resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 // This test is alone here for timing reasons though it should be at streams/reference-implementation/pipe-to.html. -
trunk/LayoutTests/streams/readable-stream-controller-error.html
r191292 r194366 3 3 <script src='../resources/testharnessreport.js'></script> 4 4 <script> 5 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909395 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 6 6 7 7 var test1 = async_test('Erroring a ReadableStream after checking closed should reject ReadableStreamReader closed promise'); -
trunk/LayoutTests/streams/readable-stream-pipeThrough.html
r190155 r194366 4 4 <script src='../resources/gc.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 6 7 7 8 test(function() { … … 79 80 assert_equals(count, 3); 80 81 }, 'ReadableStream.prototype.pipeThrough should work with missing parameters'); 81 82 82 </script> -
trunk/LayoutTests/streams/readable-stream-reader-read.html
r190395 r194366 3 3 <script src='../resources/testharnessreport.js'></script> 4 4 <script> 5 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909395 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 6 6 7 7 var test1 = async_test('Reading twice on a stream that gets closed'); … … 151 151 })); 152 152 }); 153 154 153 </script> -
trunk/LayoutTests/streams/reference-implementation/abstract-ops.html
r192621 r194366 3 3 <script src='../../resources/testharnessreport.js'></script> 4 4 <script src='resources/streams-utils.js'></script> 5 <!-- FIXME: enable IsReadableStreamDisturbed -->6 5 <script> 7 6 const IsReadableStreamDisturbed = internals.isReadableStreamDisturbed.bind(internals); 8 7 9 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909398 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 10 9 11 10 test(function() { -
trunk/LayoutTests/streams/reference-implementation/bad-strategies.html
r193824 r194366 3 3 <script src='../../resources/testharnessreport.js'></script> 4 4 <script> 5 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909395 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 6 6 7 7 test(function() { … … 18 18 }, 'Writable stream: throwing strategy.size getter'); 19 19 20 var test 3= async_test('Writable stream: throwing strategy.size method');21 test 3.step(function() {20 var test1 = async_test('Writable stream: throwing strategy.size method'); 21 test1.step(function() { 22 22 var theError = new Error('a unique string'); 23 23 var writeCalled = false; … … 32 32 33 33 ws.write('a').then( 34 test 3.step_func(function() { assert_unreached('write should not fulfill'); }),35 test 3.step_func(function(r) {34 test1.step_func(function() { assert_unreached('write should not fulfill'); }), 35 test1.step_func(function(r) { 36 36 assert_equals(r, theError, 'write should reject with the thrown error'); 37 37 writeCalled = true; … … 40 40 41 41 ws.closed.then( 42 test 3.step_func(function() { assert_unreached('closed should not fulfill'); }),43 test 3.step_func(function(r) {42 test1.step_func(function() { assert_unreached('closed should not fulfill'); }), 43 test1.step_func(function(r) { 44 44 assert_equals(r, theError, 'closed should reject with the thrown error'); 45 45 assert_true(writeCalled); 46 test 3.done();46 test1.done(); 47 47 }) 48 48 ); 49 49 }); 50 50 51 var test 4= async_test('Writable stream: invalid strategy.size return value');52 test 4.step(function() {51 var test2 = async_test('Writable stream: invalid strategy.size return value'); 52 test2.step(function() { 53 53 var numberOfCalls = 0; 54 54 var elements = [NaN, -Infinity, +Infinity, -1]; … … 69 69 }; 70 70 ws.write('a').then( 71 test 4.step_func(function() { assert_unreached('write should not fulfill'); }),72 test 4.step_func(writeFunction.bind(this, i))71 test2.step_func(function() { assert_unreached('write should not fulfill'); }), 72 test2.step_func(writeFunction.bind(this, i)) 73 73 ); 74 74 … … 76 76 assert_equals(e, theError[i], 'closed should reject with the error for ' + elements[i]); 77 77 if (++numberOfCalls, elements.length) { 78 test 4.done();78 test2.done(); 79 79 } 80 80 }; 81 81 82 ws.closed.catch(test 4.step_func(catchFunction.bind(this, i)));82 ws.closed.catch(test2.step_func(catchFunction.bind(this, i))); 83 83 } 84 84 }); -
trunk/LayoutTests/streams/reference-implementation/bad-underlying-sinks.html
r190161 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 test(function() { -
trunk/LayoutTests/streams/reference-implementation/brand-checks.html
r193824 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 function fakeWritableStream() { … … 53 53 } 54 54 55 var test 6= async_test('WritableStream.prototype.closed enforces a brand check');56 test 6.step(function() {57 getterRejects(test 6, WritableStream.prototype, 'closed', fakeWritableStream());58 getterRejects(test 6, WritableStream.prototype, 'closed', realReadableStream(), true);55 var test1 = async_test('WritableStream.prototype.closed enforces a brand check'); 56 test1.step(function() { 57 getterRejects(test1, WritableStream.prototype, 'closed', fakeWritableStream()); 58 getterRejects(test1, WritableStream.prototype, 'closed', realReadableStream(), true); 59 59 }); 60 60 61 var test 7= async_test('WritableStream.prototype.ready enforces a brand check');62 test 7.step(function() {63 getterRejects(test 7, WritableStream.prototype, 'ready', fakeWritableStream());64 getterRejects(test 7, WritableStream.prototype, 'ready', realReadableStream(), true);61 var test2 = async_test('WritableStream.prototype.ready enforces a brand check'); 62 test2.step(function() { 63 getterRejects(test2, WritableStream.prototype, 'ready', fakeWritableStream()); 64 getterRejects(test2, WritableStream.prototype, 'ready', realReadableStream(), true); 65 65 }); 66 66 … … 70 70 }, 'WritableStream.prototype.state enforces a brand check'); 71 71 72 var test 8= async_test('WritableStream.prototype.abort enforces a brand check');73 test 8.step(function() {74 methodRejects(test 8, WritableStream.prototype, 'abort', fakeWritableStream());75 methodRejects(test 8, WritableStream.prototype, 'abort', realReadableStream(), true);72 var test3 = async_test('WritableStream.prototype.abort enforces a brand check'); 73 test3.step(function() { 74 methodRejects(test3, WritableStream.prototype, 'abort', fakeWritableStream()); 75 methodRejects(test3, WritableStream.prototype, 'abort', realReadableStream(), true); 76 76 }); 77 77 78 var test 9= async_test('WritableStream.prototype.write enforces a brand check');79 test 9.step(function() {80 methodRejects(test 9, WritableStream.prototype, 'write', fakeWritableStream());81 methodRejects(test 9, WritableStream.prototype, 'write', realReadableStream(), true);78 var test4 = async_test('WritableStream.prototype.write enforces a brand check'); 79 test4.step(function() { 80 methodRejects(test4, WritableStream.prototype, 'write', fakeWritableStream()); 81 methodRejects(test4, WritableStream.prototype, 'write', realReadableStream(), true); 82 82 }); 83 83 84 var test 10= async_test('WritableStream.prototype.close enforces a brand check');85 test 10.step(function() {86 methodRejects(test 10, WritableStream.prototype, 'close', fakeWritableStream());87 methodRejects(test 10, WritableStream.prototype, 'close', realReadableStream(), true);84 var test5 = async_test('WritableStream.prototype.close enforces a brand check'); 85 test5.step(function() { 86 methodRejects(test5, WritableStream.prototype, 'close', fakeWritableStream()); 87 methodRejects(test5, WritableStream.prototype, 'close', realReadableStream(), true); 88 88 }); 89 89 </script> -
trunk/LayoutTests/streams/reference-implementation/byte-length-queuing-strategy.html
r193824 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('Closing a writable stream with in-flight writes below the high water mark delays the close call properly'); -
trunk/LayoutTests/streams/reference-implementation/count-queuing-strategy.html
r193824 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 test(function() { … … 10 10 }, 'Can construct a writable stream with a valid CountQueuingStrategy'); 11 11 12 var test 4= async_test('Correctly governs the value of a WritableStream\'s state property (HWM = 0)');13 test 4.step(function() {12 var test1 = async_test('Correctly governs the value of a WritableStream\'s state property (HWM = 0)'); 13 test1.step(function() { 14 14 var dones = Object.create(null); 15 15 … … 17 17 { 18 18 write: function(chunk) { 19 return new Promise(test 4.step_func(function(resolve) { dones[chunk] = resolve; }));19 return new Promise(test1.step_func(function(resolve) { dones[chunk] = resolve; })); 20 20 } 21 21 }, … … 23 23 ); 24 24 25 setTimeout(test 4.step_func(function() {25 setTimeout(test1.step_func(function() { 26 26 assert_equals(ws.state, 'writable', 'After 0 writes, 0 of which finished, state should be \'writable\''); 27 27 … … 33 33 34 34 dones.a(); 35 writePromiseA.then(test 4.step_func(function() {35 writePromiseA.then(test1.step_func(function() { 36 36 assert_equals(ws.state, 'waiting', 'After 2 writes, 1 of which finished, state should be \'waiting\''); 37 37 38 38 dones.b(); 39 return writePromiseB.then(test 4.step_func(function() {39 return writePromiseB.then(test1.step_func(function() { 40 40 assert_equals(ws.state, 'writable', 'After 2 writes, 2 of which finished, state should be \'writable\''); 41 41 … … 44 44 45 45 dones.c(); 46 return writePromiseC.then(test 4.step_func(function() {46 return writePromiseC.then(test1.step_func(function() { 47 47 assert_equals(ws.state, 'writable', 'After 3 writes, 3 of which finished, state should be \'writable\''); 48 48 49 test 4.done();49 test1.done(); 50 50 })); 51 51 })); 52 })).catch(test 4.step_func(function(e) { assert_unreached("uncaught error " + e); }));52 })).catch(test1.step_func(function(e) { assert_unreached("uncaught error " + e); })); 53 53 }), 0); 54 54 }); 55 55 56 var test 5= async_test('Correctly governs the value of a WritableStream\'s state property (HWM = 4)');57 test 5.step(function() {56 var test2 = async_test('Correctly governs the value of a WritableStream\'s state property (HWM = 4)'); 57 test2.step(function() { 58 58 var dones = Object.create(null); 59 59 … … 61 61 { 62 62 write: function(chunk) { 63 return new Promise(test 5.step_func(function(resolve) { dones[chunk] = resolve; }));63 return new Promise(test2.step_func(function(resolve) { dones[chunk] = resolve; })); 64 64 } 65 65 }, … … 67 67 ); 68 68 69 setTimeout(test 5.step_func(function() {69 setTimeout(test2.step_func(function() { 70 70 assert_equals(ws.state, 'writable', 'After 0 writes, 0 of which finished, state should be \'writable\''); 71 71 … … 92 92 93 93 dones.a(); 94 writePromiseA.then(test 5.step_func(function() {94 writePromiseA.then(test2.step_func(function() { 95 95 assert_equals(ws.state, 'waiting', 'After 7 writes, 1 of which finished, state should be \'waiting\''); 96 96 97 97 dones.b(); 98 return writePromiseB.then(test 5.step_func(function() {98 return writePromiseB.then(test2.step_func(function() { 99 99 assert_equals(ws.state, 'waiting', 'After 7 writes, 2 of which finished, state should be \'waiting\''); 100 100 101 101 dones.c(); 102 return writePromiseC.then(test 5.step_func(function() {102 return writePromiseC.then(test2.step_func(function() { 103 103 assert_equals(ws.state, 'writable', 'After 7 writes, 3 of which finished, state should be \'writable\''); 104 104 … … 107 107 108 108 dones.d(); 109 return writePromiseD.then(test 5.step_func(function() {109 return writePromiseD.then(test2.step_func(function() { 110 110 assert_equals(ws.state, 'writable', 'After 8 writes, 4 of which finished, state should be \'writable\''); 111 111 … … 113 113 assert_equals(ws.state, 'waiting', 'After 9 writes, 4 of which finished, state should be \'waiting\''); 114 114 115 test 5.done();115 test2.done(); 116 116 })); 117 117 })); 118 118 })); 119 })).catch(test 5.step_func(function(e) { assert_unreached("uncaught error " + e); }));119 })).catch(test2.step_func(function(e) { assert_unreached("uncaught error " + e); })); 120 120 }), 0); 121 121 }); -
trunk/LayoutTests/streams/reference-implementation/pipe-through.html
r190165 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('Piping through a duck-typed pass-through transform stream works'); -
trunk/LayoutTests/streams/reference-implementation/pipe-to-options.html
r190395 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('Piping with no options and a destination error'); -
trunk/LayoutTests/streams/reference-implementation/pipe-to.html
r192765 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('Piping from a ReadableStream from which lots of data are readable synchronously'); -
trunk/LayoutTests/streams/reference-implementation/readable-stream-templated.html
r193824 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 function templatedRSClosed(label, factory) { … … 10 10 }, 'Running templatedRSClosed with ' + label); 11 11 12 var test 2= async_test('piping to a WritableStream in the writable state should close the writable stream');13 test 2.step(function() {12 var test1 = async_test('piping to a WritableStream in the writable state should close the writable stream'); 13 test1.step(function() { 14 14 var closeCalled = false; 15 15 … … 32 32 }); 33 33 34 startPromise.then(test1.step_func(function() { 35 assert_equals(ws.state, 'writable', 'writable stream should start in writable state'); 36 37 return rs.pipeTo(ws).then(test1.step_func(function() { 38 assert_true(closeCalled); 39 assert_equals(ws.state, 'closed', 'writable stream should become closed'); 40 test1.done('underlying source close should be called'); 41 })); 42 })).catch(test1.step_func(function(e) { assert_unreached(e); })); 43 }); 44 45 var test2 = async_test('piping to a WritableStream in the writable state with { preventClose: true } should do nothing'); 46 test2.step(function() { 47 var rs = factory(); 48 49 var startPromise = Promise.resolve(); 50 var ws = new WritableStream({ 51 start: function() { 52 return startPromise; 53 }, 54 write: function() { 55 assert_unreached('Unexpected write call'); 56 }, 57 close: function() { 58 assert_unreached('Unexpected close call'); 59 }, 60 abort: function() { 61 assert_unreached('Unexpected abort call'); 62 } 63 }); 64 34 65 startPromise.then(test2.step_func(function() { 35 66 assert_equals(ws.state, 'writable', 'writable stream should start in writable state'); 36 67 37 return rs.pipeTo(ws).then(test2.step_func(function() { 38 assert_true(closeCalled); 39 assert_equals(ws.state, 'closed', 'writable stream should become closed'); 40 test2.done('underlying source close should be called'); 68 return rs.pipeTo(ws, { preventClose: true }).then(test2.step_func(function() { 69 assert_equals(ws.state, 'writable', 'writable stream should still be writable'); 70 test2.done('pipeTo promise should be fulfilled'); 41 71 })); 42 72 })).catch(test2.step_func(function(e) { assert_unreached(e); })); 43 });44 45 var test3 = async_test('piping to a WritableStream in the writable state with { preventClose: true } should do nothing');46 test3.step(function() {47 var rs = factory();48 49 var startPromise = Promise.resolve();50 var ws = new WritableStream({51 start: function() {52 return startPromise;53 },54 write: function() {55 assert_unreached('Unexpected write call');56 },57 close: function() {58 assert_unreached('Unexpected close call');59 },60 abort: function() {61 assert_unreached('Unexpected abort call');62 }63 });64 65 startPromise.then(test3.step_func(function() {66 assert_equals(ws.state, 'writable', 'writable stream should start in writable state');67 68 return rs.pipeTo(ws, { preventClose: true }).then(test3.step_func(function() {69 assert_equals(ws.state, 'writable', 'writable stream should still be writable');70 test3.done('pipeTo promise should be fulfilled');71 }));72 })).catch(test3.step_func(function(e) { assert_unreached(e); }));73 73 }); 74 74 }; -
trunk/LayoutTests/streams/reference-implementation/transform-stream-errors.html
r190166 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('TransformStream errors thrown in transform put the writable and readable in an errored state'); -
trunk/LayoutTests/streams/reference-implementation/transform-stream.html
r190167 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 test(function() { -
trunk/LayoutTests/streams/reference-implementation/writable-stream-abort.html
r190395 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 var test1 = async_test('Aborting a WritableStream immediately prevents future writes'); -
trunk/LayoutTests/streams/reference-implementation/writable-stream-expected.txt
r191669 r194366 11 11 PASS WritableStream with simple input, processed synchronously 12 12 PASS WritableStream is writable and ready fulfills immediately if the strategy does not apply backpressure 13 PASS Fulfillment value of ws.write() call must be undefined even if the underlying sink returns a non-undefined ovalue13 PASS Fulfillment value of ws.write() call must be undefined even if the underlying sink returns a non-undefined value 14 14 -
trunk/LayoutTests/streams/reference-implementation/writable-stream.html
r190395 r194366 4 4 <script src='resources/streams-utils.js'></script> 5 5 <script> 6 // This is updated till https://github.com/whatwg/streams/commit/ ec5ffa036308d9f6350d2946560d48cdbf0909396 // This is updated till https://github.com/whatwg/streams/commit/4ba861e6f60c248060811830e11271c84b439cc3 7 7 8 8 function writeArrayToStream(array, writableStream) { … … 240 240 }); 241 241 242 var test10 = async_test('Fulfillment value of ws.write() call must be undefined even if the underlying sink returns a non-undefined ovalue');242 var test10 = async_test('Fulfillment value of ws.write() call must be undefined even if the underlying sink returns a non-undefined value'); 243 243 test10.step(function() { 244 244 var ws = new WritableStream({
Note:
See TracChangeset
for help on using the changeset viewer.