Name Description Size
.eslintrc.js 6148
Array-inl.h 1106
Array.cpp Whether obj may have indexed properties anywhere besides its dense elements. This includes other indexed properties in its shape hierarchy, and indexed properties or elements along its prototype chain. 163331
Array.h JS Array interface. 9799
Array.js ES5 36875
AsyncFunction.js 617
AsyncIteration.js ECMA262 7.4.7 AsyncIteratorClose 14743
AtomicsObject.cpp JS Atomics pseudo-module. See chapter 24.4 "The Atomics Object" and chapter 27 "Memory Model" in ECMAScript 2021 for the full specification. 34447
AtomicsObject.h 5090
BigInt.cpp !JS_HAS_INTL_API 6719
BigInt.h 1718
BigInt.js Format this BigInt object into a string, using the locale and formatting options provided. Spec PR: 1346
Boolean-inl.h namespace js 1603
Boolean.cpp JS boolean implementation. 5036
Boolean.h JS boolean interface. 625
DataViewObject.cpp bytesPerElement = 40085
DataViewObject.h 8296
Date.js Get a cached DateTimeFormat formatter object, created like so: CreateDateTimeFormat(undefined, undefined, required, defaults); |format| must be a key from the "formatters" Record described above. 5931 \ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at */ namespace js { namespace %(namespace)s { static const %(sources_type)s data[] = { %(sources_data)s }; static const %(sources_type)s * const %(sources_name)s = reinterpret_cast<const %(sources_type)s *>(data); uint32_t GetCompressedSize() { return %(compressed_total_length)i; } uint32_t GetRawScriptsSize() { return %(raw_total_length)i; } } // selfhosted } // js 7102
Error.js ES6 20140718 draft 867
Eval.cpp static 18060
Eval.h builtin_Eval_h 1357
FinalizationRegistryObject.cpp static 28111
FinalizationRegistryObject.h 11844
Generator.js 2855
HandlerFunction-inl.h Handler for operations that act on a target object, and possibly upon an extra value. 3948
Iterator.js ECMA262 7.2.7 23508
JSON.cpp Requires that the destination has enough space allocated for src after escaping (that is, `2 + 6 * (srcEnd - srcBegin)` characters). 65051
JSON.h If stringifyBehavior is RestrictedSafe, Stringify will attempt to assert the API requirements of JS::ToJSONMaybeSafely as it traverses the graph, and will not try to invoke .toJSON on things as it goes. 2169
Map.js 5064
MapObject.cpp HashableValue ********************************************************* 62017
MapObject.h Comparing two ropes for equality can fail. The js::HashTable template requires infallible hash() and match() operations. Therefore we require all values to be converted to hashable form before being used as a key in a Map or Set object. All values except ropes are hashable as-is. 17905
ModuleObject.cpp 84858
ModuleObject.h 16469
Number.js Format this Number object into a string, using the locale and formatting options provided. Spec: ECMAScript Language Specification, 5.1 edition, Spec: ECMAScript Internationalization API Specification, 13.2.1. 2984
Object.cpp Make an object whether this was called with 'new' or not. 76202
Object.h Like IdToValue, but convert int jsids to strings. This is used when exposing a jsid to script for Object.getOwnProperty{Names,Symbols} or scriptable proxy traps. 2753
Object.js ES6 draft rev 32 (2015 Feb 2) 11376
ParseRecordObject.cpp 1041
ParseRecordObject.h 1177
Profilers.cpp Profiling-related API 15511
Profilers.h Functions for controlling profilers from within JS: Valgrind, Perf, etc 2758
Promise-inl.h Given a settled (i.e. fulfilled or rejected, not pending) promise, sets |promise.[[PromiseIsHandled]]| to true and removes it from the list of unhandled rejected promises. NOTE: If you need to set |promise.[[PromiseIsHandled]]| on a pending promise, use |PromiseObject::setHandled()| directly. 1577
Promise.cpp ES2023 draft rev 714fa3dd1e8237ae9c666146270f81880089eca5 Promise Resolve Functions 249851
Promise.h Unforgeable version of the JS builtin Promise.all. Takes a HandleValueVector of Promise objects and returns a promise that's resolved with an array of resolution values when all those promises have been resolved, or rejected with the rejection value of the first rejected promise. Asserts that all objects in the `promises` vector are, maybe wrapped, instances of `Promise` or a subclass of `Promise`. 10582
Promise.js 2167
RecordObject.cpp 2291
RecordObject.h 823
Reflect.cpp Reflect methods ******************************************************* 6971
Reflect.h builtin_Reflect_h 967
Reflect.js , newTarget 5430
ReflectParse.cpp JS reflection package. 127644
RegExp.cpp Implements RegExpBuiltinExec: Steps 18-35 75830
RegExp.h The following builtin natives are extern'd for pointer comparison in other parts of the engine. 8242
RegExp.js 36023
RegExpGlobalReplaceOpt.h.js 5436
RegExpLocalReplaceOpt.h.js 4030
SelfHostingDefines.h 4234
Set.js 13379
ShadowRealm.cpp static 25980
ShadowRealm.h 1082
Sorting.js 5978
String.cpp Forward declarations for URI encode/decode and helper routines 142739
String.h Initialize the String class, returning its prototype object. 4214
String.js A helper function implementing the logic for both String.prototype.padStart and String.prototype.padEnd as described in ES7 Draft March 29, 2016 28654
Symbol.cpp 7450
Symbol.h Stores this Symbol object's [[PrimitiveValue]]. 2439
TestingFunctions.cpp 316726
TestingFunctions.h namespace js 1691
TestingUtility.cpp 8704
TestingUtility.h namespace js 2871
Tuple.js Step 1. 16264
TupleObject.cpp 3164
TupleObject.h 954
TypedArray.js Steps 3-5 (non-wrapped typed arrays). 54482
TypedArrayConstants.h 834
Utilities.js Specification types ********* 6112
WeakMap.js 778
WeakMapObject-inl.h builtin_WeakMapObject_inl_h 2938
WeakMapObject.cpp static 10073
WeakMapObject.h builtin_WeakMapObject_h 2344
WeakRefObject.cpp static 8199
WeakRefObject.h builtin_WeakRefObject_h 1361
WeakSet.js 628
WeakSetObject.cpp static 7340
WeakSetObject.h builtin_WeakSetObject_h 1845
WrappedFunctionObject.cpp 11696
WrappedFunctionObject.h 1431