v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-api.cc File Reference
#include <limits.h>
#include <signal.h>
#include <unistd.h>
#include "v8.h"
#include "api.h"
#include "isolate.h"
#include "compilation-cache.h"
#include "execution.h"
#include "objects.h"
#include "snapshot.h"
#include "platform.h"
#include "utils.h"
#include "cctest.h"
#include "parser.h"
#include "unicode-inl.h"
Include dependency graph for test-api.cc:

Go to the source code of this file.

Data Structures

class  TestResource
 
class  TestAsciiResource
 
class  TestAsciiResourceWithDisposeControl
 
class  WeakCallCounter
 
class  NativeFunctionExtension
 
class  FunctionExtension
 
class  Snorkel
 
class  Whammy
 
class  RegExpInterruptTest
 
class  ApplyInterruptTest
 
class  AsciiVectorResource
 
class  UC16VectorResource
 
class  RegExpStringModificationTest
 
class  VisitorImpl
 
class  IsolateThread
 
class  InitDefaultIsolateThread
 
class  Visitor42
 
class  ThreadInterruptTest
 

Typedefs

typedef v8::Handle< Value >(* NamedPropertyGetter )(Local< String > property, const AccessorInfo &info)
 

Functions

 THREADED_TEST (Handles)
 
 THREADED_TEST (ReceiverSignature)
 
 THREADED_TEST (ArgumentSignature)
 
 THREADED_TEST (HulIgennem)
 
 THREADED_TEST (Access)
 
 THREADED_TEST (AccessElement)
 
 THREADED_TEST (Script)
 
 THREADED_TEST (ScriptUsingStringResource)
 
 THREADED_TEST (ScriptUsingAsciiStringResource)
 
 THREADED_TEST (ScriptMakingExternalString)
 
 THREADED_TEST (ScriptMakingExternalAsciiString)
 
 TEST (MakingExternalStringConditions)
 
 TEST (MakingExternalAsciiStringConditions)
 
 THREADED_TEST (UsingExternalString)
 
 THREADED_TEST (UsingExternalAsciiString)
 
 THREADED_TEST (ScavengeExternalString)
 
 THREADED_TEST (ScavengeExternalAsciiString)
 
 TEST (ExternalStringWithDisposeHandling)
 
 THREADED_TEST (StringConcat)
 
 THREADED_TEST (GlobalProperties)
 
 THREADED_TEST (FunctionTemplate)
 
 THREADED_TEST (ExternalWrap)
 
 THREADED_TEST (FindInstanceInPrototypeChain)
 
 THREADED_TEST (TinyInteger)
 
 THREADED_TEST (BigSmiInteger)
 
 THREADED_TEST (BigInteger)
 
 THREADED_TEST (TinyUnsignedInteger)
 
 THREADED_TEST (BigUnsignedSmiInteger)
 
 THREADED_TEST (BigUnsignedInteger)
 
 THREADED_TEST (OutOfSignedRangeUnsignedInteger)
 
 THREADED_TEST (IsNativeError)
 
 THREADED_TEST (StringObject)
 
 THREADED_TEST (NumberObject)
 
 THREADED_TEST (BooleanObject)
 
 THREADED_TEST (Number)
 
 THREADED_TEST (ToNumber)
 
 THREADED_TEST (Date)
 
 THREADED_TEST (Boolean)
 
 THREADED_TEST (GlobalPrototype)
 
 THREADED_TEST (ObjectTemplate)
 
 THREADED_TEST (DescriptorInheritance)
 
Handle< Value > SimpleAccessorGetter (Local< String > name, const AccessorInfo &info)
 
void SimpleAccessorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info)
 
Handle< Value > EmptyInterceptorGetter (Local< String > name, const AccessorInfo &info)
 
Handle< Value > EmptyInterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info)
 
Handle< Value > InterceptorGetter (Local< String > name, const AccessorInfo &info)
 
Handle< Value > InterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info)
 
void AddAccessor (Handle< FunctionTemplate > templ, Handle< String > name, v8::AccessorGetter getter, v8::AccessorSetter setter)
 
void AddInterceptor (Handle< FunctionTemplate > templ, v8::NamedPropertyGetter getter, v8::NamedPropertySetter setter)
 
 THREADED_TEST (EmptyInterceptorDoesNotShadowAccessors)
 
 THREADED_TEST (EmptyInterceptorDoesNotShadowJSAccessors)
 
 THREADED_TEST (EmptyInterceptorDoesNotAffectJSProperties)
 
 THREADED_TEST (SwitchFromInterceptorToAccessor)
 
 THREADED_TEST (SwitchFromAccessorToInterceptor)
 
 THREADED_TEST (SwitchFromInterceptorToAccessorWithInheritance)
 
 THREADED_TEST (SwitchFromAccessorToInterceptorWithInheritance)
 
 THREADED_TEST (SwitchFromInterceptorToJSAccessor)
 
 THREADED_TEST (SwitchFromJSAccessorToInterceptor)
 
 THREADED_TEST (SwitchFromInterceptorToProperty)
 
 THREADED_TEST (SwitchFromPropertyToInterceptor)
 
 THREADED_TEST (NamedPropertyHandlerGetter)
 
 THREADED_TEST (IndexedPropertyHandlerGetter)
 
v8::Handle< Value > CheckThisIndexedPropertySetter (uint32_t index, Local< Value > value, const AccessorInfo &info)
 
v8::Handle< Value > CheckThisNamedPropertySetter (Local< String > property, Local< Value > value, const AccessorInfo &info)
 
v8::Handle< v8::IntegerCheckThisIndexedPropertyQuery (uint32_t index, const AccessorInfo &info)
 
v8::Handle< v8::IntegerCheckThisNamedPropertyQuery (Local< String > property, const AccessorInfo &info)
 
v8::Handle< v8::BooleanCheckThisIndexedPropertyDeleter (uint32_t index, const AccessorInfo &info)
 
v8::Handle< v8::BooleanCheckThisNamedPropertyDeleter (Local< String > property, const AccessorInfo &info)
 
v8::Handle< v8::ArrayCheckThisIndexedPropertyEnumerator (const AccessorInfo &info)
 
v8::Handle< v8::ArrayCheckThisNamedPropertyEnumerator (const AccessorInfo &info)
 
 THREADED_TEST (PropertyHandlerInPrototype)
 
 THREADED_TEST (PrePropertyHandler)
 
 THREADED_TEST (UndefinedIsNotEnumerable)
 
 THREADED_TEST (DeepCrossLanguageRecursion)
 
 THREADED_TEST (CallbackExceptionRegression)
 
 THREADED_TEST (FunctionPrototype)
 
 THREADED_TEST (InternalFields)
 
 THREADED_TEST (GlobalObjectInternalFields)
 
 THREADED_TEST (InternalFieldsNativePointers)
 
 THREADED_TEST (InternalFieldsNativePointersAndExternal)
 
 THREADED_TEST (IdentityHash)
 
 THREADED_TEST (HiddenProperties)
 
 THREADED_TEST (Regress97784)
 
 THREADED_TEST (HiddenPropertiesWithInterceptors)
 
 THREADED_TEST (External)
 
 THREADED_TEST (GlobalHandle)
 
 THREADED_TEST (ApiObjectGroups)
 
 THREADED_TEST (ApiObjectGroupsCycle)
 
 THREADED_TEST (ScriptException)
 
 THREADED_TEST (MessageHandler0)
 
 TEST (MessageHandler1)
 
 TEST (MessageHandler2)
 
 THREADED_TEST (GetSetProperty)
 
 THREADED_TEST (PropertyAttributes)
 
 THREADED_TEST (Array)
 
v8::Handle< Value > HandleF (const v8::Arguments &args)
 
 THREADED_TEST (Vector)
 
 THREADED_TEST (FunctionCall)
 
 TEST (OutOfMemory)
 
v8::Handle< Value > ProvokeOutOfMemory (const v8::Arguments &args)
 
 TEST (OutOfMemoryNested)
 
 TEST (HugeConsStringOutOfMemory)
 
 THREADED_TEST (ConstructCall)
 
 THREADED_TEST (ConversionNumber)
 
 THREADED_TEST (isNumberType)
 
 THREADED_TEST (ConversionException)
 
v8::Handle< Value > ThrowFromC (const v8::Arguments &args)
 
v8::Handle< Value > CCatcher (const v8::Arguments &args)
 
 THREADED_TEST (APICatch)
 
 THREADED_TEST (APIThrowTryCatch)
 
 TEST (TryCatchInTryFinally)
 
 TEST (APIThrowMessageOverwrittenToString)
 
 TEST (CustomErrorToString)
 
 TEST (APIThrowMessage)
 
 TEST (APIThrowMessageAndVerboseTryCatch)
 
 TEST (APIStackOverflowAndVerboseTryCatch)
 
 THREADED_TEST (ExternalScriptException)
 
v8::Handle< Value > CThrowCountDown (const v8::Arguments &args)
 
v8::Handle< Value > JSCheck (const v8::Arguments &args)
 
 THREADED_TEST (EvalInTryFinally)
 
 TEST (ExceptionOrder)
 
v8::Handle< Value > ThrowValue (const v8::Arguments &args)
 
 THREADED_TEST (ThrowValues)
 
 THREADED_TEST (CatchZero)
 
 THREADED_TEST (CatchExceptionFromWith)
 
 THREADED_TEST (TryCatchAndFinallyHidingException)
 
v8::Handle< v8::ValueWithTryCatch (const v8::Arguments &args)
 
 THREADED_TEST (TryCatchAndFinally)
 
 THREADED_TEST (Equality)
 
 THREADED_TEST (MultiRun)
 
 THREADED_TEST (SimplePropertyRead)
 
 THREADED_TEST (DefinePropertyOnAPIAccessor)
 
 THREADED_TEST (DefinePropertyOnDefineGetterSetter)
 
 THREADED_TEST (DefineAPIAccessorOnObject)
 
 THREADED_TEST (DontDeleteAPIAccessorsCannotBeOverriden)
 
 THREADED_TEST (ElementAPIAccessor)
 
 THREADED_TEST (SimplePropertyWrite)
 
 THREADED_TEST (SetterOnly)
 
 THREADED_TEST (NoAccessors)
 
 THREADED_TEST (NamedInterceptorPropertyRead)
 
 THREADED_TEST (NamedInterceptorDictionaryIC)
 
 THREADED_TEST (NamedInterceptorDictionaryICMultipleContext)
 
 THREADED_TEST (NamedInterceptorMapTransitionRead)
 
 THREADED_TEST (IndexedInterceptorWithIndexedAccessor)
 
Handle< v8::ArrayUnboxedDoubleIndexedPropertyEnumerator (const AccessorInfo &info)
 
 THREADED_TEST (IndexedInterceptorUnboxedDoubleWithIndexedAccessor)
 
