Till Schneidereit
c08d9f23d7
Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff
...
Streams have multiple parts that can be JS objects from different compartments.
For example, the [[reader]] internal slot of a stream can point to a reader
object in another compartment.
This patch makes the ReadableStream implementation robust against mixing and
matching stream-related objects and methods from different globals.
This also removes ReadableStreamBYOBReader and ReadableStreamBYOBRequest for
now, with a view toward enabling basic ReadableStream features by default in
bug 1389628.
Differential Revision: https://phabricator.services.mozilla.com/D8450
2018-10-11 14:18:43 -05:00
Jason Orendorff
2c8e2f4b35
Bug 1491939 - Part 4: Enable streams on a per-realm basis. Drop dom.streams.enabled and dom.workers.options.streams; use only javascript.options.streams. r=baku
...
Depends on D6555
Differential Revision: https://phabricator.services.mozilla.com/D6556
2018-09-25 14:11:41 +00:00
Andrea Marchesini
d5d07ae93f
Bug 1455811 - ReadableStream.cancel() must cancel the actual download - part 1, r=bkelly
2018-04-24 16:09:58 +02:00
Andrea Marchesini
72e4ee76d4
Bug 1445587 - Port Fetch to WorkerRef - part 2 - FetchStream, r=smaug
2018-03-16 16:52:29 +01:00
Andrea Marchesini
324cbeb8b5
Bug 1446204 - Response body should be marked as used if used as stream, r=till
2018-03-16 16:52:28 +01:00
Andrea Marchesini
61d97913ad
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
15f7c38968
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Sebastian Hengst
bc632b5fb9
Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
2018-01-31 20:31:22 +02:00
Sebastian Hengst
bf67a3d1d6
Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
2018-01-31 20:30:45 +02:00
Andrea Marchesini
cefbc1fd20
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
74224ec836
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
8a21b54e4a
Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly
2018-01-30 10:10:04 +01:00
Andrea Marchesini
de5ddecee3
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Sebastian Hengst
72fe9c02a3
Backed out changeset 097c44e15165 (bug 1371699)
2017-10-05 13:10:55 +02:00
Andrea Marchesini
452ce73f77
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Sebastian Hengst
b5db322841
Backed out changeset c033bdb24e14 (bug 1371699)
2017-10-03 16:55:02 +02:00
Andrea Marchesini
c65fe02da3
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Andrea Marchesini
792189dd57
Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
2017-08-06 20:47:00 +03:00
Andrea Marchesini
2daba7f880
Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug
2017-09-26 07:21:27 +02:00
Andrea Marchesini
7536f4b756
Bug 1390717 - FetchStream should not have an extra JS::Heap<ReadableStream>, r=jonco
2017-08-31 16:29:02 +02:00
Andrea Marchesini
13bf92b711
Bug 1395220 - FetchStream must support multiple read requests, r=bkelly
2017-08-31 15:36:18 +02:00
Andrea Marchesini
59472c07f1
Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly
2017-08-29 11:31:06 +02:00
Sebastian Hengst
6387e67653
Backed out changeset 64d0dbf9706b (bug 1378342)
2017-08-29 09:16:48 +02:00
Andrea Marchesini
2918612317
Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly
2017-08-29 07:30:21 +02:00
Andrea Marchesini
e3427f1588
Bug 1128959 - Implement the WHATWG Streams spec - part 17 - Creating FetchStream as a out param in order to avoid JS hazards, r=bz
2017-08-10 18:04:56 -07:00
Andrea Marchesini
16e02ab255
Bug 1128959 - Implement the WHATWG Streams spec - part 7 - Response.body, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
6be05ef50f
Bug 1128959 - Implement the WHATWG Streams spec - part 6 - Shutting down procedure, r=bkelly
2017-08-10 18:04:55 -07:00
Andrea Marchesini
a28cad28a8
Bug 1128959 - Implement the WHATWG Streams spec - part 4 - Fetch implementation, r=bkelly
2017-08-10 18:04:54 -07:00