v8  3.11.10(node0.8.26)
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 "v8.h"
#include "api.h"
#include "isolate.h"
#include "compilation-cache.h"
#include "execution.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
 

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 (MessageHandlerData)
 
 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 (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 (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 (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)
 
 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)
 
 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)
 
 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)
 
 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 (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)
 
 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)
 

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 8591 of file test-api.cc.

Function Documentation

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

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

Referenced by THREADED_TEST().

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

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

Referenced by THREADED_TEST().

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

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

References OS::Print().

Referenced by TEST().

void CallCompletedCallback2 ( )

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

References OS::Print().

Referenced by TEST().

void CallCompletedCallbackException ( )

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

Referenced by TEST().

void CallCompletedCallbackNoException ( )

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

Referenced by TEST().

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

Definition at line 2939 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 15975 of file test-api.cc.

References CHECK_EQ.

Referenced by THREADED_TEST().

void CheckCodeGenerationDisallowed ( )

Definition at line 15985 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 11051 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 11040 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 1678 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 1696 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 1661 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 1644 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 1687 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 1704 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 1670 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 1653 of file test-api.cc.

References CHECK, and ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

bool CodeGenerationAllowed ( Local< Context >  context)

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

References ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

bool CodeGenerationDisallowed ( Local< Context >  context)

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

References ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

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

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

References HEAP.

Referenced by THREADED_TEST().

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

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

References HEAP.

Referenced by THREADED_TEST().

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

Definition at line 10782 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 10803 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 1315 of file test-api.cc.

Referenced by THREADED_TEST().

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

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

Referenced by THREADED_TEST().

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

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

References epilogue_call_count.

Referenced by TEST().

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

Definition at line 14727 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 14971 of file test-api.cc.

References HEAP, and Heap::kNoGCFlags.

Referenced by TEST().

int GetUtf8Length ( Handle< String >  str)

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

References v8::internal::FlattenString(), and Utils::OpenHandle().

Referenced by THREADED_TEST().

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

Definition at line 10807 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 2517 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 15896 of file test-api.cc.

Referenced by TEST().

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

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

Referenced by TEST().

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

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

References Handle< T >::As().

Referenced by TEST().

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

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

Referenced by TEST().

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

Definition at line 15882 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 15889 of file test-api.cc.

References Handle< T >::As().

Referenced by TEST().

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

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

Referenced by THREADED_TEST().

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

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

Referenced by THREADED_TEST().

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

Definition at line 3165 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 10753 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 3948 of file test-api.cc.

References Object::Cast().

Referenced by THREADED_TEST().

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

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

Referenced by TEST().

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

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

References prologue_call_count.

Referenced by TEST().

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

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

References prologue_call_count_second.

Referenced by TEST().

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

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

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

Referenced by TEST().

Handle<Value> RecursiveCall ( const Arguments &  args)

Definition at line 16361 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 1303 of file test-api.cc.

Referenced by THREADED_TEST().

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

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

Referenced by THREADED_TEST().

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

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

References NULL.

Referenced by TEST().

TEST ( MakingExternalStringConditions  )

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

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

TEST ( MakingExternalAsciiStringConditions  )

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

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

TEST ( ExternalStringWithDisposeHandling  )

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

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

TEST ( TryCatchInTryFinally  )

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

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

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

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

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

TEST ( UndetectableOptimized  )

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

References Context::Global().

TEST ( ErrorReporting  )
TEST ( RegexpOutOfMemory  )

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

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

TEST ( CompilationErrorUsingTryCatchHandler  )

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

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

TEST ( TryCatchFinallyUsingTryCatchHandler  )

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

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

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

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

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

TEST ( DontLeakGlobalObjects  )

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

References V8::Initialize().

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

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

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

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

Definition at line 11840 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 13978 of file test-api.cc.

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

TEST ( IdleNotification  )

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

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

TEST ( IdleNotificationWithSmallHint  )

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

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