Handle< v8::ArrayNonStrictArgsIndexedPropertyEnumerator (const AccessorInfo &info)
 
 THREADED_TEST (IndexedInterceptorNonStrictArgsWithIndexedAccessor)
 
 THREADED_TEST (IndexedInterceptorWithGetOwnPropertyDescriptor)
 
 THREADED_TEST (IndexedInterceptorWithNoSetter)
 
 THREADED_TEST (IndexedInterceptorWithAccessorCheck)
 
 THREADED_TEST (IndexedInterceptorWithAccessorCheckSwitchedOn)
 
 THREADED_TEST (IndexedInterceptorWithDifferentIndices)
 
 THREADED_TEST (IndexedInterceptorWithNegativeIndices)
 
 THREADED_TEST (IndexedInterceptorWithNotSmiLookup)
 
 THREADED_TEST (IndexedInterceptorGoingMegamorphic)
 
 THREADED_TEST (IndexedInterceptorReceiverTurningSmi)
 
 THREADED_TEST (IndexedInterceptorOnProto)
 
 THREADED_TEST (MultiContexts)
 
 THREADED_TEST (FunctionPrototypeAcrossContexts)
 
 THREADED_TEST (Regress892105)
 
 THREADED_TEST (UndetectableObject)
 
 THREADED_TEST (VoidLiteral)
 
 THREADED_TEST (ExtensibleOnUndetectable)
 
 THREADED_TEST (UndetectableString)
 
 TEST (UndetectableOptimized)
 
 THREADED_TEST (GlobalObjectTemplate)
 
 THREADED_TEST (SimpleExtensions)
 
 THREADED_TEST (NullExtensions)
 
 THREADED_TEST (ExtensionMissingSourceLength)
 
 THREADED_TEST (ExtensionWithSourceLength)
 
 THREADED_TEST (UseEvalFromExtension)
 
 THREADED_TEST (UseWithFromExtension)
 
 THREADED_TEST (AutoExtensions)
 
 THREADED_TEST (SyntaxErrorExtensions)
 
 THREADED_TEST (ExceptionExtensions)
 
 THREADED_TEST (NativeCallInExtensions)
 
 THREADED_TEST (NativeFunctionDeclaration)
 
 THREADED_TEST (NativeFunctionDeclarationError)
 
 THREADED_TEST (NativeFunctionDeclarationErrorEscape)
 
 THREADED_TEST (ExtensionDependency)
 
 THREADED_TEST (FunctionLookup)
 
 THREADED_TEST (NativeFunctionConstructCall)
 
void StoringErrorCallback (const char *location, const char *message)
 
 TEST (ErrorReporting)
 
void OOMCallback (const char *location, const char *message)
 
 TEST (RegexpOutOfMemory)
 
 THREADED_TEST (ErrorWithMissingScriptInfo)
 
v8::Handle< Value > WhammyPropertyGetter (Local< String > name, const AccessorInfo &info)
 
 THREADED_TEST (WeakReference)
 
 THREADED_TEST (IndependentWeakHandle)
 
 THREADED_TEST (GCFromWeakCallbacks)
 
 THREADED_TEST (IndependentHandleRevival)
 
 THREADED_TEST (Arguments)
 
 THREADED_TEST (Deleter)
 
 THREADED_TEST (Enumerators)
 
 THREADED_TEST (GetterHolders)
 
 THREADED_TEST (PreInterceptorHolders)
 
 THREADED_TEST (ObjectInstantiation)
 
int GetUtf8Length (Handle< String > str)
 
 THREADED_TEST (StringWrite)
 
 THREADED_TEST (Utf16)
 
 THREADED_TEST (Utf16Symbol)
 
 THREADED_TEST (ToArrayIndex)
 
 THREADED_TEST (ErrorConstruction)
 
 THREADED_TEST (DeleteAccessor)
 
 THREADED_TEST (TypeSwitch)
 
 TEST (ApiUncaughtException)
 
 TEST (ExceptionInNativeScript)
 
 TEST (CompilationErrorUsingTryCatchHandler)
 
 TEST (TryCatchFinallyUsingTryCatchHandler)
 
 TEST (SecurityHandler)
 
 THREADED_TEST (SecurityChecks)
 
 THREADED_TEST (SecurityChecksForPrototypeChain)
 
 THREADED_TEST (CrossDomainDelete)
 
 THREADED_TEST (CrossDomainIsPropertyEnumerable)
 
 THREADED_TEST (CrossDomainForIn)
 
 TEST (ContextDetachGlobal)
 
 TEST (DetachAndReattachGlobal)
 
 TEST (AccessControl)
 
 TEST (AccessControlES5)
 
 THREADED_TEST (AccessControlGetOwnPropertyNames)
 
 THREADED_TEST (GetOwnPropertyNamesWithInterceptor)
 
 THREADED_TEST (CrossDomainAccessors)
 
 TEST (AccessControlIC)
 
 THREADED_TEST (AccessControlFlatten)
 
 THREADED_TEST (AccessControlInterceptorIC)
 
 THREADED_TEST (Version)
 
 THREADED_TEST (InstanceProperties)
 
 THREADED_TEST (GlobalObjectInstanceProperties)
 
 THREADED_TEST (CallKnownGlobalReceiver)
 
 THREADED_TEST (ShadowObject)
 
 THREADED_TEST (HiddenPrototype)
 
 THREADED_TEST (SetPrototype)
 
 THREADED_TEST (Regress91517)
 
 THREADED_TEST (FunctionReadOnlyPrototype)
 
 THREADED_TEST (SetPrototypeThrows)
 
 THREADED_TEST (GetterSetterExceptions)
 
 THREADED_TEST (Constructor)
 
 THREADED_TEST (ConstructorForObject)
 
 THREADED_TEST (FunctionDescriptorException)
 
 THREADED_TEST (EvalAliasedDynamic)
 
 THREADED_TEST (CrossEval)
 
 THREADED_TEST (EvalInDetachedGlobal)
 
 THREADED_TEST (CrossLazyLoad)
 
 THREADED_TEST (CallAsFunction)
 
 THREADED_TEST (CallableObject)
 
 THREADED_TEST (HandleIteration)
 
 THREADED_TEST (InterceptorHasOwnProperty)
 
 THREADED_TEST (InterceptorHasOwnPropertyCausingGC)
 
 THREADED_TEST (InterceptorLoadIC)
 
 THREADED_TEST (InterceptorLoadICWithFieldOnHolder)
 
 THREADED_TEST (InterceptorLoadICWithSubstitutedProto)
 
 THREADED_TEST (InterceptorLoadICWithPropertyOnProto)
 
 THREADED_TEST (InterceptorLoadICUndefined)
 
 THREADED_TEST (InterceptorLoadICWithOverride)
 
 THREADED_TEST (InterceptorLoadICFieldNotNeeded)
 
 THREADED_TEST (InterceptorLoadICInvalidatedField)
 
 THREADED_TEST (InterceptorLoadICPostInterceptor)
 
 THREADED_TEST (InterceptorLoadICInvalidatedFieldViaGlobal)
 
 THREADED_TEST (InterceptorLoadICWithCallbackOnHolder)
 
 THREADED_TEST (InterceptorLoadICWithCallbackOnProto)
 
 THREADED_TEST (InterceptorLoadICForCallbackWithOverride)
 
 THREADED_TEST (InterceptorLoadICCallbackNotNeeded)
 
 THREADED_TEST (InterceptorLoadICInvalidatedCallback)
 
 THREADED_TEST (InterceptorLoadICInvalidatedCallbackViaGlobal)
 
 THREADED_TEST (InterceptorReturningZero)
 
 THREADED_TEST (InterceptorStoreIC)
 
 THREADED_TEST (InterceptorStoreICWithNoSetter)
 
 THREADED_TEST (InterceptorCallIC)
 
 THREADED_TEST (InterceptorCallICSeesOthers)
 
 THREADED_TEST (InterceptorCallICCacheableNotNeeded)
 
 THREADED_TEST (InterceptorCallICInvalidatedCacheable)
 
 THREADED_TEST (InterceptorCallICConstantFunctionUsed)
 
 THREADED_TEST (InterceptorCallICConstantFunctionNotNeeded)
 
 THREADED_TEST (InterceptorCallICConstantFunctionNotNeededWrapped)
 
 THREADED_TEST (InterceptorCallICInvalidatedConstantFunction)
 
 THREADED_TEST (InterceptorCallICInvalidatedConstantFunctionViaGlobal)
 
 THREADED_TEST (InterceptorCallICCachedFromGlobal)
 
v8::Handle< v8::ValueDirectApiCallback (const v8::Arguments &args)
 
 THREADED_TEST (CallICFastApi_DirectCall_GCMoveStub)
 
v8::Handle< v8::ValueThrowingDirectApiCallback (const v8::Arguments &args)
 
 THREADED_TEST (CallICFastApi_DirectCall_Throw)
 
v8::Handle< v8::ValueDirectGetterCallback (Local< String > name, const v8::AccessorInfo &info)
 
 THREADED_TEST (LoadICFastApi_DirectCall_GCMoveStub)
 
v8::Handle< v8::ValueThrowingDirectGetterCallback (Local< String > name, const v8::AccessorInfo &info)
 
 THREADED_TEST (LoadICFastApi_DirectCall_Throw)
 
 THREADED_TEST (InterceptorCallICFastApi_TrivialSignature)
 
 THREADED_TEST (InterceptorCallICFastApi_SimpleSignature)
 
 THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss1)
 
 THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss2)
 
 THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss3)
 
 THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_TypeError)
 
 THREADED_TEST (CallICFastApi_TrivialSignature)
 
 THREADED_TEST (CallICFastApi_SimpleSignature)
 
 THREADED_TEST (CallICFastApi_SimpleSignature_Miss1)
 
 THREADED_TEST (CallICFastApi_SimpleSignature_Miss2)
 
 THREADED_TEST (InterceptorKeyedCallICKeyChange1)
 
 THREADED_TEST (InterceptorKeyedCallICKeyChange2)
 
 THREADED_TEST (InterceptorKeyedCallICKeyChangeOnGlobal)
 
 THREADED_TEST (InterceptorKeyedCallICFromGlobal)
 
 THREADED_TEST (InterceptorKeyedCallICMapChangeBefore)
 
 THREADED_TEST (InterceptorKeyedCallICMapChangeAfter)
 
 THREADED_TEST (InterceptorICReferenceErrors)
 
 THREADED_TEST (InterceptorICGetterExceptions)
 
 THREADED_TEST (InterceptorICSetterExceptions)
 
 THREADED_TEST (NullNamedInterceptor)
 
 THREADED_TEST (NullIndexedInterceptor)
 
 THREADED_TEST (NamedPropertyHandlerGetterAttributes)
 
 THREADED_TEST (VariousGetPropertiesAndThrowingCallbacks)
 
 THREADED_TEST (ExceptionsDoNotPropagatePastTryCatch)
 
 THREADED_TEST (Overriding)
 
 THREADED_TEST (IsConstructCall)
 
 THREADED_TEST (ObjectProtoToString)
 
 THREADED_TEST (ObjectGetConstructorName)
 
 TEST (Threading)
 
 TEST (Threading2)
 
 TEST (Threading3)
 
 TEST (Threading4)
 
 TEST (NestedLockers)
 
 TEST (NestedLockersNoTryCatch)
 
 THREADED_TEST (RecursiveLocking)
 
 THREADED_TEST (LockUnlockLock)
 
 TEST (DontLeakGlobalObjects)
 
