tree: f092307ad9bd688ce1cd4cef49561eec1804a0c3 [path history] [tgz]
  1. BUILD.gn
  2. ByteLengthQueuingStrategy.js
  3. CountQueuingStrategy.js
  4. OWNERS
  5. README.md
  6. ReadableStream.js
  7. ReadableStreamController.h
  8. ReadableStreamOperations.cpp
  9. ReadableStreamOperations.h
  10. ReadableStreamOperationsTest.cpp
  11. Stream.cpp
  12. Stream.h
  13. Stream.idl
  14. UnderlyingSourceBase.cpp
  15. UnderlyingSourceBase.h
  16. UnderlyingSourceBase.idl
third_party/WebKit/Source/core/streams/README.md

This directory contains the Blink implementation of the WHATWG Streams standard: https://streams.spec.whatwg.org/. There is also a legacy streams implementation.

V8 Extras ReadableStream Implementation

  • ByteLengthQueuingStrategy.js
  • CountQueuingStrategy.js
  • ReadableStream.js
  • ReadableStreamController.h
  • ReadableStreamOperations.{cpp,h}
  • UnderlyingSourceBase.{cpp,h,idl}

These files implement ReadableStream using V8 extras. All new code should use this implementation.

Old streams

  • Stream.{cpp,h,idl}

These files support an old streams spec. They should eventually be removed, but right now XMLHttpRequest and Media Streams Extension code in Blink still depends on them.