Name Description Size
binast # Overview 5
hidePointer.cpp 955 234 345 5286
README # JSAPI Test Suite 5169
selfTest.cpp 591
testAddPropertyPropcache.cpp Do the test a bunch of times, because sometimes we seem to randomly miss the propcache. 1956
testArgumentsObject.cpp 3754
testArrayBuffer.cpp 9178
testArrayBufferView.cpp 4998
testArrayBufferWithUserOwnedContents.cpp 1565
testAssemblerBuffer.cpp 21653
testAtomicOperations.cpp failure 13593
testAtomizeUtf8NonAsciiLatin1CodePoint.cpp 1270
testBinASTReader.cpp 14268
testBoundFunction.cpp 1029
testBug604087.cpp additional class flags 3154
testCallArgs.cpp 2340
testCallNonGenericMethodOnProxy.cpp 2867
testChromeBuffer.cpp Check that, even after untrusted content has exhausted the stack, code compiled with "trusted principals" can run using reserved trusted-only buffer space. 9704
testCloneScript.cpp 4572
testCompileNonSyntactic.cpp 3649
testCompileUtf8.cpp 9619
testDateToLocaleString.cpp 2265
testDebugger.cpp 1949
testDeepFreeze.cpp 1579
testDefineGetterSetterNonEnumerable.cpp 1796
testDefineProperty.cpp 759
testDefinePropertyIgnoredAttributes.cpp 3796
testDeflateStringToUTF8Buffer.cpp 5922
testDifferentNewTargetInvokeConstructor.cpp This is a different function 1093
testEmptyWindowIsOmitted.cpp 5138
testErrorCopying.cpp 1085
testErrorInterceptor.cpp 4563
testErrorInterceptorGC.cpp 844
testErrorLineOfContext.cpp 2549
testException.cpp 784
testExecuteInJSMEnvironment.cpp 3826
testExternalStrings.cpp 1562
testFindSCCs.cpp Test what happens if recusion causes the stack to become full while traversing the graph. The test case is a large number of vertices, almost all of which are arranged in a linear chain. The last few are left unlinked to exercise adding vertices after the stack full condition has already been detected. Such an arrangement with no cycles would normally result in one group for each vertex, but since the stack is exhasted in processing a single group is returned containing all the vertices. 4917
testForceLexicalInitialization.cpp 1439
testForOfIterator.cpp 1539
testForwardSetProperty.cpp 2624
testFreshGlobalEvalRedefinition.cpp Create the global object. 2233
testFunctionBinding.cpp 2617
testFunctionProperties.cpp 720
testGCAllocator.cpp Finish any ongoing background free activity. 11282
testGCCellPtr.cpp 1927
testGCChunkPool.cpp 1824
testGCExactRooting.cpp Use the objects we just created to ensure that they are still alive. 11605
testGCFinalizeCallback.cpp Full GC, non-incremental. 5898
testGCGrayMarking.cpp JS_GC_ZEAL 21902
testGCHeapPostBarriers.cpp We don't actually use the function as a function, so here we cheat and cast a JSObject. 8866
testGCHooks.cpp JS_GC_ZEAL 3620
testGCMarking.cpp 14654
testGCOutOfMemory.cpp Check that we get OOM. 2516
testGCStoreBufferRemoval.cpp 3570
testGCUniqueId.cpp JS_GC_ZEAL 3904
testGCWeakCache.cpp 18672
testGetPropertyDescriptor.cpp 1830
testHashTable.cpp The rekeying test as conducted by adding only keys masked with 0x0000FFFF that are unique. We rekey by shifting left 16 bits. 13433
testIndexToString.cpp 2957
testInformalValueTypeName.cpp 1677
testIntern.cpp Try to pick a string that won't be interned by other tests in this runtime. 1448
testIntlAvailableLocales.cpp 2978
testIntString.cpp Test other types of static strings. 1344
testIsInsideNursery.cpp Non-GC things are never inside the nursery. 886
testIteratorObject.cpp 910
testJitDCEinGVN.cpp 4299
testJitFoldsTo.cpp 7096
testJitGVN.cpp 11098
testJitMacroAssembler.cpp 29057
testJitMinimalFunc.h 3042
testJitMoveEmitterCycles-mips32.cpp 23935
testJitMoveEmitterCycles.cpp 24481
testJitRangeAnalysis.cpp 12102
testJitRegisterSet.cpp 5875
testJitRValueAlloc.cpp _(JSVAL_TYPE_DOUBLE) 5924
testJSEvaluateScript.cpp 1033
testLookup.cpp 2769
testLooselyEqual.cpp 4799
testMappedArrayBuffer.cpp 5323
testMemoryAssociation.cpp 1476
testMutedErrors.cpp NB: uncaught exceptions, when reported, have nothing on the stack so both the filename and mutedErrors are empty. E.g., this would fail: CHECK(testError("throw 3")); 3261
testNewObject.cpp 6063
testNewTargetInvokeConstructor.cpp 644
testNullRoot.cpp 666
testNumberToString.cpp 4318
testObjectEmulatingUndefined.cpp 3405
testOOM.cpp 3164
testParseJSON.cpp 10848
testPersistentRooted.cpp 5481
testPreserveJitCode.cpp 2978
testPrintf.cpp 2118
testPrivateGCThingValue.cpp 2062
testProfileStrings.cpp Make sure the stack resets and we have an entry for each stack 7624
testPromise.cpp 4035
testPropCache.cpp name 1114
testReadableStream.cpp 39949
testRegExp.cpp 1702
testResolveRecursion.cpp Test that resolve hook recursion for the same object and property is prevented. 5761
tests.cpp Create the global object. 4309
tests.h Note: Aborts on OOM. 16348
testSameValue.cpp NB: passing a double that fits in an integer jsval is API misuse. As a matter of defense in depth, however, JS::SameValue should return the correct result comparing a positive-zero double to a negative-zero double, and this is believed to be the only way to make such a comparison possible. 966
testSavedStacks.cpp 14235
testScriptInfo.cpp 1648
testScriptObject.cpp After a garbage collection, the script should still work. 8083
testScriptSourceCompression.cpp 16353
testSetProperty.cpp 2196
testSetPropertyIgnoringNamedGetter.cpp 2139
testSharedImmutableStringsCache.cpp 2199
testSlowScript.cpp 2274
testSourcePolicy.cpp 1465
testStringBuffer.cpp 837
testStringIsArrayIndex.cpp The string being tested. 2409
testStructuredClone.cpp 10475
testSymbol.cpp 2315
testThreadingConditionVariable.cpp 6284
testThreadingExclusiveData.cpp 2315
testThreadingMutex.cpp 964
testThreadingThread.cpp 3257
testToSignedOrUnsignedInteger.cpp 2121
testTypedArrays.cpp 10590
testUbiNode.cpp 30769
testUncaughtSymbol.cpp 1621
testUTF8.cpp 1412
testValueABI.cpp Bug 689101 - jsval is technically a non-POD type because it has a private data member. On gcc, this doesn't seem to matter. On MSVC, this prevents returning a jsval from a function between C and C++ because it will use a retparam in C++ and a direct return value in C. Bug 712289 - jsval alignment was different on 32-bit platforms between C and C++ because the default alignments of js::Value and jsval_layout differ. 1487
testWasmLEB128.cpp 3739
testWeakMap.cpp JS_GC_ZEAL 6410
testWindowNonConfigurable.cpp 1947
testXDR.cpp 5813
valueABI.c See testValueABI.cpp 677