void NewPersistentHandleCallback (v8::Persistent< v8::Value > handle, void *)
 
 THREADED_TEST (NewPersistentHandleFromWeakCallback)
 
void DisposeAndForceGcCallback (v8::Persistent< v8::Value > handle, void *)
 
 THREADED_TEST (DoNotUseDeletedNodesInSecondLevelGc)
 
void DisposingCallback (v8::Persistent< v8::Value > handle, void *)
 
void HandleCreatingCallback (v8::Persistent< v8::Value > handle, void *)
 
 THREADED_TEST (NoGlobalHandlesOrphaningDueToWeakCallback)
 
 THREADED_TEST (CheckForCrossContextObjectLiterals)
 
 THREADED_TEST (NestedHandleScopeAndContexts)
 
 TEST (SetFunctionEntryHook)
 
void SimulateFullSpace (i::PagedSpace *space)
 
 TEST (SetJitCodeEventHandler)
 
 THREADED_TEST (ExternalAllocatedMemory)
 
 THREADED_TEST (DisposeEnteredContext)
 
 THREADED_TEST (Regress54)
 
 TEST (CatchStackOverflow)
 
 THREADED_TEST (TryCatchSourceInfo)
 
 THREADED_TEST (CompilationCache)
 
 THREADED_TEST (CallbackFunctionName)
 
 THREADED_TEST (DateAccess)
 
void CheckProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[])
 
void CheckOwnProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[])
 
 THREADED_TEST (PropertyEnumeration)
 
 THREADED_TEST (PropertyEnumeration2)
 
 THREADED_TEST (DisableAccessChecksWhileConfiguring)
 
 THREADED_TEST (AccessChecksReenabledCorrectly)
 
 THREADED_TEST (AccessControlRepeatedContextCreation)
 
 THREADED_TEST (TurnOnAccessCheck)
 
 THREADED_TEST (TurnOnAccessCheckAndRecompile)
 
 TEST (PreCompile)
 
 TEST (PreCompileWithError)
 
 TEST (Regress31661)
 
 TEST (PreCompileSerialization)
 
 TEST (PreCompileDeserializationError)
 
 TEST (PreCompileInvalidPreparseDataError)
 
 TEST (PreCompileAPIVariationsAreSame)
 
 THREADED_TEST (DictionaryICLoadedFunction)
 
 THREADED_TEST (CrossContextNew)
 
 TEST (RegExpInterruption)
 
 TEST (ApplyInterruption)
 
 TEST (ObjectClone)
 
 THREADED_TEST (MorphCompositeStringTest)
 
 TEST (CompileExternalTwoByteSource)
 
 TEST (RegExpStringModification)
 
 TEST (ReadOnlyPropertyInGlobalProto)
 
 TEST (ForceSet)
 
 TEST (ForceSetWithInterceptor)
 
 THREADED_TEST (ForceDelete)
 
 THREADED_TEST (ForceDeleteWithInterceptor)
 
 THREADED_TEST (ForceDeleteIC)
 
 TEST (InlinedFunctionAcrossContexts)
 
 THREADED_TEST (GetCallingContext)
 
 THREADED_TEST (InitGlobalVarInProtoChain)
 
 THREADED_TEST (ReplaceConstantFunction)
 
 THREADED_TEST (Regress16276)
 
 THREADED_TEST (PixelArray)
 
 THREADED_TEST (PixelArrayInfo)
 
 THREADED_TEST (PixelArrayWithInterceptor)
 
 THREADED_TEST (ExternalByteArray)
 
 THREADED_TEST (ExternalUnsignedByteArray)
 
 THREADED_TEST (ExternalPixelArray)
 
 THREADED_TEST (ExternalShortArray)
 
 THREADED_TEST (ExternalUnsignedShortArray)
 
 THREADED_TEST (ExternalIntArray)
 
 THREADED_TEST (ExternalUnsignedIntArray)
 
 THREADED_TEST (ExternalFloatArray)
 
 THREADED_TEST (ExternalDoubleArray)
 
 THREADED_TEST (ExternalArrays)
 
void ExternalArrayInfoTestHelper (v8::ExternalArrayType array_type)
 
 THREADED_TEST (ExternalArrayInfo)
 
void ExternalArrayLimitTestHelper (v8::ExternalArrayType array_type, int size)
 
 TEST (ExternalArrayLimits)
 
 THREADED_TEST (ScriptContextDependence)
 
 THREADED_TEST (StackTrace)
 
void checkStackFrame (const char *expected_script_name, const char *expected_func_name, int expected_line_number, int expected_column, bool is_eval, bool is_constructor, v8::Handle< v8::StackFrame > frame)
 
v8::Handle< Value > AnalyzeStackInNativeCode (const v8::Arguments &args)
 
 TEST (CaptureStackTrace)
 
 TEST (CaptureStackTraceForUncaughtException)
 
 TEST (CaptureStackTraceForUncaughtExceptionAndSetters)
 
 TEST (RethrowStackTrace)
 
 TEST (RethrowPrimitiveStackTrace)
 
 TEST (RethrowExistingStackTrace)
 
 TEST (RethrowBogusErrorStackTrace)
 
v8::Handle< Value > AnalyzeStackOfEvalWithSourceURL (const v8::Arguments &args)
 
 TEST (SourceURLInStackTrace)
 
v8::Handle< Value > AnalyzeStackOfInlineScriptWithSourceURL (const v8::Arguments &args)
 
 TEST (InlineScriptWithSourceURLInStackTrace)
 
v8::Handle< Value > AnalyzeStackOfDynamicScriptWithSourceURL (const v8::Arguments &args)
 
 TEST (DynamicWithSourceURLInStackTrace)
 
 TEST (IdleNotification)
 
 TEST (IdleNotificationWithSmallHint)
 
 TEST (IdleNotificationWithLargeHint)
 
 TEST (Regress2107)
 
 TEST (SetResourceConstraints)
 
 TEST (SetResourceConstraintsInThread)
 
 THREADED_TEST (GetHeapStatistics)
 
 TEST (VisitExternalStrings)
 
 THREADED_TEST (QuietSignalingNaNs)
 
 THREADED_TEST (SpaghettiStackReThrow)
 
 TEST (Regress528)
 
 THREADED_TEST (ScriptOrigin)
 
 THREADED_TEST (FunctionGetInferredName)
 
 THREADED_TEST (ScriptLineNumber)
 
 THREADED_TEST (ScriptColumnNumber)
 
 THREADED_TEST (FunctionGetScriptId)
 
Handle< Value > FooGetInterceptor (Local< String > name, const AccessorInfo &info)
 
Handle< Value > FooSetInterceptor (Local< String > name, Local< Value > value, const AccessorInfo &info)
 
 TEST (SetterOnConstructorPrototype)
 
 THREADED_TEST (InterceptorOnConstructorPrototype)
 
 TEST (Bug618)
 
void PrologueCallback (v8::GCType, v8::GCCallbackFlags)
 
void EpilogueCallback (v8::GCType, v8::GCCallbackFlags)
 
void PrologueCallbackSecond (v8::GCType, v8::GCCallbackFlags)
 
void EpilogueCallbackSecond (v8::GCType, v8::GCCallbackFlags)
 
 TEST (GCCallbacks)
 
 THREADED_TEST (AddToJSFunctionResultCache)
 
 THREADED_TEST (FillJSFunctionResultCache)
 
 THREADED_TEST (RoundRobinGetFromCache)
 
 THREADED_TEST (ReverseGetFromCache)
 
 THREADED_TEST (TestEviction)
 
 THREADED_TEST (TwoByteStringInAsciiCons)
 
void FailedAccessCheckCallbackGC (Local< v8::Object > target, v8::AccessType type, Local< v8::Value > data)
 
 TEST (GCInFailedAccessCheckCallback)
 
 TEST (DefaultIsolateGetCurrent)
 
 TEST (IsolateNewDispose)
 
 TEST (IsolateEnterExitDefault)
 
 TEST (DisposeDefaultIsolate)
 
 TEST (RunDefaultAndAnotherIsolate)
 
 TEST (DisposeIsolateWhenInUse)
 
 TEST (RunTwoIsolatesOnSingleThread)
 
 TEST (MultipleIsolatesOnIndividualThreads)
 
 TEST (IsolateDifferentContexts)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread1)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread2)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread3)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread4)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread5)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread6)
 
 TEST (StringCheckMultipleContexts)
 
 TEST (NumberCheckMultipleContexts)
 
 TEST (BooleanCheckMultipleContexts)
 
 TEST (DontDeleteCellLoadIC)
 
 TEST (DontDeleteCellLoadICForceDelete)
 
 TEST (DontDeleteCellLoadICAPI)
 
 TEST (PersistentHandleVisitor)
 
 TEST (RegExp)
 
 THREADED_TEST (Equals)
 
 TEST (NamedEnumeratorAndForIn)
 
 TEST (DefinePropertyPostDetach)
 
 THREADED_TEST (CreationContext)
 
 THREADED_TEST (CreationContextOfJsFunction)
 
Handle< Value > HasOwnPropertyIndexedPropertyGetter (uint32_t index, const AccessorInfo &info)
 
Handle< Value > HasOwnPropertyNamedPropertyGetter (Local< String > property, const AccessorInfo &info)
 
Handle< v8::IntegerHasOwnPropertyIndexedPropertyQuery (uint32_t index, const AccessorInfo &info)
 
Handle< v8::IntegerHasOwnPropertyNamedPropertyQuery (Local< String > property, const AccessorInfo &info)
 
Handle< v8::IntegerHasOwnPropertyNamedPropertyQuery2 (Local< String > property, const AccessorInfo &info)
 
Handle< Value > HasOwnPropertyAccessorGetter (Local< String > property, const AccessorInfo &info)
 
 TEST (HasOwnProperty)
 
void CheckCodeGenerationAllowed ()
 
void CheckCodeGenerationDisallowed ()
 
bool CodeGenerationAllowed (Local< Context > context)
 
bool CodeGenerationDisallowed (Local< Context > context)
 
 THREADED_TEST (AllowCodeGenFromStrings)
 
 TEST (SetErrorMessageForCodeGenFromStrings)
 
 THREADED_TEST (CallAPIFunctionOnNonObject)
 
 THREADED_TEST (ReadOnlyIndexedProperties)
 
 THREADED_TEST (Regress1516)
 
 THREADED_TEST (Regress93759)
 
 THREADED_TEST (Regress125988)
 
 THREADED_TEST (ForeignFunctionReceiver)
 
void CallCompletedCallback1 ()
 
void CallCompletedCallback2 ()
 
Handle< Value > RecursiveCall (const Arguments &args)
 
 TEST (CallCompletedCallback)
 
void CallCompletedCallbackNoException ()
 