TEST ( IdleNotificationWithLargeHint  )

Definition at line 14049 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 15055 of file test-api.cc.

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

TEST ( IsolateNewDispose  )
TEST ( IsolateEnterExitDefault  )

Definition at line 15077 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 15333 of file test-api.cc.

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

TEST ( InitializeDefaultIsolateOnSecondaryThread1  )

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

References InitDefaultIsolateThread::IgnoreOOM.

TEST ( InitializeDefaultIsolateOnSecondaryThread2  )

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

References InitDefaultIsolateThread::SetResourceConstraints.

TEST ( InitializeDefaultIsolateOnSecondaryThread3  )

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

References InitDefaultIsolateThread::SetFatalHandler.

TEST ( InitializeDefaultIsolateOnSecondaryThread4  )

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

References InitDefaultIsolateThread::SetCounterFunction.

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

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

TEST ( NumberCheckMultipleContexts  )

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

TEST ( BooleanCheckMultipleContexts  )

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

TEST ( DontDeleteCellLoadIC  )

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

References HEAP, and Heap::kNoGCFlags.

TEST ( DontDeleteCellLoadICForceDelete  )

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

References CHECK, and Context::Global().

TEST ( DontDeleteCellLoadICAPI  )

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

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

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

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

TEST ( PrimaryStubCache  )

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

TEST ( IsolateEmbedderData  )
TEST ( TryFinallyMessage  )

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

References CHECK, and CHECK_EQ.

THREADED_TEST ( Handles  )
THREADED_TEST ( HulIgennem  )

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

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

THREADED_TEST ( Access  )

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

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

THREADED_TEST ( AccessElement  )

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

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

THREADED_TEST ( Script  )

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

References CHECK_EQ.

THREADED_TEST ( ScriptUsingStringResource  )

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

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

THREADED_TEST ( ScriptUsingAsciiStringResource  )

Definition at line 410 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  )
THREADED_TEST ( UsingExternalAsciiString  )
THREADED_TEST ( ScavengeExternalString  )
THREADED_TEST ( ScavengeExternalAsciiString  )
THREADED_TEST ( StringConcat  )
THREADED_TEST ( GlobalProperties  )

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

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

THREADED_TEST ( FunctionTemplate  )

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

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

THREADED_TEST ( ExternalWrap  )

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

References foo.

THREADED_TEST ( FindInstanceInPrototypeChain  )

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

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

THREADED_TEST ( TinyInteger  )

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

References CHECK_EQ, and Integer::New().

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

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

References CHECK_EQ, and Integer::NewFromUnsigned().

THREADED_TEST ( BigUnsignedSmiInteger  )

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

References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().

THREADED_TEST ( BigUnsignedInteger  )

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

References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().

THREADED_TEST ( OutOfSignedRangeUnsignedInteger  )

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

References CHECK, CHECK_EQ, Integer::NewFromUnsigned(), and v8::internal::U.

THREADED_TEST ( IsNativeError  )

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

References CHECK, and Value::IsNativeError().

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

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

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

THREADED_TEST ( Number  )

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

References CHECK_EQ, and Number::New().

THREADED_TEST ( ToNumber  )

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

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

THREADED_TEST ( Date  )

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

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

THREADED_TEST ( Boolean  )
THREADED_TEST ( ObjectTemplate  )

Definition at line 1198 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 1799 of file test-api.cc.

References CHECK, and Value::IsFalse().

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

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

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

THREADED_TEST ( InternalFields  )

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

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

THREADED_TEST ( InternalFieldsNativePointers  )

Definition at line 1926 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 1996 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 2124 of file test-api.cc.

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

THREADED_TEST ( GlobalHandle  )

Definition at line 2176 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 2375 of file test-api.cc.

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

THREADED_TEST ( MessageHandlerData  )
THREADED_TEST ( GetSetProperty  )

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

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

