gecko-dev/dom/fetch
Till Schneidereit ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E) 2cfba34b8d 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

--HG--
extra : rebase_source : 71d73bed5bc82557efcb6b1ecb231275fd3e1189
extra : amend_source : de29f663b9929eb2858b23cc6f4e7ba97b23a28c
extra : source : f91eb962df6a06d5f51ad13caa2a4a9c2947f293
2018-10-11 14:18:43 -05:00
..
tests Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku 2018-09-11 19:13:15 +00:00
BodyExtractor.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
BodyExtractor.h Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku 2017-09-19 21:32:12 -04:00
ChannelInfo.cpp
ChannelInfo.h
ChannelInfo.ipdlh
Fetch.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Fetch.h Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchConsumer.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchConsumer.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
FetchDriver.cpp Bug 1496621 - reject Fetch promises with (informative) TypeErrors when decoding fails, per spec; r=baku 2018-10-08 23:57:23 +00:00
FetchDriver.h Bug 1478101 - Split AbortSignal in 2 classes: AbortSignal and AbortSignalImpl, r=bz 2018-08-26 14:16:21 +02:00
FetchIPCTypes.h Bug 1431295 - Drop 'undef None' macro in dom/. r=baku 2018-01-18 14:12:51 +09:00
FetchObserver.cpp Bug 1488427 - AbortSignal::Unfollow() must be called when unlinked, r=smaug 2018-09-07 11:05:47 +02:00
FetchObserver.h Bug 1478101 - Split AbortSignal in 2 classes: AbortSignal and AbortSignalImpl, r=bz 2018-08-26 14:16:21 +02:00
FetchStream.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchStream.h Bug 1445587 - Port Fetch to WorkerRef - part 2 - FetchStream, r=smaug 2018-03-16 16:52:29 +01:00
FetchStreamReader.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
FetchStreamReader.h Bug 1445587 - Port Fetch to WorkerRef - part 3 - FetchStreamReader, r=smaug 2018-03-16 16:52:29 +01:00
FetchTypes.ipdlh Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly 2017-11-15 14:53:42 -05:00
FetchUtil.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchUtil.h Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Headers.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
Headers.h
InternalHeaders.cpp Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor 2018-02-01 14:21:14 -05:00
InternalHeaders.h Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot 2017-09-17 11:18:20 +02:00
InternalRequest.cpp Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
InternalRequest.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
InternalResponse.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
InternalResponse.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
Request.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Request.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
Response.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Response.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
moz.build Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku 2018-09-11 19:13:15 +00:00