gecko-dev/js/public
Jason Orendorff ddaf859c55 Bug 1363200 - JSAPI for realms: Change a few XPConnect methods to take Realm arguments instead of JSCompartments. r=mrbkap
This also introduces JS::GetObjectRealmOrNull, which returns an object's realm,
or null if the object is a cross-compartment wrapper. In the new order,
wrappers can't have realms, since they must be shared across all realms in a
compartment. We're introducing this new function early (even though it's
*currently* possible to assign a realm to wrappers) in order to see in
advance if the possibility of returning null will cause problems.
(It looks like it won't.)

--HG--
extra : rebase_source : e55ebbbc4edf2a18ce267198928246592060e339
extra : source : d6bfce1187aa13dbfab03f9566ff7b05b6705e70
2017-06-28 12:31:53 -07:00
..
CallArgs.h Bug 1277338 - Part 2: Refactor CallArgs to avoid zero-sized base classes; r=sfink 2017-04-13 13:22:20 -07:00
CallNonGenericMethod.h
CharacterEncoding.h Bug 1394771 - Check that a wasm name is UTF8 when we first read it. r=luke 2017-08-29 15:00:32 +02:00
Class.h Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Conversions.h
Date.h Bug 1217238 - Reduce time precision when privacy.resistFingerprinting is on. r=mystor 2017-06-06 11:45:14 +08:00
Debug.h Bug 1379957 - Only fire the debugger's onGarbageCollection hook when necessary to avoid extra worker GCs r=fitzgen 2017-07-12 18:31:56 +01:00
GCAPI.h Bug 1396156 - Fix unused private field error when building AutoAssertNoGC as Beta. r=sfink 2017-09-04 02:25:00 -04:00
GCAnnotations.h
GCHashTable.h Bug 1367795 - Add barriers to JS::WeakCache for GCHashMap r=sfink 2017-07-10 18:28:07 +01:00
GCPolicyAPI.h Bug 1367795 - Add barriers to JS::WeakCache for GCHashMap r=sfink 2017-07-10 18:28:07 +01:00
GCVariant.h
GCVector.h Bug 1372569 - Skip sweeping empty weak caches r=sfink 2017-06-16 10:06:28 +01:00
HashTable.h Bug 1385181 - Avoid excess copying when return from HashTable::lookupForAdd(). r=luke 2017-08-01 17:00:39 +08:00
HeapAPI.h Bug 1380768 (part 1) - Update comments to reflect API changes and a changed, r=sfink. 2017-07-21 15:56:11 +10:00
Id.h Bug 1378717 - Allow inlining of TraceEdge API's null check r=sfink 2017-07-11 16:51:37 +01:00
Initialization.h Bug 1380768 (part 1) - Update comments to reflect API changes and a changed, r=sfink. 2017-07-21 15:56:11 +10:00
LegacyIntTypes.h
MemoryMetrics.h Bug 1363200 - JSAPI for realms: Change a few XPConnect methods to take Realm arguments instead of JSCompartments. r=mrbkap 2017-06-28 12:31:53 -07:00
Principals.h Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
ProfilingFrameIterator.h Bug 1364520: Remove the jitTop optimization; r=jandem 2017-06-02 19:34:05 +02:00
ProfilingStack.h Bug 1369644 - Remove use of |volatile| from ProfileEntry. r=mstange,shu,jseward,froydnj. 2017-06-02 17:16:56 +10:00
Proxy.h Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba 2017-07-25 13:22:11 +02:00
Realm.h Bug 1363200 - JSAPI for realms: Change a few XPConnect methods to take Realm arguments instead of JSCompartments. r=mrbkap 2017-06-28 12:31:53 -07:00
RefCounted.h
RequiredDefines.h
Result.h
RootingAPI.h Bug 1370869 - Don't copy scope data in XDR decode r=shu 2017-06-12 10:43:46 +01:00
SliceBudget.h
Stream.h Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku 2017-07-29 16:47:30 +02:00
StructuredClone.h Bug 1382645: Part 1 - Add memory reporter for StructuredCloneHolder binding implementation. r=billm 2017-07-25 14:53:41 -07:00
SweepingAPI.h Bug 1367795 - Add barriers to JS::WeakCache for GCHashSet r=sfink 2017-07-10 18:27:43 +01:00
TraceKind.h Bug 1363200 - JSAPI for realms: Add JS::Realm opaque type and GC rooting policy for it. r=sfink 2017-06-29 09:57:46 -07:00
TracingAPI.h Bug 1384885 - Do gray unmarking of cross zone edges as soon as they are found r=sfink 2017-07-28 11:06:40 +01:00
TrackedOptimizationInfo.h Backed out changeset 1455629cb663 (bug 1384042) for regressing AngularJS perf. 2017-07-27 16:36:57 +02:00
TypeDecls.h Bug 1363200 - JSAPI for realms: JS::SetDestroyRealmCallback. r=sfink 2017-05-23 16:35:31 -05:00
UbiNode.h Bug 1382339 - Improve SpiderMonkey hashing functions by using MFBT's HashGeneric more; r=jandem 2017-07-20 12:59:09 -04:00
UbiNodeBreadthFirst.h Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco 2017-07-26 12:20:59 +02:00
UbiNodeCensus.h Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h
UniquePtr.h
Utility.h Bug 1277562 - Part 9: Add Wasm Tier 2 compilation tasks. r=luke 2017-02-09 15:15:17 +01:00
Value.h Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
Vector.h
WeakMapPtr.h