void CallCompletedCallbackException ()
 
 TEST (CallCompletedCallbackOneException)
 
 TEST (CallCompletedCallbackTwoExceptions)
 
 TEST (SecondaryStubCache)
 
 TEST (PrimaryStubCache)
 
 TEST (StaticGetters)
 
 TEST (IsolateEmbedderData)
 
 TEST (StringEmpty)
 
 THREADED_TEST (InstanceCheckOnInstanceAccessor)
 
 THREADED_TEST (InstanceCheckOnInstanceAccessorWithInterceptor)
 
 THREADED_TEST (InstanceCheckOnPrototypeAccessor)
 
 TEST (TryFinallyMessage)
 
 THREADED_TEST (Regress137002a)
 
 THREADED_TEST (Regress137002b)
 
 THREADED_TEST (Regress142088)
 
 THREADED_TEST (Regress137496)
 
 THREADED_TEST (Regress149912)
 
 THREADED_TEST (Regress157124)
 
 THREADED_TEST (SemaphoreInterruption)
 

Variables

int echo_named_call_count
 
int echo_indexed_call_count = 0
 
v8::Handle< v8::Objectbottom
 
v8::Handle< Script > call_recursively_script
 
bool message_received
 
v8::Persistent< Value > xValue
 
int global_index = 0
 
v8::Handle< Function > args_fun
 
int p_getter_count
 
int p_getter_count2
 
v8::Handle< Value > call_ic_function
 
v8::Handle< Value > call_ic_function2
 
v8::Handle< Value > call_ic_function3
 
v8::Handle< Value > keyed_call_ic_function
 
v8::Persistent< v8::Objectsome_object
 
v8::Persistent< v8::Objectbad_handle
 
v8::Persistent< v8::Objectto_be_disposed
 
bool pass_on_get = false
 
v8::Persistent< Context > calling_context0
 
v8::Persistent< Context > calling_context1
 
v8::Persistent< Context > calling_context2
 
int prologue_call_count = 0
 
int epilogue_call_count = 0
 
int prologue_call_count_second = 0
 
int epilogue_call_count_second = 0
 
uint8_t callback_fired = 0
 

Typedef Documentation

typedef v8::Handle<Value>(* NamedPropertyGetter)(Local< String > property, const AccessorInfo &info)

Definition at line 8798 of file test-api.cc.

Function Documentation

void AddAccessor ( Handle< FunctionTemplate >  templ,
Handle< String >  name,
v8::AccessorGetter  getter,
v8::AccessorSetter  setter 
)

Definition at line 1415 of file test-api.cc.

Referenced by THREADED_TEST().

void AddInterceptor ( Handle< FunctionTemplate >  templ,
v8::NamedPropertyGetter  getter,
v8::NamedPropertySetter  setter 
)

Definition at line 1422 of file test-api.cc.

Referenced by THREADED_TEST().

v8::Handle<Value> AnalyzeStackOfDynamicScriptWithSourceURL ( const v8::Arguments args)
v8::Handle<Value> AnalyzeStackOfEvalWithSourceURL ( const v8::Arguments args)
v8::Handle<Value> AnalyzeStackOfInlineScriptWithSourceURL ( const v8::Arguments args)
void CallCompletedCallback1 ( )

Definition at line 17066 of file test-api.cc.

References OS::Print().

Referenced by TEST().

void CallCompletedCallback2 ( )

Definition at line 17072 of file test-api.cc.

References OS::Print().

Referenced by TEST().

void CallCompletedCallbackException ( )

Definition at line 17136 of file test-api.cc.

Referenced by TEST().

void CallCompletedCallbackNoException ( )

Definition at line 17130 of file test-api.cc.

Referenced by TEST().

v8::Handle<Value> CCatcher ( const v8::Arguments args)

Definition at line 3054 of file test-api.cc.

References CHECK, Script::Compile(), v8::False(), TryCatch::HasCaught(), Arguments::Length(), and Boolean::New().

Referenced by TEST().

void CheckCodeGenerationAllowed ( )

Definition at line 16673 of file test-api.cc.

References CHECK_EQ.

Referenced by THREADED_TEST().

void CheckCodeGenerationDisallowed ( )

Definition at line 16683 of file test-api.cc.

References CHECK.

Referenced by THREADED_TEST().

void CheckOwnProperties ( v8::Handle< v8::Value val,
int  elmc,
const char *  elmv[] 
)

Definition at line 11564 of file test-api.cc.

References Handle< T >::As(), CHECK_EQ, Object::GetOwnPropertyNames(), and Integer::New().

Referenced by THREADED_TEST().

void CheckProperties ( v8::Handle< v8::Value val,
int  elmc,
const char *  elmv[] 
)

Definition at line 11553 of file test-api.cc.

References Handle< T >::As(), CHECK_EQ, Object::GetPropertyNames(), and Integer::New().

Referenced by THREADED_TEST().

void checkStackFrame ( const char *  expected_script_name,
const char *  expected_func_name,
int  expected_line_number,
int  expected_column,
bool  is_eval,
bool  is_constructor,
v8::Handle< v8::StackFrame frame 
)
v8::Handle<v8::Boolean> CheckThisIndexedPropertyDeleter ( uint32_t  index,
const AccessorInfo &  info 
)

Definition at line 1741 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<v8::Array> CheckThisIndexedPropertyEnumerator ( const AccessorInfo &  info)

Definition at line 1759 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<v8::Integer> CheckThisIndexedPropertyQuery ( uint32_t  index,
const AccessorInfo &  info 
)