THREADED_TEST ( PropertyAttributes  )
THREADED_TEST ( Array  )

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

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

THREADED_TEST ( Vector  )

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

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

THREADED_TEST ( FunctionCall  )

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

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

THREADED_TEST ( ConstructCall  )

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

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

THREADED_TEST ( ConversionNumber  )

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

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

THREADED_TEST ( isNumberType  )

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

References CHECK, and Context::Global().

THREADED_TEST ( ConversionException  )
THREADED_TEST ( APICatch  )

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

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

THREADED_TEST ( APIThrowTryCatch  )

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

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

THREADED_TEST ( ExternalScriptException  )
THREADED_TEST ( EvalInTryFinally  )

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

References CHECK, and TryCatch::HasCaught().

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

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

References CHECK, and TryCatch::HasCaught().

THREADED_TEST ( TryCatchAndFinallyHidingException  )

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

References CHECK, and TryCatch::HasCaught().

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

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

THREADED_TEST ( SimplePropertyRead  )

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

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

THREADED_TEST ( DefinePropertyOnAPIAccessor  )

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

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

THREADED_TEST ( DefinePropertyOnDefineGetterSetter  )

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

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

THREADED_TEST ( DefineAPIAccessorOnObject  )

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

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

THREADED_TEST ( DontDeleteAPIAccessorsCannotBeOverriden  )
THREADED_TEST ( ElementAPIAccessor  )

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

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

THREADED_TEST ( SimplePropertyWrite  )
THREADED_TEST ( NamedInterceptorPropertyRead  )

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

References CHECK_EQ, and Context::Global().

THREADED_TEST ( NamedInterceptorDictionaryIC  )

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

References CHECK_EQ, and Context::Global().

THREADED_TEST ( NamedInterceptorDictionaryICMultipleContext  )

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

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

THREADED_TEST ( NamedInterceptorMapTransitionRead  )
THREADED_TEST ( IndexedInterceptorWithIndexedAccessor  )

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

References CHECK_EQ, and Context::Global().

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

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNoSetter  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithAccessorCheck  )

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

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

THREADED_TEST ( IndexedInterceptorWithAccessorCheckSwitchedOn  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithDifferentIndices  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNegativeIndices  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorWithNotSmiLookup  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorGoingMegamorphic  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorReceiverTurningSmi  )

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

References Context::Global().

THREADED_TEST ( IndexedInterceptorOnProto  )

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

References Context::Global().

THREADED_TEST ( MultiContexts  )
THREADED_TEST ( FunctionPrototypeAcrossContexts  )

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

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

THREADED_TEST ( Regress892105  )

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

References CHECK_EQ.

THREADED_TEST ( UndetectableObject  )

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

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

THREADED_TEST ( VoidLiteral  )

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

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

THREADED_TEST ( ExtensibleOnUndetectable  )

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

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

THREADED_TEST ( UndetectableString  )

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

References Context::Global().

THREADED_TEST ( GlobalObjectTemplate  )

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

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

THREADED_TEST ( SimpleExtensions  )

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

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

THREADED_TEST ( ExtensionMissingSourceLength  )

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

References CHECK_EQ, and v8::RegisterExtension().

THREADED_TEST ( ExtensionWithSourceLength  )
THREADED_TEST ( UseEvalFromExtension  )

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

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

THREADED_TEST ( UseWithFromExtension  )

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

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

THREADED_TEST ( AutoExtensions  )

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

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

THREADED_TEST ( SyntaxErrorExtensions  )

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

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

THREADED_TEST ( ExceptionExtensions  )

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

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

THREADED_TEST ( NativeCallInExtensions  )

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

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

THREADED_TEST ( NativeFunctionDeclaration  )

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

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

THREADED_TEST ( NativeFunctionDeclarationError  )

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

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

THREADED_TEST ( NativeFunctionDeclarationErrorEscape  )

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

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

THREADED_TEST ( ExtensionDependency  )

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

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

