Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: third_party/WebKit/Source/core/streams/README.md

Issue 1404523005: Implement author-constructible ReadableStream using V8 extras (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor test tweaks Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 - ReadableStreamTempStub.js
27
28 These files are an in-progress implementation of the current streams spec,
29 using [V8 extras][1]. They allow author construction. We hope eventually to
30 have these supercede the traditional ReadableStream implementation, but the
31 work to build Fetch response body streams on top of this is ongoing.
32
33 [1]: https://docs.google.com/document/d/1AT5-T0aHGp7Lt29vPWFr2-qG8r3l9CByyvKwEuA 8Ec0
34
35 ## Old streams
36
37 - Stream.{cpp,h,idl}
38
39 These files support an old streams spec. They should eventually be removed, but
40 right now XMLHttpRequest and Media Streams Extension code in Blink still
41 depends on them.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698