Definition at line 1724 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<Value> CheckThisIndexedPropertySetter ( uint32_t  index,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 1707 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<v8::Boolean> CheckThisNamedPropertyDeleter ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 1750 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<v8::Array> CheckThisNamedPropertyEnumerator ( const AccessorInfo &  info)

Definition at line 1767 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<v8::Integer> CheckThisNamedPropertyQuery ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 1733 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

v8::Handle<Value> CheckThisNamedPropertySetter ( Local< String >  property,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 1716 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

bool CodeGenerationAllowed ( Local< Context >  context)

Definition at line 16702 of file test-api.cc.

References ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

bool CodeGenerationDisallowed ( Local< Context >  context)

Definition at line 16708 of file test-api.cc.

References ApiTestFuzzer::Fuzz().

Referenced by TEST(), and THREADED_TEST().

v8::Handle<Value> CThrowCountDown ( const v8::Arguments args)
v8::Handle<v8::Value> DirectApiCallback ( const v8::Arguments args)

Definition at line 9577 of file test-api.cc.

References HEAP, and Heap::kAbortIncrementalMarkingMask.

Referenced by THREADED_TEST().

v8::Handle<v8::Value> DirectGetterCallback ( Local< String >  name,
const v8::AccessorInfo info 
)

Definition at line 9633 of file test-api.cc.

References HEAP, and Heap::kAbortIncrementalMarkingMask.

Referenced by THREADED_TEST().

void DisposeAndForceGcCallback ( v8::Persistent< v8::Value handle,
void *   
)

Definition at line 10994 of file test-api.cc.

References Persistent< T >::Dispose(), HEAP, and Heap::kNoGCFlags.

Referenced by THREADED_TEST().

void DisposingCallback ( v8::Persistent< v8::Value handle,
void *   
)

Definition at line 11015 of file test-api.cc.

References Persistent< T >::Dispose().

Referenced by THREADED_TEST().

Handle<Value> EmptyInterceptorGetter ( Local< String >  name,
const AccessorInfo &  info 
)

Definition at line 1378 of file test-api.cc.

Referenced by THREADED_TEST().

Handle<Value> EmptyInterceptorSetter ( Local< String >  name,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 1383 of file test-api.cc.

Referenced by THREADED_TEST().

void EpilogueCallback ( v8::GCType  ,
v8::GCCallbackFlags   
)

Definition at line 15378 of file test-api.cc.

References epilogue_call_count.

Referenced by TEST().

void EpilogueCallbackSecond ( v8::GCType  ,
v8::GCCallbackFlags   
)

Definition at line 15386 of file test-api.cc.

References epilogue_call_count_second.

Referenced by TEST().

void FailedAccessCheckCallbackGC ( Local< v8::Object target,
v8::AccessType  type,
Local< v8::Value data 
)

Definition at line 15630 of file test-api.cc.

References HEAP, and Heap::kNoGCFlags.

Referenced by TEST().

Handle<Value> FooGetInterceptor ( Local< String >  name,
const AccessorInfo &  info 
)

Definition at line 15220 of file test-api.cc.

References CHECK.

Handle<Value> FooSetInterceptor ( Local< String >  name,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 15229 of file test-api.cc.

References CHECK.

int GetUtf8Length ( Handle< String >  str)

Definition at line 5713 of file test-api.cc.

References v8::internal::FlattenString().

Referenced by THREADED_TEST().

void HandleCreatingCallback ( v8::Persistent< v8::Value handle,
void *   
)

Definition at line 11019 of file test-api.cc.

References Persistent< T >::Dispose(), Persistent< T >::New(), and Object::New().

Referenced by THREADED_TEST().

v8::Handle<Value> HandleF ( const v8::Arguments args)

Definition at line 2632 of file test-api.cc.

References HandleScope::Close(), ApiTestFuzzer::Fuzz(), Arguments::Length(), and Object::New().

Referenced by THREADED_TEST().

Handle<Value> HasOwnPropertyAccessorGetter ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 16594 of file test-api.cc.

Referenced by TEST().

Handle<Value> HasOwnPropertyIndexedPropertyGetter ( uint32_t  index,
const AccessorInfo &  info 
)

Definition at line 16559 of file test-api.cc.

Referenced by TEST().

Handle<v8::Integer> HasOwnPropertyIndexedPropertyQuery ( uint32_t  index,
const AccessorInfo &  info 
)

Definition at line 16573 of file test-api.cc.

References Handle< T >::As().

Referenced by TEST().

Handle<Value> HasOwnPropertyNamedPropertyGetter ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 16566 of file test-api.cc.

Referenced by TEST().

Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 16580 of file test-api.cc.

References Handle< T >::As().

Referenced by TEST().

Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery2 ( Local< String >  property,
const AccessorInfo &  info 
)

Definition at line 16587 of file test-api.cc.

References Handle< T >::As().

Referenced by TEST().

Handle<Value> InterceptorGetter ( Local< String >  name,
const AccessorInfo &  info 
)

Definition at line 1389 of file test-api.cc.

Referenced by THREADED_TEST().

Handle<Value> InterceptorSetter ( Local< String >  name,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 1403 of file test-api.cc.

Referenced by THREADED_TEST().

v8::Handle<Value> JSCheck ( const v8::Arguments args)

Definition at line 3306 of file test-api.cc.

References CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::Undefined().

Referenced by TEST().

void NewPersistentHandleCallback ( v8::Persistent< v8::Value handle,
void *   
)

Definition at line 10965 of file test-api.cc.

References Persistent< T >::Dispose(), and Persistent< T >::New().

Referenced by THREADED_TEST().

Handle<v8::Array> NonStrictArgsIndexedPropertyEnumerator ( const AccessorInfo &  info)

Definition at line 4119 of file test-api.cc.

References Object::Cast().

Referenced by THREADED_TEST().

void OOMCallback ( const char *  location,
const char *  message 
)

Definition at line 5179 of file test-api.cc.

Referenced by TEST().

void PrologueCallback ( v8::GCType  ,
v8::GCCallbackFlags   
)

Definition at line 15374 of file test-api.cc.

References prologue_call_count.

Referenced by TEST().

void PrologueCallbackSecond ( v8::GCType  ,
v8::GCCallbackFlags   
)

Definition at line 15382 of file test-api.cc.

References prologue_call_count_second.

Referenced by TEST().

v8::Handle<Value> ProvokeOutOfMemory ( const v8::Arguments args)

Definition at line 2762 of file test-api.cc.

References CHECK, ApiTestFuzzer::Fuzz(), and Context::HasOutOfMemoryException().

Referenced by TEST().

Handle<Value> RecursiveCall ( const Arguments &  args)

Definition at line 17078 of file test-api.cc.

References CHECK_EQ, OS::Print(), OS::SNPrintF(), Vector< T >::start(), and v8::Undefined().

Referenced by TEST().

Handle<Value> SimpleAccessorGetter ( Local< String >  name,
const AccessorInfo &  info 
)

Definition at line 1366 of file test-api.cc.

Referenced by THREADED_TEST().

void SimpleAccessorSetter ( Local< String >  name,
Local< Value >  value,
const AccessorInfo &  info 
)

Definition at line 1372 of file test-api.cc.

Referenced by THREADED_TEST().

void SimulateFullSpace ( i::PagedSpace space)

Definition at line 38 of file test-alloc.cc.

Referenced by TEST().

void StoringErrorCallback ( const char *  location,
const char *  message 
)

Definition at line 5146 of file test-api.cc.

References message, and NULL.

Referenced by ExternalArrayLimitTestHelper(), and TEST().

TEST ( MakingExternalStringConditions  )

Definition at line 506 of file test-api.cc.

References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.

TEST ( MakingExternalAsciiStringConditions  )

Definition at line 552 of file test-api.cc.

References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.

TEST ( ExternalStringWithDisposeHandling  )

Definition at line 687 of file test-api.cc.

References CHECK, CHECK_EQ, HEAP, and v8::internal::StrDup().

TEST ( MessageHandler1  )

Definition at line 2492 of file test-api.cc.

References V8::AddMessageListener(), CHECK, and V8::RemoveMessageListeners().

TEST ( TryCatchInTryFinally  )

Definition at line 3101 of file test-api.cc.

References CCatcher(), CHECK, and FunctionTemplate::New().

TEST ( APIThrowMessageOverwrittenToString  )
TEST ( CustomErrorToString  )

Definition at line 3182 of file test-api.cc.

References V8::AddMessageListener(), and V8::RemoveMessageListeners().

TEST ( APIThrowMessage  )
TEST ( APIThrowMessageAndVerboseTryCatch  )
TEST ( APIStackOverflowAndVerboseTryCatch  )
TEST ( ExceptionOrder  )

Definition at line 3356 of file test-api.cc.

References CThrowCountDown(), Context::Global(), JSCheck(), and FunctionTemplate::New().

TEST ( UndetectableOptimized  )

Definition at line 4692 of file test-api.cc.

References Context::Global().

TEST ( ErrorReporting  )
TEST ( RegexpOutOfMemory  )

Definition at line 5184 of file test-api.cc.

References CHECK, NULL, OOMCallback(), and V8::SetFatalErrorHandler().

TEST ( CompilationErrorUsingTryCatchHandler  )

Definition at line 6406 of file test-api.cc.

References CHECK, CHECK_NE, TryCatch::Exception(), TryCatch::HasCaught(), and NULL.

TEST ( TryCatchFinallyUsingTryCatchHandler  )

Definition at line 6416 of file test-api.cc.

References CHECK, TryCatch::HasCaught(), and TryCatch::Reset().

TEST ( ContextDetachGlobal  )
TEST ( DetachAndReattachGlobal  )
TEST ( NestedLockers  )
TEST ( NestedLockersNoTryCatch  )

Definition at line 10830 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

TEST ( DontLeakGlobalObjects  )

Definition at line 10924 of file test-api.cc.

References V8::ContextDisposedNotification(), and V8::Initialize().

TEST ( SetFunctionEntryHook  )

Definition at line 11155 of file test-api.cc.

References CHECK, CHECK_EQ, NULL, and V8::SetFunctionEntryHook().

TEST ( CatchStackOverflow  )
TEST ( PreCompileWithError  )
TEST ( Regress31661  )
TEST ( PreCompileDeserializationError  )

Definition at line 11970 of file test-api.cc.

References CHECK_EQ, V8::Initialize(), ScriptData::Length(), and ScriptData::New().

TEST ( RegExpInterruption  )
TEST ( ApplyInterruption  )
TEST ( ObjectClone  )

Definition at line 12353 of file test-api.cc.

References CHECK, CHECK_EQ, Integer::New(), sample, and Object::Set().

TEST ( CompileExternalTwoByteSource  )
TEST ( RegExpStringModification  )
TEST ( ReadOnlyPropertyInGlobalProto  )
TEST ( InlinedFunctionAcrossContexts  )
TEST ( CaptureStackTraceForUncaughtException  )
TEST ( CaptureStackTraceForUncaughtExceptionAndSetters  )
TEST ( RethrowStackTrace  )
TEST ( RethrowPrimitiveStackTrace  )
TEST ( RethrowExistingStackTrace  )
TEST ( RethrowBogusErrorStackTrace  )
TEST ( SourceURLInStackTrace  )

Definition at line 14526 of file test-api.cc.

References AnalyzeStackOfEvalWithSourceURL(), CHECK, and FunctionTemplate::New().

TEST ( InlineScriptWithSourceURLInStackTrace  )
TEST ( DynamicWithSourceURLInStackTrace  )
TEST ( IdleNotification  )

Definition at line 14641 of file test-api.cc.

References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.

TEST ( IdleNotificationWithSmallHint  )

Definition at line 14660 of file test-api.cc.

References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.

TEST ( IdleNotificationWithLargeHint  )

Definition at line 14680 of file test-api.cc.

References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.

TEST ( SetResourceConstraints  )
TEST ( SetResourceConstraintsInThread  )
TEST ( VisitExternalStrings  )
TEST ( SetterOnConstructorPrototype  )
TEST ( DefaultIsolateGetCurrent  )

Definition at line 15714 of file test-api.cc.

References CHECK, Isolate::GetCurrent(), and NULL.

TEST ( IsolateNewDispose  )
TEST ( IsolateEnterExitDefault  )

Definition at line 15736 of file test-api.cc.

References CHECK, CHECK_EQ, Isolate::Enter(), Isolate::Exit(), Isolate::GetCurrent(), and NULL.

TEST ( DisposeDefaultIsolate  )
TEST ( RunDefaultAndAnotherIsolate  )
TEST ( DisposeIsolateWhenInUse  )
TEST ( MultipleIsolatesOnIndividualThreads  )
TEST ( IsolateDifferentContexts  )

Definition at line 15992 of file test-api.cc.

References CHECK, CHECK_EQ, Isolate::New(), and Context::New().

TEST ( InitializeDefaultIsolateOnSecondaryThread1  )

Definition at line 16080 of file test-api.cc.

References InitDefaultIsolateThread::IgnoreOOM.

TEST ( InitializeDefaultIsolateOnSecondaryThread2  )

Definition at line 16084 of file test-api.cc.

References InitDefaultIsolateThread::SetResourceConstraints.

TEST ( InitializeDefaultIsolateOnSecondaryThread3  )

Definition at line 16088 of file test-api.cc.

References InitDefaultIsolateThread::SetFatalHandler.

TEST ( InitializeDefaultIsolateOnSecondaryThread4  )

Definition at line 16092 of file test-api.cc.

References InitDefaultIsolateThread::SetCounterFunction.

TEST ( InitializeDefaultIsolateOnSecondaryThread5  )
TEST ( InitializeDefaultIsolateOnSecondaryThread6  )
TEST ( StringCheckMultipleContexts  )

Definition at line 16105 of file test-api.cc.

TEST ( NumberCheckMultipleContexts  )

Definition at line 16128 of file test-api.cc.

TEST ( BooleanCheckMultipleContexts  )

Definition at line 16151 of file test-api.cc.

TEST ( DontDeleteCellLoadIC  )

Definition at line 16174 of file test-api.cc.

References HEAP, and Heap::kNoGCFlags.

TEST ( DontDeleteCellLoadICForceDelete  )

Definition at line 16214 of file test-api.cc.

References CHECK, and Context::Global().

TEST ( DontDeleteCellLoadICAPI  )

Definition at line 16242 of file test-api.cc.

References CHECK, v8::DontDelete, and Context::Global().

TEST ( PersistentHandleVisitor  )
TEST ( NamedEnumeratorAndForIn  )
TEST ( DefinePropertyPostDetach  )
TEST ( SetErrorMessageForCodeGenFromStrings  )
TEST ( CallCompletedCallbackOneException  )
TEST ( CallCompletedCallbackTwoExceptions  )
TEST ( SecondaryStubCache  )

Definition at line 17216 of file test-api.cc.

TEST ( PrimaryStubCache  )

Definition at line 17221 of file test-api.cc.

TEST ( IsolateEmbedderData  )
TEST ( TryFinallyMessage  )

Definition at line 17490 of file test-api.cc.

References CHECK, and CHECK_EQ.

THREADED_TEST ( Handles  )
THREADED_TEST ( HulIgennem  )

Definition at line 277 of file test-api.cc.

References CHECK_EQ, v8::internal::DeleteArray(), Value::ToString(), and v8::Undefined().

THREADED_TEST ( Access  )

Definition at line 289 of file test-api.cc.

References CHECK, CHECK_EQ, and Object::New().

THREADED_TEST ( AccessElement  )

Definition at line 304 of file test-api.cc.

References CHECK, CHECK_EQ, and Object::New().

THREADED_TEST ( Script  )

Definition at line 323 of file test-api.cc.

References CHECK_EQ.

THREADED_TEST ( ScriptUsingStringResource  )

Definition at line 391 of file test-api.cc.

References CHECK, CHECK_EQ, HEAP, and Heap::kNoGCFlags.

THREADED_TEST ( ScriptUsingAsciiStringResource  )

Definition at line 420 of file test-api.cc.

References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, and v8::internal::StrDup().

THREADED_TEST ( ScriptMakingExternalString  )
THREADED_TEST ( ScriptMakingExternalAsciiString  )
THREADED_TEST ( UsingExternalString  )

Definition at line 589 of file test-api.cc.

References CHECK, FACTORY, HEAP, Heap::kNoGCFlags, and v8::internal::NEW_SPACE.

THREADED_TEST ( UsingExternalAsciiString  )
THREADED_TEST ( ScavengeExternalString  )

Definition at line 625 of file test-api.cc.

References CHECK, CHECK_EQ, HEAP, v8::internal::NEW_SPACE, and v8::internal::OLD_DATA_SPACE.

THREADED_TEST ( ScavengeExternalAsciiString  )
THREADED_TEST ( StringConcat  )
THREADED_TEST ( GlobalProperties  )

Definition at line 779 of file test-api.cc.

References CHECK_EQ, Object::Get(), Context::Global(), and Object::Set().

THREADED_TEST ( FunctionTemplate  )

Definition at line 808 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( ExternalWrap  )

Definition at line 876 of file test-api.cc.

References foo.

THREADED_TEST ( FindInstanceInPrototypeChain  )

Definition at line 922 of file test-api.cc.

References CHECK, CHECK_EQ, and FunctionTemplate::New().

THREADED_TEST ( TinyInteger  )

Definition at line 969 of file test-api.cc.

References CHECK_EQ, Isolate::GetCurrent(), and Integer::New().

THREADED_TEST ( BigSmiInteger  )
THREADED_TEST ( BigInteger  )
THREADED_TEST ( TinyUnsignedInteger  )

Definition at line 1026 of file test-api.cc.

References CHECK_EQ, Isolate::GetCurrent(), and Integer::NewFromUnsigned().

THREADED_TEST ( BigUnsignedSmiInteger  )
THREADED_TEST ( BigUnsignedInteger  )
THREADED_TEST ( OutOfSignedRangeUnsignedInteger  )
THREADED_TEST ( IsNativeError  )

Definition at line 1092 of file test-api.cc.

References CHECK, and Value::IsNativeError().

THREADED_TEST ( StringObject  )
THREADED_TEST ( NumberObject  )
THREADED_TEST ( BooleanObject  )

Definition at line 1151 of file test-api.cc.

References Handle< T >::As(), CHECK, CHECK_EQ, Value::IsBooleanObject(), and Object::New().

THREADED_TEST ( Number  )

Definition at line 1176 of file test-api.cc.

References CHECK_EQ, and Number::New().

THREADED_TEST ( ToNumber  )

Definition at line 1185 of file test-api.cc.

References CHECK_EQ, v8::False(), and v8::True().

THREADED_TEST ( Date  )

Definition at line 1197 of file test-api.cc.

References CHECK_EQ, Object::Get(), Integer::New(), and Object::New().

THREADED_TEST ( Boolean  )
THREADED_TEST ( ObjectTemplate  )

Definition at line 1261 of file test-api.cc.

References CHECK, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( EmptyInterceptorDoesNotShadowAccessors  )
THREADED_TEST ( EmptyInterceptorDoesNotShadowJSAccessors  )
THREADED_TEST ( EmptyInterceptorDoesNotAffectJSProperties  )
THREADED_TEST ( SwitchFromInterceptorToAccessor  )
THREADED_TEST ( SwitchFromAccessorToInterceptor  )
THREADED_TEST ( SwitchFromInterceptorToAccessorWithInheritance  )
THREADED_TEST ( SwitchFromAccessorToInterceptorWithInheritance  )
THREADED_TEST ( SwitchFromInterceptorToJSAccessor  )
THREADED_TEST ( SwitchFromJSAccessorToInterceptor  )
THREADED_TEST ( SwitchFromInterceptorToProperty  )
THREADED_TEST ( SwitchFromPropertyToInterceptor  )
THREADED_TEST ( NamedPropertyHandlerGetter  )
THREADED_TEST ( IndexedPropertyHandlerGetter  )
THREADED_TEST ( PrePropertyHandler  )
THREADED_TEST ( UndefinedIsNotEnumerable  )

Definition at line 1862 of file test-api.cc.

References CHECK, and Value::IsFalse().

THREADED_TEST ( DeepCrossLanguageRecursion  )
THREADED_TEST ( CallbackExceptionRegression  )
THREADED_TEST ( FunctionPrototype  )

Definition at line 1949 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( InternalFields  )

Definition at line 1960 of file test-api.cc.

References CHECK, CHECK_EQ, and FunctionTemplate::New().

THREADED_TEST ( InternalFieldsNativePointers  )

Definition at line 1989 of file test-api.cc.

References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, FunctionTemplate::New(), and NULL.

THREADED_TEST ( InternalFieldsNativePointersAndExternal  )
THREADED_TEST ( IdentityHash  )

Definition at line 2059 of file test-api.cc.

References CHECK_EQ, CHECK_NE, HEAP, Heap::kNoGCFlags, and Object::New().

THREADED_TEST ( Regress97784  )
THREADED_TEST ( HiddenPropertiesWithInterceptors  )

Definition at line 2191 of file test-api.cc.

References CHECK, CHECK_EQ, Integer::New(), and FunctionTemplate::New().

THREADED_TEST ( GlobalHandle  )

Definition at line 2243 of file test-api.cc.

References CHECK_EQ, Persistent< T >::Dispose(), and Persistent< T >::New().

THREADED_TEST ( ApiObjectGroups  )
THREADED_TEST ( ApiObjectGroupsCycle  )
THREADED_TEST ( ScriptException  )

Definition at line 2442 of file test-api.cc.

References CHECK, CHECK_EQ, TryCatch::Exception(), and TryCatch::HasCaught().

THREADED_TEST ( MessageHandler0  )
THREADED_TEST ( GetSetProperty  )

Definition at line 2533 of file test-api.cc.

References CHECK_EQ, foo, Context::Global(), and Integer::New().

THREADED_TEST ( PropertyAttributes  )
THREADED_TEST ( Array  )

Definition at line 2604 of file test-api.cc.

References CHECK, CHECK_EQ, and Object::New().

THREADED_TEST ( Vector  )

Definition at line 2642 of file test-api.cc.

References CHECK_EQ, HandleF(), and FunctionTemplate::New().

THREADED_TEST ( FunctionCall  )

Definition at line 2680 of file test-api.cc.

References CHECK_EQ, Context::Global(), Integer::New(), and NULL.

THREADED_TEST ( ConstructCall  )

Definition at line 2835 of file test-api.cc.

References CHECK_EQ, Context::Global(), Integer::New(), and NULL.

THREADED_TEST ( ConversionNumber  )

Definition at line 2895 of file test-api.cc.

References CHECK, CHECK_EQ, and Context::Global().

THREADED_TEST ( isNumberType  )

Definition at line 2943 of file test-api.cc.

References CHECK, and Context::Global().

THREADED_TEST ( ConversionException  )
THREADED_TEST ( APICatch  )

Definition at line 3064 of file test-api.cc.

References CHECK, Context::Global(), FunctionTemplate::New(), and ThrowFromC().

THREADED_TEST ( APIThrowTryCatch  )

Definition at line 3082 of file test-api.cc.

References CHECK, TryCatch::HasCaught(), FunctionTemplate::New(), and ThrowFromC().

THREADED_TEST ( ExternalScriptException  )
THREADED_TEST ( EvalInTryFinally  )

Definition at line 3321 of file test-api.cc.

References CHECK, and TryCatch::HasCaught().

THREADED_TEST ( ThrowValues  )
THREADED_TEST ( CatchZero  )
THREADED_TEST ( CatchExceptionFromWith  )

Definition at line 3462 of file test-api.cc.

References CHECK, and TryCatch::HasCaught().

THREADED_TEST ( TryCatchAndFinallyHidingException  )

Definition at line 3472 of file test-api.cc.

References CHECK, and TryCatch::HasCaught().

THREADED_TEST ( TryCatchAndFinally  )
THREADED_TEST ( Equality  )
THREADED_TEST ( MultiRun  )

Definition at line 3539 of file test-api.cc.

THREADED_TEST ( SimplePropertyRead  )

Definition at line 3557 of file test-api.cc.

References CHECK_EQ, Context::Global(), and NULL.

THREADED_TEST ( DefinePropertyOnAPIAccessor  )

Definition at line 3570 of file test-api.cc.

References CHECK, CHECK_EQ, Context::Global(), and NULL.

THREADED_TEST ( DefinePropertyOnDefineGetterSetter  )

Definition at line 3617 of file test-api.cc.

References CHECK, CHECK_EQ, Context::Global(), and NULL.

THREADED_TEST ( DefineAPIAccessorOnObject  )

Definition at line 3669 of file test-api.cc.

References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().

THREADED_TEST ( DontDeleteAPIAccessorsCannotBeOverriden  )
THREADED_TEST ( ElementAPIAccessor  )

Definition at line 3799 of file test-api.cc.

References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().

THREADED_TEST ( SimplePropertyWrite  )
THREADED_TEST ( SetterOnly  )
THREADED_TEST ( NoAccessors  )

Definition at line 3871 of file test-api.cc.

References Context::Global(), and NULL.

THREADED_TEST ( NamedInterceptorPropertyRead  )

Definition at line 3892 of file test-api.cc.

References CHECK_EQ, and Context::Global().

THREADED_TEST ( NamedInterceptorDictionaryIC  )

Definition at line 3906 of file test-api.cc.

References CHECK_EQ, and Context::Global().

THREADED_TEST ( NamedInterceptorDictionaryICMultipleContext  )

Definition at line 3936 of file test-api.cc.

References CHECK_EQ, Persistent< T >::Dispose(), and Context::Global().

THREADED_TEST ( NamedInterceptorMapTransitionRead  )
THREADED_TEST ( IndexedInterceptorWithIndexedAccessor  )

Definition at line 4027 of file test-api.cc.

References CHECK_EQ, and Context::Global().

THREADED_TEST ( IndexedInterceptorUnboxedDoubleWithIndexedAccessor  )
THREADED_TEST ( IndexedInterceptorNonStrictArgsWithIndexedAccessor  )
THREADED_TEST ( IndexedInterceptorWithGetOwnPropertyDescriptor  )

Definition at line 4172 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNoSetter  )

Definition at line 4193 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithAccessorCheck  )

Definition at line 4216 of file test-api.cc.

References Context::Global(), and Object::TurnOnAccessCheck().

THREADED_TEST ( IndexedInterceptorWithAccessorCheckSwitchedOn  )

Definition at line 4240 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithDifferentIndices  )

Definition at line 4270 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNegativeIndices  )

Definition at line 4293 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNotSmiLookup  )

