tree: f6c1d65de43d27ccba46e18850cd9cb8f04d1976 [path history] [tgz]
  1. BUILD.gn
  2. ByteLengthQueuingStrategy.js
  3. CommonStrings.js
  4. CountQueuingStrategy.js
  5. OWNERS
  6. ReadableStream.js
  7. ReadableStreamController.h
  8. ReadableStreamExperimentalPipeTo.js
  9. ReadableStreamOperations.cpp
  10. ReadableStreamOperations.h
  11. ReadableStreamOperationsTest.cpp
  12. README.md
  13. Stream.cpp
  14. Stream.h
  15. UnderlyingSourceBase.cpp
  16. UnderlyingSourceBase.h
  17. UnderlyingSourceBase.idl
  18. WritableStream.js
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
  • ReadableStreamExperimentalPipeTo.js
  • ReadableStreamController.h
  • ReadableStreamOperations.{cpp,h}
  • UnderlyingSourceBase.{cpp,h,idl}
  • WritableStream.js

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.