gecko-dev/js/public
Jon Coppeard 6b6551f249 Bug 1648453 - Record incumbent global in FinalizationRegistry constructor and use when calling back into the JS engine to call callbacks r=sfink
This changes the way the the host triggers cleanup, from calling an API to calling a JS function. This is done so we can use the existing DOM infrastructure that handles setting up the incumbent global for us.

Differential Revision: https://phabricator.services.mozilla.com/D83613
2020-07-17 17:34:33 +00:00
..
experimental Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
AllocPolicy.h
AllocationRecording.h
Array.h
ArrayBuffer.h Bug 1633598 - Add JSAPI to create an ArrayBuffer with contents and length copied from an existing one. r=sfink 2020-05-07 23:46:22 +00:00
ArrayBufferMaybeShared.h
BuildId.h
CallArgs.h Bug 1623957 - Part 1: Replace mozilla::IsSame with std::is_same. r=jwalden 2020-03-21 15:08:24 +00:00
CallNonGenericMethod.h
CharacterEncoding.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
Class.h Bug 1647796 - Add lazy AsyncIterator helper methods. r=jorendorff 2020-07-14 19:10:34 +00:00
ComparisonOperators.h Bug 1618038 - Implement support for wrapper-class comparisons in the innermost namespace containing each wrapper class, as ADL intended. Also simplify the operator implementations in certain minor ways. r=sfink 2020-03-10 02:01:28 +00:00
CompilationAndEvaluation.h Bug 1501608 - Remove the ELEMENT_SLOT in the ScriptSourceObject and instead use a callback function to return the script element based on the value of the privateValue in the SSO. r=jonco,smaug 2020-05-12 19:28:15 +00:00
CompileOptions.h Bug 1635839 - Part 4: Add an option for private class fields, disabled by default r=jorendorff 2020-06-02 20:58:04 +00:00
ContextOptions.h Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug 2020-06-14 02:41:45 +00:00
Conversions.h Bug 1623957 - Part 13: Replace mozilla::IsSigned with std::is_signed. r=jwalden 2020-03-21 14:27:11 +00:00
Date.h Bug 1586761 - P6 - Check CrossOriginIsolated for ReduceTimePrecisionAsUSecsWrapper; r=tjr,luke 2020-03-25 14:01:07 +00:00
Debug.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
Equality.h
ErrorReport.h Bug 1629293 - Make JS::PrintError take either JSErrorReport or JS::ErrorReportBuilder. r=evilpie 2020-05-14 04:44:51 +00:00
Exception.h Bug 1626100 - Replace SetPendingExceptionAndStack with a ExceptionStack version. r=sfink 2020-04-09 12:35:59 +00:00
ForOfIterator.h
GCAPI.h Bug 1648453 - Record incumbent global in FinalizationRegistry constructor and use when calling back into the JS engine to call callbacks r=sfink 2020-07-17 17:34:33 +00:00
GCAnnotations.h
GCHashTable.h Bug 1470369 - Don't collect the nursery every GC slice during sweeping r=sfink 2020-06-03 08:10:45 +00:00
GCPolicyAPI.h Bug 1623957 - Part 14: Replace mozilla::IsPointer with std::is_pointer. r=jwalden 2020-03-21 14:27:24 +00:00
GCTypeMacros.h Bug 1642154 : Add JSLinearString to MapTypeToTraceKind. r=jonco 2020-06-05 19:08:49 +00:00
GCVariant.h Bug 1623957 - Part 15: Replace mozilla::RemoveReference with std::remove_reference. r=jwalden 2020-03-21 14:28:59 +00:00
GCVector.h Bug 1641202 - Part 2: Rewind CompilationInfo.{funcData,functions}. r=tcampbell 2020-07-08 19:15:24 +00:00
HashTable.h
HeapAPI.h Bug 1652447 - Remove IsAboutToBeFinalizedDuringSweep and replaces uses with IsAboutToBeFinalized r=sfink 2020-07-13 15:05:03 +00:00
Id.h Bug 1633145 - Replace NON_INTEGER_ATOM_TO_JSID. r=jandem 2020-04-30 18:18:35 +00:00
Initialization.h
JSON.h
LocaleSensitive.h
MemoryFunctions.h
MemoryMetrics.h Bug 1643170, part 2 - Report memory for HelperThreads::helperContexts_. r=jandem 2020-06-09 09:07:07 +00:00
Modules.h Bug 1626105 - Rename |JS::CompileModuleDontInflate| to just plain |JS::CompileModule|. (There is no non-inflating version remove at the same time.) r=evilpie 2020-03-31 01:33:03 +00:00
OffThreadScriptCompilation.h Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai 2020-06-17 14:26:09 +00:00
Principals.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
Printf.h
ProfilingCategory.h Bug 1645464 - Use a shared ProfilingCategoryList.h r=gerald,froydnj 2020-06-15 13:59:55 +00:00
ProfilingFrameIterator.h
ProfilingStack.h Bug 1645469 - Add profiler subcategories for SpiderMonkey JITs. r=jandem,gerald 2020-06-15 14:56:50 +00:00
Promise.h Bug 1622184 - Add a public method to mark a settled Promise as handled; r=arai 2020-03-18 02:22:00 +00:00
PropertyDescriptor.h
PropertySpec.h Bug 1633207 - JSPropertySpec support for doubles. r=arai 2020-04-26 18:16:55 +00:00
ProtoKey.h Bug 1644171 - Add AsyncIterator constructor. r=jorendorff 2020-06-08 20:43:56 +00:00
Proxy.h Bug 1638373 - remove js/ipc now that CPOWs are dead, r=mccr8 2020-05-24 18:47:04 +00:00
Realm.h
RealmOptions.h Bug 1641517 - Don't expose FinalizationRegistry.prototype.cleanupSome in the browser r=mccr8 2020-06-03 09:19:59 +00:00
RefCounted.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
RegExp.h Bug 1636495: Add JS::CheckRegExpSyntax r=evilpie 2020-05-13 14:53:18 +00:00
RegExpFlags.h Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden 2020-03-21 14:21:04 +00:00
RequiredDefines.h
Result.h
RootingAPI.h Bug 1634459 - Simplify the wrapper used for rooting non-GC thing types r=jandem 2020-05-04 16:53:56 +00:00
SavedFrameAPI.h
SharedArrayBuffer.h
SliceBudget.h
SourceText.h Bug 1628751 - Replace use of standard library traits classes by the _v or _t versions r=jwalden 2020-04-14 09:05:55 +00:00
StableStringChars.h Bug 1645415 - Mark all relevant strings non-deduplicatable r=jonco 2020-07-10 17:06:25 +00:00
Stream.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
StructuredClone.h Bug 1617863 - Make JS_ReadStructuredClone accept a const& to JSStructuredCloneData. r=baku 2020-02-25 16:05:14 +00:00
SweepingAPI.h Bug 1652425 - Make WeakCache::sweep conservatively take the store buffer lock r=sfink 2020-07-13 15:00:28 +00:00
Symbol.h Bug 1635839 - Part 1: Add PrivateName Symbol code. r=jorendorff 2020-06-02 20:57:34 +00:00
TraceKind.h Bug 1642154 : Add JSLinearString to MapTypeToTraceKind. r=jonco 2020-06-05 19:08:49 +00:00
TraceLoggerAPI.h
TracingAPI.h Bug 1455563 - Remove some dead code from the GC r=sfink 2020-04-14 21:02:43 +00:00
Transcoding.h
TypeDecls.h
UbiNode.h Bug 1628751 - Replace use of standard library traits classes by the _v or _t versions r=jwalden 2020-04-14 09:05:55 +00:00
UbiNodeBreadthFirst.h
UbiNodeCensus.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h Backed out changeset d3c78f4a1465 (bug 1648646) for regressing bug 1649342 and bug 1649433. CLOSED TREE 2020-07-03 01:20:31 +03:00
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1645845 - Add ParserAtomsTable, parser atoms types, common parser names table, and base parser atoms implementation. r=mgaudet,tcampbell 2020-06-17 22:31:35 +00:00
Value.h Bug 1502355 - Store the value optionally passed to finalizing as an extra value in a handler function. r=arai 2020-06-24 18:40:45 +00:00
ValueArray.h Bug 1634435 - Rename AutoValueArray to RootedValueArray everywhere for consistency with other rooted things r=jandem,mccr8 2020-05-04 16:50:59 +00:00
Vector.h Bug 1625138 - Part 35: Replace mozilla::TrueType with std::true_type. r=froydnj,jgilbert 2020-03-28 13:57:20 +00:00
Warnings.h Bug 1275508 - Remove werror. r=jandem 2020-03-11 12:20:21 +00:00
WasmModule.h Bug 1599634 - Move the JS::WasmModule definition to own header r=bbouvier 2020-06-04 15:36:11 +00:00
WeakMapPtr.h
Wrapper.h Bug 949220 - Make |NewProxyObject| return only non-singletons, and add |NewSingletonProxyObject| for the singleton case. r=jandem 2020-04-14 16:57:15 +00:00