OLD | NEW |
(Empty) | |
| 1 This folder contains files from several different implementations and |
| 2 implementation strategies: |
| 3 |
| 4 ## Traditional ReadableStream Implementation |
| 5 |
| 6 - ReadableByteStream.{cpp,h,idl} |
| 7 - ReadableByteStreamReader.{cpp,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 - QueuingStrategyBase.{cpp,h,idl} |
| 26 - ReadableStream2.{cpp,h,js} |
| 27 - ReadableStreamController.{cpp,h} |
| 28 - UnderlyingSourceBase.{cpp,h,idl} |
| 29 |
| 30 These files are an in-progress implementation of the current streams spec, |
| 31 using V8 extras [1]. They allow author construction. We hope eventually to |
| 32 have these supercede the traditional ReadableStream implementation, but the |
| 33 work to build Fetch response body streams on top of this is ongoing. |
| 34 |
| 35 [1]: https://docs.google.com/document/d/1AT5-T0aHGp7Lt29vPWFr2-qG8r3l9CByyvKwEuA
8Ec0 |
| 36 |
| 37 ## Old streams |
| 38 |
| 39 - Stream.{cpp,h,idl} |
| 40 |
| 41 These files support an old streams spec. They should eventually be removed, but |
| 42 right now XMLHttpRequest and Media Streams Extension code in Blink still |
| 43 depends on them. |
OLD | NEW |