Definition at line 4332 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorGoingMegamorphic  )

Definition at line 4361 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorReceiverTurningSmi  )

Definition at line 4391 of file test-api.cc.

References Context::Global().

THREADED_TEST ( IndexedInterceptorOnProto  )

Definition at line 4421 of file test-api.cc.

References Context::Global().

THREADED_TEST ( MultiContexts  )
THREADED_TEST ( FunctionPrototypeAcrossContexts  )

Definition at line 4478 of file test-api.cc.

References CHECK, Object::Get(), Context::Global(), and Object::Set().

THREADED_TEST ( Regress892105  )

Definition at line 4508 of file test-api.cc.

References CHECK_EQ.

THREADED_TEST ( UndetectableObject  )

Definition at line 4531 of file test-api.cc.

References Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( VoidLiteral  )

Definition at line 4575 of file test-api.cc.

References Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( ExtensibleOnUndetectable  )

Definition at line 4619 of file test-api.cc.

References CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().

THREADED_TEST ( UndetectableString  )

Definition at line 4652 of file test-api.cc.

References Context::Global().

THREADED_TEST ( GlobalObjectTemplate  )

Definition at line 4749 of file test-api.cc.

References Persistent< T >::Dispose(), and FunctionTemplate::New().

THREADED_TEST ( SimpleExtensions  )

