Changeset 202338 in webkit
- Timestamp:
- Jun 22, 2016 11:14:10 AM (8 years ago)
- Location:
- trunk/LayoutTests/imported/w3c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r202323 r202338 1 2016-06-22 Youenn Fablet <youennf@gmail.com> 2 3 imported/w3c/web-platform-tests/streams/readable-streams/general.https.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=155760 5 6 Reviewed by Alexey Proskuryakov. 7 8 Making test more predictable. 9 Upstreamed to w3c repository as https://github.com/w3c/web-platform-tests/pull/3203. 10 11 * web-platform-tests/streams/readable-streams/general.js: 12 (promise_test): 13 1 14 2016-06-21 Youenn Fablet <youennf@gmail.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.js
r200309 r202338 294 294 295 295 let pullCount = 0; 296 297 const rs = new ReadableStream({ 296 const startPromise = Promise.resolve(); 297 298 const rs = new ReadableStream({ 299 start() { 300 return startPromise; 301 }, 298 302 pull(c) { 299 303 // Don't enqueue immediately after start. We want the stream to be empty when we call .read() on it. … … 305 309 }); 306 310 307 // WEBKIT modification: delay(1) replaced by delay(10) to ensure that pull promise is resolved before calling below thened code. 308 return delay(10).then(() => { 311 return startPromise.then(() => { 309 312 assert_equals(pullCount, 1, 'pull should be called once start finishes'); 310 313 }).then(() => { 311 314 const reader = rs.getReader(); 312 315 const read = reader.read();
Note: See TracChangeset
for help on using the changeset viewer.