OLD | NEW |
(Empty) | |
| 1 This directory contains files from several different implementations and |
| 2 implementation strategies: |
| 3 |
| 4 ## Traditional ReadableStream Implementation |
| 5 |
| 6 - ReadableByteStream.{cpp,h,idl} |
| 7 - ReadableByteStreamReader.{h,idl} |
| 8 - ReadableStream.{cpp,h,idl} |
| 9 - ReadableStreamImpl.h |
| 10 - ReadableStreamReader.{cpp,h,idl} |
| 11 - ReadableStreamReaderTest.cpp |
| 12 - ReadableStreamTest.cpp |
| 13 - UnderlyingSource.h |
| 14 |
| 15 These files implement the current streams spec, plus the more speculative |
| 16 ReadableByteStream, to the extent necessary to support Fetch response bodies. |
| 17 They do not support author-constructed readable streams. They use the normal |
| 18 approach for implementing web-exposed classes, i.e. IDL bindings with C++ |
| 19 implementation. They are currently shipping in Chrome. |
| 20 |
| 21 ## V8 Extras ReadableStream Implementation |
| 22 |
| 23 - ByteLengthQueuingStrategy.js |
| 24 - CountQueuingStrategy.js |
| 25 - ReadableStream.js |
| 26 |
| 27 These files are an in-progress implementation of the current streams spec, |
| 28 using V8 extras [1]. They allow author construction. We hope eventually to |
| 29 have these supercede the traditional ReadableStream implementation, but the |
| 30 work to build Fetch response body streams on top of this is ongoing. |
| 31 |
| 32 [1]: https://docs.google.com/document/d/1AT5-T0aHGp7Lt29vPWFr2-qG8r3l9CByyvKwEuA
8Ec0 |
| 33 |
| 34 ## Old streams |
| 35 |
| 36 - Stream.{cpp,h,idl} |
| 37 |
| 38 These files support an old streams spec. They should eventually be removed, but |
| 39 right now XMLHttpRequest and Media Streams Extension code in Blink still |
| 40 depends on them. |
OLD | NEW |