Definition at line 4767 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( NullExtensions  )

Definition at line 4779 of file test-api.cc.

References CHECK_EQ, Integer::New(), NULL, and v8::RegisterExtension().

THREADED_TEST ( ExtensionMissingSourceLength  )

Definition at line 4797 of file test-api.cc.

References CHECK_EQ, and v8::RegisterExtension().

THREADED_TEST ( ExtensionWithSourceLength  )
THREADED_TEST ( UseEvalFromExtension  )

Definition at line 4849 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( UseWithFromExtension  )

Definition at line 4882 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( AutoExtensions  )

Definition at line 4897 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( SyntaxErrorExtensions  )

Definition at line 4915 of file test-api.cc.

References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().

THREADED_TEST ( ExceptionExtensions  )

Definition at line 4932 of file test-api.cc.

References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().

THREADED_TEST ( NativeCallInExtensions  )

Definition at line 4953 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( NativeFunctionDeclaration  )

Definition at line 4988 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( NativeFunctionDeclarationError  )

Definition at line 5002 of file test-api.cc.

References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().

THREADED_TEST ( NativeFunctionDeclarationErrorEscape  )

Definition at line 5015 of file test-api.cc.

References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().

THREADED_TEST ( ExtensionDependency  )

Definition at line 5045 of file test-api.cc.

References CHECK_EQ, Context::Global(), and v8::RegisterExtension().

THREADED_TEST ( FunctionLookup  )

Definition at line 5112 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( NativeFunctionConstructCall  )

Definition at line 5125 of file test-api.cc.

References CHECK_EQ, Integer::New(), and v8::RegisterExtension().

THREADED_TEST ( ErrorWithMissingScriptInfo  )

Definition at line 5207 of file test-api.cc.

References V8::AddMessageListener(), and V8::RemoveMessageListeners().

THREADED_TEST ( IndependentWeakHandle  )
THREADED_TEST ( GCFromWeakCallbacks  )

Definition at line 5354 of file test-api.cc.

References CHECK, Persistent< T >::New(), and Object::New().

THREADED_TEST ( IndependentHandleRevival  )
THREADED_TEST ( Arguments  )
THREADED_TEST ( GetterHolders  )

Definition at line 5650 of file test-api.cc.

References CHECK_EQ, and ObjectTemplate::SetAccessor().

THREADED_TEST ( PreInterceptorHolders  )

Definition at line 5663 of file test-api.cc.

References CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().

THREADED_TEST ( ObjectInstantiation  )
THREADED_TEST ( StringWrite  )

Definition at line 5724 of file test-api.cc.

References CHECK_EQ, CHECK_NE, Object::Get(), GetUtf8Length(), and String::New().

THREADED_TEST ( Utf16  )

Definition at line 6066 of file test-api.cc.

THREADED_TEST ( Utf16Symbol  )
THREADED_TEST ( ToArrayIndex  )
THREADED_TEST ( DeleteAccessor  )
THREADED_TEST ( TypeSwitch  )
THREADED_TEST ( SecurityChecks  )
THREADED_TEST ( SecurityChecksForPrototypeChain  )

Definition at line 6544 of file test-api.cc.

References CHECK, Persistent< T >::Dispose(), and Context::Global().

THREADED_TEST ( CrossDomainDelete  )
THREADED_TEST ( CrossDomainIsPropertyEnumerable  )
THREADED_TEST ( CrossDomainForIn  )
THREADED_TEST ( GetOwnPropertyNamesWithInterceptor  )
THREADED_TEST ( AccessControlFlatten  )
THREADED_TEST ( Version  )

Definition at line 7662 of file test-api.cc.

References V8::GetVersion().

THREADED_TEST ( InstanceProperties  )

Definition at line 7673 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( GlobalObjectInstanceProperties  )
THREADED_TEST ( CallKnownGlobalReceiver  )
THREADED_TEST ( ShadowObject  )
THREADED_TEST ( HiddenPrototype  )

Definition at line 7880 of file test-api.cc.

References CHECK, CHECK_EQ, Object::Get(), and FunctionTemplate::New().

THREADED_TEST ( SetPrototype  )

Definition at line 7924 of file test-api.cc.

References CHECK, CHECK_EQ, and FunctionTemplate::New().

THREADED_TEST ( Regress91517  )
THREADED_TEST ( FunctionReadOnlyPrototype  )

Definition at line 8035 of file test-api.cc.

References CHECK, CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().

THREADED_TEST ( SetPrototypeThrows  )

Definition at line 8066 of file test-api.cc.

References ASSERT, CHECK, CHECK_EQ, and FunctionTemplate::New().

THREADED_TEST ( GetterSetterExceptions  )

Definition at line 8087 of file test-api.cc.

References Context::Global(), and Integer::New().

THREADED_TEST ( Constructor  )

Definition at line 8110 of file test-api.cc.

References CHECK, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( FunctionDescriptorException  )

Definition at line 8318 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( EvalAliasedDynamic  )

Definition at line 8343 of file test-api.cc.

References CHECK, CHECK_EQ, and Context::Global().

THREADED_TEST ( CrossEval  )

Definition at line 8379 of file test-api.cc.

References CHECK, CHECK_EQ, foo, Context::Global(), and Context::SetSecurityToken().

THREADED_TEST ( EvalInDetachedGlobal  )
THREADED_TEST ( CrossLazyLoad  )

Definition at line 8497 of file test-api.cc.

References CHECK_EQ, Context::Global(), and Context::SetSecurityToken().

THREADED_TEST ( CallableObject  )

Definition at line 8645 of file test-api.cc.

References CHECK, TryCatch::HasCaught(), and v8::internal::instance_template.

THREADED_TEST ( HandleIteration  )

Definition at line 8702 of file test-api.cc.

References CHECK_EQ, and Integer::New().

THREADED_TEST ( InterceptorHasOwnProperty  )
THREADED_TEST ( InterceptorHasOwnPropertyCausingGC  )
THREADED_TEST ( InterceptorLoadIC  )

Definition at line 8827 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICWithFieldOnHolder  )

Definition at line 8849 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICWithSubstitutedProto  )

Definition at line 8860 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICWithPropertyOnProto  )

Definition at line 8871 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICUndefined  )

Definition at line 8882 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICWithOverride  )

Definition at line 8892 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICFieldNotNeeded  )

Definition at line 8912 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICInvalidatedField  )

Definition at line 8932 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICPostInterceptor  )

Definition at line 8963 of file test-api.cc.

References CHECK_EQ.

THREADED_TEST ( InterceptorLoadICInvalidatedFieldViaGlobal  )

Definition at line 8988 of file test-api.cc.

THREADED_TEST ( InterceptorLoadICWithCallbackOnHolder  )
THREADED_TEST ( InterceptorLoadICWithCallbackOnProto  )
THREADED_TEST ( InterceptorLoadICForCallbackWithOverride  )
THREADED_TEST ( InterceptorLoadICCallbackNotNeeded  )
THREADED_TEST ( InterceptorLoadICInvalidatedCallback  )
THREADED_TEST ( InterceptorLoadICInvalidatedCallbackViaGlobal  )
THREADED_TEST ( InterceptorReturningZero  )

Definition at line 9199 of file test-api.cc.

THREADED_TEST ( InterceptorStoreIC  )
THREADED_TEST ( InterceptorStoreICWithNoSetter  )
THREADED_TEST ( InterceptorCallIC  )
THREADED_TEST ( InterceptorCallICSeesOthers  )
THREADED_TEST ( InterceptorCallICCacheableNotNeeded  )
THREADED_TEST ( InterceptorCallICInvalidatedCacheable  )
THREADED_TEST ( InterceptorCallICConstantFunctionUsed  )
THREADED_TEST ( InterceptorCallICConstantFunctionNotNeeded  )
THREADED_TEST ( InterceptorCallICConstantFunctionNotNeededWrapped  )
THREADED_TEST ( InterceptorCallICInvalidatedConstantFunction  )
THREADED_TEST ( InterceptorCallICInvalidatedConstantFunctionViaGlobal  )
THREADED_TEST ( InterceptorCallICCachedFromGlobal  )
THREADED_TEST ( CallICFastApi_DirectCall_GCMoveStub  )
THREADED_TEST ( CallICFastApi_DirectCall_Throw  )
THREADED_TEST ( LoadICFastApi_DirectCall_GCMoveStub  )
THREADED_TEST ( LoadICFastApi_DirectCall_Throw  )
THREADED_TEST ( InterceptorKeyedCallICKeyChange1  )
THREADED_TEST ( InterceptorKeyedCallICKeyChange2  )
THREADED_TEST ( InterceptorKeyedCallICKeyChangeOnGlobal  )
THREADED_TEST ( InterceptorKeyedCallICFromGlobal  )
THREADED_TEST ( InterceptorKeyedCallICMapChangeBefore  )
THREADED_TEST ( InterceptorKeyedCallICMapChangeAfter  )
THREADED_TEST ( InterceptorICReferenceErrors  )
THREADED_TEST ( InterceptorICGetterExceptions  )
THREADED_TEST ( InterceptorICSetterExceptions  )
THREADED_TEST ( NamedPropertyHandlerGetterAttributes  )
THREADED_TEST ( VariousGetPropertiesAndThrowingCallbacks  )

Definition at line 10336 of file test-api.cc.

References CHECK, Object::GetRealNamedProperty(), and v8::internal::Object.

THREADED_TEST ( ExceptionsDoNotPropagatePastTryCatch  )

Definition at line 10427 of file test-api.cc.

References Context::Global(), NULL, and WithTryCatch().

THREADED_TEST ( Overriding  )
THREADED_TEST ( IsConstructCall  )

Definition at line 10534 of file test-api.cc.

References CHECK, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( ObjectProtoToString  )

Definition at line 10551 of file test-api.cc.

References CHECK, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( ObjectGetConstructorName  )

Definition at line 10585 of file test-api.cc.

References CHECK, and Context::Global().

THREADED_TEST ( RecursiveLocking  )

Definition at line 10850 of file test-api.cc.

References CHECK, and Locker::IsLocked().

THREADED_TEST ( LockUnlockLock  )

Definition at line 10866 of file test-api.cc.

References CHECK_EQ, Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( NewPersistentHandleFromWeakCallback  )
THREADED_TEST ( DoNotUseDeletedNodesInSecondLevelGc  )
THREADED_TEST ( NoGlobalHandlesOrphaningDueToWeakCallback  )
THREADED_TEST ( CheckForCrossContextObjectLiterals  )

Definition at line 11042 of file test-api.cc.

References V8::Initialize().

THREADED_TEST ( NestedHandleScopeAndContexts  )

Definition at line 11075 of file test-api.cc.

References CHECK, Persistent< T >::Dispose(), and Value::ToString().

