gecko-dev/js/public
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
..
AllocPolicy.h
CallArgs.h
CallNonGenericMethod.h Bug 1489242 - Add {} to example code in comments. r=jorendorff 2018-10-03 14:41:29 +00:00
CharacterEncoding.h
Class.h Bug 1489242 - Add {} to example code in comments. r=jorendorff 2018-10-03 14:41:29 +00:00
CompilationAndEvaluation.h Bug 1491137 - Rename JS::CompileFunction that takes const char*/size_t for function text to JS::CompileFunctionUtf8 that asserts consistent |options.utf8|. r=jandem 2018-09-17 11:24:41 -07:00
CompileOptions.h Bug 1491137 - Remove the two setUTF8(bool) CompileOptions functions now that the underlying field they alter is gone. r=jandem 2018-09-18 08:41:41 -07:00
Conversions.h
Date.h
Debug.h Bug 1489242 - Add {} to example code in comments. r=jorendorff 2018-10-03 14:41:29 +00:00
ErrorReport.h
GCAnnotations.h
GCAPI.h Bug 1495643 - Remove unused declaration r=jonco 2018-10-02 15:42:27 +10:00
GCHashTable.h
GCPolicyAPI.h
GCVariant.h
GCVector.h
HashTable.h
HeapAPI.h
Id.h
Initialization.h
JSON.h
LocaleSensitive.h
MemoryFunctions.h
MemoryMetrics.h
OffThreadScriptCompilation.h Backed out changeset ba122021b8b5 (bug 1481196) 2018-10-04 11:50:55 +01:00
Principals.h
Printf.h
ProfilingFrameIterator.h
ProfilingStack.h Bug 1496623 - Rename and comment GeckoProfilerThread::installed() r=njn 2018-10-05 10:52:43 +10:00
ProtoKey.h Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Proxy.h
Realm.h Backed out changeset ba122021b8b5 (bug 1481196) 2018-10-04 11:50:55 +01:00
RefCounted.h
RequiredDefines.h
Result.h
RootingAPI.h
SavedFrameAPI.h
SliceBudget.h
SourceBufferHolder.h
StableStringChars.h
Stream.h Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
StructuredClone.h
SweepingAPI.h
TraceKind.h
TraceLoggerAPI.h Bug 1480104: Provide an API for the gecko profiler, introduce a string hash table to remove duplicate data, and add necessary locks and changes to support the profiler start/stop routines r=sfink 2018-09-30 17:39:10 +00:00
TracingAPI.h
TrackedOptimizationInfo.h
Transcoding.h
TypeDecls.h
UbiNode.h Bug 1489242 - Add {} to example code in comments. r=jorendorff 2018-10-03 14:41:29 +00:00
UbiNodeBreadthFirst.h
UbiNodeCensus.h
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h
UbiNodeUtils.h
UniquePtr.h
Utility.h
Value.h
Vector.h
WeakMapPtr.h
Wrapper.h