THREADED_TEST ( FunctionLookup  )

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

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

THREADED_TEST ( NativeFunctionConstructCall  )

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

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

THREADED_TEST ( ErrorWithMissingScriptInfo  )

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

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

THREADED_TEST ( IndependentWeakHandle  )
THREADED_TEST ( GCFromWeakCallbacks  )

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

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

THREADED_TEST ( IndependentHandleRevival  )

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

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

THREADED_TEST ( Arguments  )
THREADED_TEST ( GetterHolders  )

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

References CHECK_EQ, and ObjectTemplate::SetAccessor().

THREADED_TEST ( PreInterceptorHolders  )

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

References CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().

THREADED_TEST ( ObjectInstantiation  )
THREADED_TEST ( StringWrite  )
THREADED_TEST ( Utf16  )

Definition at line 5859 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 6337 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 7455 of file test-api.cc.

References V8::GetVersion().

THREADED_TEST ( InstanceProperties  )

Definition at line 7466 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 7673 of file test-api.cc.

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

THREADED_TEST ( SetPrototype  )

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

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

THREADED_TEST ( Regress91517  )
THREADED_TEST ( FunctionReadOnlyPrototype  )

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

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

THREADED_TEST ( SetPrototypeThrows  )

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

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

THREADED_TEST ( GetterSetterExceptions  )

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

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

THREADED_TEST ( Constructor  )

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

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

THREADED_TEST ( FunctionDescriptorException  )

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

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

THREADED_TEST ( EvalAliasedDynamic  )

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

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

THREADED_TEST ( CrossEval  )

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

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

THREADED_TEST ( EvalInDetachedGlobal  )
THREADED_TEST ( CrossLazyLoad  )

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

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

THREADED_TEST ( CallableObject  )

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

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

THREADED_TEST ( HandleIteration  )

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

References CHECK_EQ, and Integer::New().

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

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

THREADED_TEST ( InterceptorLoadICWithFieldOnHolder  )

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

THREADED_TEST ( InterceptorLoadICWithSubstitutedProto  )

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

THREADED_TEST ( InterceptorLoadICWithPropertyOnProto  )

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

THREADED_TEST ( InterceptorLoadICUndefined  )

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

THREADED_TEST ( InterceptorLoadICWithOverride  )

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

THREADED_TEST ( InterceptorLoadICFieldNotNeeded  )

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

THREADED_TEST ( InterceptorLoadICInvalidatedField  )

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

THREADED_TEST ( InterceptorLoadICPostInterceptor  )

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

References CHECK_EQ.

THREADED_TEST ( InterceptorLoadICInvalidatedFieldViaGlobal  )

Definition at line 8781 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 8992 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 10128 of file test-api.cc.

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

THREADED_TEST ( ExceptionsDoNotPropagatePastTryCatch  )

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

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

THREADED_TEST ( Overriding  )
THREADED_TEST ( IsConstructCall  )

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

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

THREADED_TEST ( ObjectProtoToString  )

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

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

THREADED_TEST ( ObjectGetConstructorName  )

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

References CHECK, and Context::Global().

THREADED_TEST ( RecursiveLocking  )

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

References CHECK, and Locker::IsLocked().

THREADED_TEST ( LockUnlockLock  )

Definition at line 10658 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 10830 of file test-api.cc.

References V8::Initialize().

THREADED_TEST ( NestedHandleScopeAndContexts  )

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

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

THREADED_TEST ( ExternalAllocatedMemory  )
THREADED_TEST ( DisposeEnteredContext  )

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

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

THREADED_TEST ( TryCatchSourceInfo  )

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

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

THREADED_TEST ( CompilationCache  )

Definition at line 10995 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 11140 of file test-api.cc.

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

THREADED_TEST ( AccessChecksReenabledCorrectly  )

Definition at line 11171 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 11555 of file test-api.cc.

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