THREADED_TEST ( ExternalAllocatedMemory  )
THREADED_TEST ( DisposeEnteredContext  )

Definition at line 11403 of file test-api.cc.

References Handle< T >::Clear(), Persistent< T >::Dispose(), and Context::New().

THREADED_TEST ( TryCatchSourceInfo  )

Definition at line 11472 of file test-api.cc.

References Script::Compile(), String::New(), and Integer::New().

THREADED_TEST ( CompilationCache  )

Definition at line 11508 of file test-api.cc.

References CHECK_EQ, Script::Compile(), String::New(), and Script::Run().

THREADED_TEST ( CallbackFunctionName  )
THREADED_TEST ( DateAccess  )
THREADED_TEST ( PropertyEnumeration  )
THREADED_TEST ( PropertyEnumeration2  )
THREADED_TEST ( DisableAccessChecksWhileConfiguring  )

Definition at line 11653 of file test-api.cc.

References CHECK, Context::Global(), and v8::True().

THREADED_TEST ( AccessChecksReenabledCorrectly  )

Definition at line 11684 of file test-api.cc.

References CHECK, Context::Global(), and Number::New().

THREADED_TEST ( AccessControlRepeatedContextCreation  )
THREADED_TEST ( TurnOnAccessCheck  )
THREADED_TEST ( TurnOnAccessCheckAndRecompile  )
THREADED_TEST ( DictionaryICLoadedFunction  )

Definition at line 12068 of file test-api.cc.

References Context::Global(), and v8::True().

THREADED_TEST ( CrossContextNew  )

Definition at line 12089 of file test-api.cc.

References CHECK, CHECK_EQ, and Persistent< T >::Dispose().

THREADED_TEST ( MorphCompositeStringTest  )
THREADED_TEST ( ForceDeleteIC  )

Definition at line 12875 of file test-api.cc.

References CHECK, CHECK_EQ, and Context::Global().

THREADED_TEST ( GetCallingContext  )
THREADED_TEST ( InitGlobalVarInProtoChain  )

Definition at line 13001 of file test-api.cc.

References CHECK, CHECK_EQ, Value::Int32Value(), and Value::IsUndefined().

THREADED_TEST ( ReplaceConstantFunction  )
THREADED_TEST ( Regress16276  )

Definition at line 13032 of file test-api.cc.

References CHECK_EQ, and Context::DetachGlobal().

THREADED_TEST ( ExternalByteArray  )

Definition at line 14022 of file test-api.cc.

References v8::kExternalByteArray.

THREADED_TEST ( ExternalUnsignedByteArray  )

Definition at line 14030 of file test-api.cc.

References v8::kExternalUnsignedByteArray.

THREADED_TEST ( ExternalPixelArray  )

Definition at line 14038 of file test-api.cc.

References v8::kExternalPixelArray.

THREADED_TEST ( ExternalShortArray  )

Definition at line 14046 of file test-api.cc.

References v8::kExternalShortArray.

THREADED_TEST ( ExternalUnsignedShortArray  )

Definition at line 14054 of file test-api.cc.

References v8::kExternalUnsignedShortArray.

THREADED_TEST ( ExternalIntArray  )

Definition at line 14062 of file test-api.cc.

References v8::kExternalIntArray.

THREADED_TEST ( ExternalUnsignedIntArray  )

Definition at line 14070 of file test-api.cc.

References v8::kExternalUnsignedIntArray.

THREADED_TEST ( ExternalFloatArray  )

Definition at line 14078 of file test-api.cc.

References v8::kExternalFloatArray.

THREADED_TEST ( ExternalDoubleArray  )

Definition at line 14086 of file test-api.cc.

References v8::kExternalDoubleArray.

THREADED_TEST ( ExternalArrays  )

Definition at line 14094 of file test-api.cc.

THREADED_TEST ( ScriptContextDependence  )
THREADED_TEST ( StackTrace  )
THREADED_TEST ( GetHeapStatistics  )
THREADED_TEST ( QuietSignalingNaNs  )

Definition at line 14903 of file test-api.cc.

References CHECK_EQ, Number::New(), Object::New(), and Value::NumberValue().

THREADED_TEST ( SpaghettiStackReThrow  )
THREADED_TEST ( ScriptOrigin  )
THREADED_TEST ( FunctionGetInferredName  )
THREADED_TEST ( ScriptLineNumber  )
THREADED_TEST ( ScriptColumnNumber  )
THREADED_TEST ( FunctionGetScriptId  )
THREADED_TEST ( InterceptorOnConstructorPrototype  )
THREADED_TEST ( AddToJSFunctionResultCache  )

Definition at line 15424 of file test-api.cc.

References HEAP.

THREADED_TEST ( FillJSFunctionResultCache  )

Definition at line 15451 of file test-api.cc.

References HEAP.

THREADED_TEST ( RoundRobinGetFromCache  )

Definition at line 15473 of file test-api.cc.

References HEAP.

THREADED_TEST ( ReverseGetFromCache  )

Definition at line 15498 of file test-api.cc.

References HEAP.

THREADED_TEST ( TestEviction  )

Definition at line 15523 of file test-api.cc.

References HEAP.

THREADED_TEST ( TwoByteStringInAsciiCons  )
THREADED_TEST ( Equals  )
THREADED_TEST ( CreationContext  )

Definition at line 16454 of file test-api.cc.

References CHECK, and FunctionTemplate::New().

THREADED_TEST ( CreationContextOfJsFunction  )

Definition at line 16541 of file test-api.cc.

References CHECK, and v8::internal::Object.

THREADED_TEST ( CallAPIFunctionOnNonObject  )

Definition at line 16767 of file test-api.cc.

References Context::Global(), and FunctionTemplate::New().

THREADED_TEST ( ReadOnlyIndexedProperties  )

Definition at line 16779 of file test-api.cc.

References CHECK_EQ, Context::Global(), and v8::ReadOnly.

THREADED_TEST ( Regress1516  )
THREADED_TEST ( Regress93759  )
THREADED_TEST ( Regress125988  )
THREADED_TEST ( ForeignFunctionReceiver  )

Definition at line 16969 of file test-api.cc.

References CHECK, Context::Global(), Context::New(), and Context::SetSecurityToken().

THREADED_TEST ( InstanceCheckOnInstanceAccessor  )

Definition at line 17397 of file test-api.cc.

References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.

THREADED_TEST ( InstanceCheckOnInstanceAccessorWithInterceptor  )
THREADED_TEST ( InstanceCheckOnPrototypeAccessor  )

Definition at line 17454 of file test-api.cc.

References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.

THREADED_TEST ( Regress137002a  )

Definition at line 17580 of file test-api.cc.

THREADED_TEST ( Regress137002b  )

Definition at line 17590 of file test-api.cc.

References CHECK, and Context::Global().

THREADED_TEST ( Regress142088  )

Definition at line 17658 of file test-api.cc.

References Context::Global().

THREADED_TEST ( Regress137496  )

Definition at line 17675 of file test-api.cc.

References CHECK.

THREADED_TEST ( Regress149912  )
THREADED_TEST ( Regress157124  )

Definition at line 17699 of file test-api.cc.

References Object::GetIdentityHash().

THREADED_TEST ( SemaphoreInterruption  )

Definition at line 17768 of file test-api.cc.

References ThreadInterruptTest::RunTest().

v8::Handle<Value> ThrowFromC ( const v8::Arguments args)

Definition at line 3048 of file test-api.cc.

References ApiTestFuzzer::Fuzz(), and v8::ThrowException().

Referenced by TEST(), and THREADED_TEST().

v8::Handle<v8::Value> ThrowingDirectApiCallback ( const v8::Arguments args)

Definition at line 9607 of file test-api.cc.

References v8::ThrowException().

Referenced by THREADED_TEST().

v8::Handle<v8::Value> ThrowingDirectGetterCallback ( Local< String >  name,
const v8::AccessorInfo info 
)

Definition at line 9659 of file test-api.cc.

References v8::ThrowException().

Referenced by THREADED_TEST().

v8::Handle<Value> ThrowValue ( const v8::Arguments args)

Definition at line 3413 of file test-api.cc.

References CHECK_EQ, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::ThrowException().

Referenced by THREADED_TEST().

Handle<v8::Array> UnboxedDoubleIndexedPropertyEnumerator ( const AccessorInfo &  info)

Definition at line 4080 of file test-api.cc.

References Array::Cast().

Referenced by THREADED_TEST().

v8::Handle<Value> WhammyPropertyGetter ( Local< String >  name,
const AccessorInfo &  info 
)
v8::Handle<v8::Value> WithTryCatch ( const v8::Arguments args)

Definition at line 3483 of file test-api.cc.

References v8::Undefined().

Referenced by THREADED_TEST().

Variable Documentation

v8::Handle<Function> args_fun

Definition at line 5415 of file test-api.cc.

Definition at line 10963 of file test-api.cc.

Definition at line 1688 of file test-api.cc.

Referenced by CharacterRange::AddCaseEquivalents().

v8::Handle<Value> call_ic_function

Definition at line 9247 of file test-api.cc.

v8::Handle<Value> call_ic_function2

Definition at line 9248 of file test-api.cc.

v8::Handle<Value> call_ic_function3

Definition at line 9249 of file test-api.cc.

v8::Handle<Script> call_recursively_script

Definition at line 1871 of file test-api.cc.

uint8_t callback_fired = 0

Definition at line 17063 of file test-api.cc.

v8::Persistent<Context> calling_context0

Definition at line 12935 of file test-api.cc.

v8::Persistent<Context> calling_context1

Definition at line 12936 of file test-api.cc.

v8::Persistent<Context> calling_context2

Definition at line 12937 of file test-api.cc.

int echo_indexed_call_count = 0

Definition at line 1662 of file test-api.cc.

int echo_named_call_count

Definition at line 1353 of file test-api.cc.

int epilogue_call_count = 0

Definition at line 15370 of file test-api.cc.

Referenced by EpilogueCallback().

int epilogue_call_count_second = 0

Definition at line 15372 of file test-api.cc.

Referenced by EpilogueCallbackSecond().

int global_index = 0

Definition at line 5216 of file test-api.cc.

v8::Handle<Value> keyed_call_ic_function

Definition at line 10007 of file test-api.cc.

bool message_received

Definition at line 2455 of file test-api.cc.

int p_getter_count

Definition at line 5593 of file test-api.cc.

int p_getter_count2

Definition at line 5594 of file test-api.cc.

bool pass_on_get = false

Definition at line 12691 of file test-api.cc.

int prologue_call_count = 0

Definition at line 15369 of file test-api.cc.

Referenced by PrologueCallback().

int prologue_call_count_second = 0

Definition at line 15371 of file test-api.cc.

Referenced by PrologueCallbackSecond().

v8::Persistent<v8::Object> some_object

Definition at line 10962 of file test-api.cc.

v8::Persistent<v8::Object> to_be_disposed

Definition at line 10992 of file test-api.cc.

v8::Persistent<Value> xValue

Definition at line 3823 of file test-api.cc.