THREADED_TEST ( CrossContextNew  )

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

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

THREADED_TEST ( MorphCompositeStringTest  )
THREADED_TEST ( ForceDeleteIC  )

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

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

THREADED_TEST ( GetCallingContext  )
THREADED_TEST ( InitGlobalVarInProtoChain  )

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

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

THREADED_TEST ( ReplaceConstantFunction  )
THREADED_TEST ( Regress16276  )

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

References CHECK_EQ, and Context::DetachGlobal().

THREADED_TEST ( ExternalByteArray  )

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

References v8::kExternalByteArray.

THREADED_TEST ( ExternalUnsignedByteArray  )

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

References v8::kExternalUnsignedByteArray.

THREADED_TEST ( ExternalPixelArray  )

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

References v8::kExternalPixelArray.

THREADED_TEST ( ExternalShortArray  )

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

References v8::kExternalShortArray.

THREADED_TEST ( ExternalUnsignedShortArray  )

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

References v8::kExternalUnsignedShortArray.

THREADED_TEST ( ExternalIntArray  )

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

References v8::kExternalIntArray.

THREADED_TEST ( ExternalUnsignedIntArray  )

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

References v8::kExternalUnsignedIntArray.

THREADED_TEST ( ExternalFloatArray  )

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

References v8::kExternalFloatArray.

THREADED_TEST ( ExternalDoubleArray  )

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

References v8::kExternalDoubleArray.

THREADED_TEST ( ExternalArrays  )

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

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

Definition at line 14272 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 14765 of file test-api.cc.

References HEAP.

THREADED_TEST ( FillJSFunctionResultCache  )

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

References HEAP.

THREADED_TEST ( RoundRobinGetFromCache  )

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

References HEAP.

THREADED_TEST ( ReverseGetFromCache  )

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

References HEAP.

THREADED_TEST ( TestEviction  )

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

References HEAP.

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

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

References CHECK, and FunctionTemplate::New().

THREADED_TEST ( CreationContextOfJsFunction  )

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

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

THREADED_TEST ( CallAPIFunctionOnNonObject  )

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

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

THREADED_TEST ( ReadOnlyIndexedProperties  )

Definition at line 16063 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 16252 of file test-api.cc.

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

THREADED_TEST ( InstanceCheckOnInstanceAccessor  )

Definition at line 16680 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 16737 of file test-api.cc.

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

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

Definition at line 2933 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 9399 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 9451 of file test-api.cc.

References v8::ThrowException().

Referenced by THREADED_TEST().

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

Definition at line 3272 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 3909 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 3342 of file test-api.cc.

References v8::Undefined().

Referenced by THREADED_TEST().

Variable Documentation

v8::Handle<Function> args_fun

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

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

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

Referenced by CharacterRange::AddCaseEquivalents().

v8::Handle<Value> call_ic_function

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

v8::Handle<Value> call_ic_function2

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

v8::Handle<Value> call_ic_function3

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

v8::Handle<Script> call_recursively_script

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

uint8_t callback_fired = 0

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

v8::Persistent<Context> calling_context0

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

v8::Persistent<Context> calling_context1

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

v8::Persistent<Context> calling_context2

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

int echo_indexed_call_count = 0

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

int echo_named_call_count

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

int epilogue_call_count = 0

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

Referenced by EpilogueCallback().

int epilogue_call_count_second = 0

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

Referenced by EpilogueCallbackSecond().

int global_index = 0

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

v8::Handle<Value> keyed_call_ic_function

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

bool message_received

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

int p_getter_count

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

int p_getter_count2

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

bool pass_on_get = false

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

int prologue_call_count = 0

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

Referenced by PrologueCallback().

int prologue_call_count_second = 0

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

Referenced by PrologueCallbackSecond().

v8::Persistent<v8::Object> some_object

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

v8::Persistent<v8::Object> to_be_disposed

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

v8::Persistent<Value> xValue

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