v8  3.25.30(node0.11.13)
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 <climits>
#include <csignal>
#include <string>
#include <map>
#include "v8.h"
#include "api.h"
#include "arguments.h"
#include "cctest.h"
#include "compilation-cache.h"
#include "cpu-profiler.h"
#include "execution.h"
#include "isolate.h"
#include "objects.h"
#include "parser.h"
#include "platform.h"
#include "snapshot.h"
#include "unicode-inl.h"
#include "utils.h"
#include "vm-state.h"
#include "../include/v8-util.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  ScopedArrayBufferContents
 
class  WeakStdMapTraits< K, V >
 
struct  WeakStdMapTraits< K, V >::WeakCallbackDataType
 
class  WeakCallCounter
 
struct  WeakCallCounterAndPersistent< T >
 
class  NativeFunctionExtension
 
class  FunctionExtension
 
struct  FlagAndPersistent
 
struct  SymbolInfo
 
class  SetFunctionEntryHookTest
 
class  AsciiVectorResource
 
class  UC16VectorResource
 
struct  RegExpInterruptionData
 
class  RegExpInterruptionThread
 
class  VisitorImpl
 
class  IsolateThread
 
class  InitDefaultIsolateThread
 
class  Visitor42
 
class  RequestInterruptTestBase
 
class  RequestInterruptTestBase::InterruptThread
 
class  RequestInterruptTestWithFunctionCall
 
class  RequestInterruptTestWithMethodCall
 
class  RequestInterruptTestWithAccessor
 
class  RequestInterruptTestWithNativeAccessor
 
class  RequestInterruptTestWithMethodCallAndInterceptor
 
class  RequestInterruptTestWithMathAbs
 
class  ApiCallOptimizationChecker
 

Macros

#define THREADED_PROFILED_TEST(Name)
 
#define IS_ARRAY_BUFFER_VIEW_TEST(View)
 

Typedefs

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

Enumerations

enum  ReturnValueOddball { kNullReturnValue, kUndefinedReturnValue, kEmptyStringReturnValue }
 

Functions

void RunWithProfiler (void(*test)())
 
 TEST (InitializeAndDisposeOnce)
 
 TEST (InitializeAndDisposeMultiple)
 
 THREADED_TEST (Handles)
 
 THREADED_TEST (IsolateOfContext)
 
 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)
 
 TEST (MakingExternalUnalignedAsciiString)
 
 THREADED_TEST (UsingExternalString)
 
 THREADED_TEST (UsingExternalAsciiString)
 
 THREADED_TEST (ScavengeExternalString)
 
 THREADED_TEST (ScavengeExternalAsciiString)
 
 TEST (ExternalStringWithDisposeHandling)
 
 THREADED_TEST (StringConcat)
 
 THREADED_TEST (GlobalProperties)
 
 THREADED_PROFILED_TEST (FunctionTemplate)
 
 THREADED_PROFILED_TEST (SimpleCallback)
 
template<typename T >
void FastReturnValueCallback (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< int32_t > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< uint32_t > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< double > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< bool > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< void > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<>
void FastReturnValueCallback< Object > (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<typename T >
Handle< Value > TestFastReturnValues ()
 
 THREADED_PROFILED_TEST (FastReturnValues)
 
 THREADED_TEST (FunctionTemplateSetLength)
 
 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 (PrimitiveAndWrappedBooleans)
 
 THREADED_TEST (Number)
 
 THREADED_TEST (ToNumber)
 
 THREADED_TEST (Date)
 
 THREADED_TEST (Boolean)
 
 THREADED_TEST (GlobalPrototype)
 
 THREADED_TEST (ObjectTemplate)
 
 THREADED_TEST (DescriptorInheritance)
 
void SimpleAccessorGetter (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void SimpleAccessorSetter (Local< String > name, Local< Value > value, const v8::PropertyCallbackInfo< void > &info)
 
void EmptyInterceptorGetter (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void EmptyInterceptorSetter (Local< String > name, Local< Value > value, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void InterceptorGetter (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void InterceptorSetter (Local< String > name, Local< Value > value, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void AddAccessor (Handle< FunctionTemplate > templ, Handle< String > name, v8::AccessorGetterCallback getter, v8::AccessorSetterCallback setter)
 
void AddInterceptor (Handle< FunctionTemplate > templ, v8::NamedPropertyGetterCallback getter, v8::NamedPropertySetterCallback setter)
 
 THREADED_TEST (EmptyInterceptorDoesNotShadowAccessors)
 
 THREADED_TEST (EmptyInterceptorBreakTransitions)
 
 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)
 
void CheckThisIndexedPropertySetter (uint32_t index, Local< Value > value, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void CheckThisNamedPropertySetter (Local< String > property, Local< Value > value, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void CheckThisIndexedPropertyQuery (uint32_t index, const v8::PropertyCallbackInfo< v8::Integer > &info)
 
void CheckThisNamedPropertyQuery (Local< String > property, const v8::PropertyCallbackInfo< v8::Integer > &info)
 
void CheckThisIndexedPropertyDeleter (uint32_t index, const v8::PropertyCallbackInfo< v8::Boolean > &info)
 
void CheckThisNamedPropertyDeleter (Local< String > property, const v8::PropertyCallbackInfo< v8::Boolean > &info)
 
void CheckThisIndexedPropertyEnumerator (const v8::PropertyCallbackInfo< v8::Array > &info)
 
void CheckThisNamedPropertyEnumerator (const v8::PropertyCallbackInfo< v8::Array > &info)
 
 THREADED_PROFILED_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 (GlobalObjectHasRealIndexedProperty)
 
 THREADED_TEST (InternalFieldsAlignedPointers)
 
 THREADED_TEST (EmbedderDataAlignedPointers)
 
 THREADED_TEST (EmbedderData)
 
 THREADED_TEST (IdentityHash)
 
 THREADED_TEST (SymbolProperties)
 
 THREADED_TEST (PrivateProperties)
 
 THREADED_TEST (GlobalSymbols)
 
 THREADED_TEST (GlobalPrivates)
 
 THREADED_TEST (ArrayBuffer_ApiInternalToExternal)
 
 THREADED_TEST (ArrayBuffer_JSInternalToExternal)
 
 THREADED_TEST (ArrayBuffer_External)
 
 THREADED_TEST (ArrayBuffer_NeuteringApi)
 
 THREADED_TEST (ArrayBuffer_NeuteringScript)
 
 THREADED_TEST (HiddenProperties)
 
 THREADED_TEST (Regress97784)
 
 THREADED_TEST (HiddenPropertiesWithInterceptors)
 
 THREADED_TEST (External)
 
 THREADED_TEST (GlobalHandle)
 
 THREADED_TEST (ResettingGlobalHandle)
 
 THREADED_TEST (ResettingGlobalHandleToEmpty)
 
 THREADED_TEST (UniquePersistent)
 
 TEST (PersistentValueMap)
 
 THREADED_TEST (GlobalHandleUpcast)
 
 THREADED_TEST (HandleEquality)
 
 THREADED_TEST (LocalHandle)
 
 THREADED_TEST (ApiObjectGroups)
 
 THREADED_TEST (ApiObjectGroupsForSubtypes)
 
 THREADED_TEST (ApiObjectGroupsCycle)
 
 TEST (ApiObjectGroupsCycleForScavenger)
 
 THREADED_TEST (ScriptException)
 
 TEST (TryCatchCustomException)
 
 THREADED_TEST (MessageHandler0)
 
 TEST (MessageHandler1)
 
 TEST (MessageHandler2)
 
 TEST (MessageHandler3)
 
 TEST (MessageHandler4)
 
 TEST (MessageHandler5)
 
 THREADED_TEST (GetSetProperty)
 
 THREADED_TEST (PropertyAttributes)
 
 THREADED_TEST (Array)
 
void HandleF (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (Vector)
 
 THREADED_TEST (FunctionCall)
 
 THREADED_TEST (ConstructCall)
 
 THREADED_TEST (ConversionNumber)
 
 THREADED_TEST (isNumberType)
 
 THREADED_TEST (ConversionException)
 
void ThrowFromC (const v8::FunctionCallbackInfo< v8::Value > &args)
 
void CCatcher (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (APICatch)
 
 THREADED_TEST (APIThrowTryCatch)
 
 TEST (TryCatchInTryFinally)
 
 TEST (APIThrowMessageOverwrittenToString)
 
 TEST (CustomErrorToString)
 
 TEST (CustomErrorMessage)
 
 TEST (APIThrowMessage)
 
 TEST (APIThrowMessageAndVerboseTryCatch)
 
 TEST (APIStackOverflowAndVerboseTryCatch)
 
 THREADED_TEST (ExternalScriptException)
 
void CThrowCountDown (const v8::FunctionCallbackInfo< v8::Value > &args)
 
void JSCheck (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (EvalInTryFinally)
 
 TEST (ExceptionOrder)
 
void ThrowValue (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (ThrowValues)
 
 THREADED_TEST (CatchZero)
 
 THREADED_TEST (CatchExceptionFromWith)
 
 THREADED_TEST (TryCatchAndFinallyHidingException)
 
void WithTryCatch (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (TryCatchAndFinally)
 
 TEST (TryCatchNested)
 
void TryCatchMixedNestingCheck (v8::TryCatch *try_catch)
 
void TryCatchMixedNestingHelper (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (TryCatchMixedNesting)
 
 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)
 
void UnboxedDoubleIndexedPropertyEnumerator (const v8::PropertyCallbackInfo< v8::Array > &info)
 
 THREADED_TEST (IndexedInterceptorUnboxedDoubleWithIndexedAccessor)
 
void SloppyArgsIndexedPropertyEnumerator (const v8::PropertyCallbackInfo< v8::Array > &info)
 
 THREADED_TEST (IndexedInterceptorSloppyArgsWithIndexedAccessor)
 
 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)
 
 TEST (PersistentHandles)
 
 THREADED_TEST (GlobalObjectTemplate)
 
 TEST (SimpleExtensions)
 
 TEST (NullExtensions)
 
 TEST (ExtensionMissingSourceLength)
 
 TEST (ExtensionWithSourceLength)
 
 TEST (UseEvalFromExtension)
 
 TEST (UseWithFromExtension)
 
 TEST (AutoExtensions)
 
 TEST (SyntaxErrorExtensions)
 
 TEST (ExceptionExtensions)
 
 TEST (NativeCallInExtensions)
 
 TEST (NativeFunctionDeclaration)
 
 TEST (NativeFunctionDeclarationError)
 
 TEST (NativeFunctionDeclarationErrorEscape)
 
 THREADED_TEST (ExtensionDependency)
 
 THREADED_TEST (FunctionLookup)
 
 THREADED_TEST (NativeFunctionConstructCall)
 
void StoringErrorCallback (const char *location, const char *message)
 
 TEST (ErrorReporting)
 
 THREADED_TEST (ErrorWithMissingScriptInfo)
 
 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 (DetachGlobal)
 
void GetThisX (const v8::FunctionCallbackInfo< v8::Value > &info)
 
 TEST (DetachedAccesses)
 
 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 (HiddenPrototypeSet)
 
 THREADED_TEST (HiddenPrototypeIdentityHash)
 
 THREADED_TEST (SetPrototype)
 
 THREADED_TEST (Regress91517)
 
 THREADED_TEST (Regress269562)
 
 THREADED_TEST (FunctionReadOnlyPrototype)
 
 THREADED_TEST (SetPrototypeThrows)
 
 THREADED_TEST (FunctionRemovePrototype)
 
 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)
 
void DirectApiCallback (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (CallICFastApi_DirectCall_GCMoveStub)
 
void ThrowingDirectApiCallback (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 THREADED_TEST (CallICFastApi_DirectCall_Throw)
 
 THREADED_PROFILED_TEST (LoadICFastApi_DirectCall_GCMoveStub)
 
void ThrowingDirectGetterCallback (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
 THREADED_TEST (LoadICFastApi_DirectCall_Throw)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_TrivialSignature)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_SimpleSignature)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss1)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss2)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss3)
 
 THREADED_PROFILED_TEST (InterceptorCallICFastApi_SimpleSignature_TypeError)
 
 THREADED_PROFILED_TEST (CallICFastApi_TrivialSignature)
 
 THREADED_PROFILED_TEST (CallICFastApi_SimpleSignature)
 
 THREADED_PROFILED_TEST (CallICFastApi_SimpleSignature_Miss1)
 
 THREADED_PROFILED_TEST (CallICFastApi_SimpleSignature_Miss2)
 
 THREADED_PROFILED_TEST (CallICFastApi_SimpleSignature_TypeError)
 
 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 (Threading1)
 
 TEST (Threading2)
 
 TEST (Threading3)
 
 TEST (Threading4)
 
 TEST (NestedLockers)
 
 TEST (NestedLockersNoTryCatch)
 
 THREADED_TEST (RecursiveLocking)
 
 THREADED_TEST (LockUnlockLock)
 
 TEST (DontLeakGlobalObjects)
 
 TEST (CopyablePersistent)
 
 TEST (WeakCallbackApi)
 
void NewPersistentHandleCallback (const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &data)
 
 THREADED_TEST (NewPersistentHandleFromWeakCallback)
 
void DisposeAndForceGcCallback (const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &data)
 
 THREADED_TEST (DoNotUseDeletedNodesInSecondLevelGc)
 
void DisposingCallback (const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &data)
 
void HandleCreatingCallback (const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &data)
 
 THREADED_TEST (NoGlobalHandlesOrphaningDueToWeakCallback)
 
 THREADED_TEST (CheckForCrossContextObjectLiterals)
 
 THREADED_TEST (NestedHandleScopeAndContexts)
 
 TEST (SetFunctionEntryHook)
 
 UNINITIALIZED_TEST (SetJitCodeEventHandler)
 
 THREADED_TEST (ExternalAllocatedMemory)
 
 THREADED_TEST (Regress54)
 
 TEST (CatchStackOverflow)
 
 THREADED_TEST (TryCatchSourceInfo)
 
 THREADED_TEST (CompilationCache)
 
 THREADED_TEST (CallbackFunctionName)
 
 THREADED_TEST (DateAccess)
 
void CheckProperties (v8::Isolate *isolate, v8::Handle< v8::Value > val, int elmc, const char *elmv[])
 
void CheckOwnProperties (v8::Isolate *isolate, 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)
 
 THREADED_TEST (DictionaryICLoadedFunction)
 
 THREADED_TEST (CrossContextNew)
 
 TEST (ObjectClone)
 
 THREADED_TEST (MorphCompositeStringTest)
 
 TEST (CompileExternalTwoByteSource)
 
void RunBeforeGC (v8::GCType type, v8::GCCallbackFlags flags)
 
 TEST (RegExpInterruption)
 
 TEST (ReadOnlyPropertyInGlobalProto)
 
 TEST (ForceSet)
 
 TEST (ForceSetWithInterceptor)
 
 THREADED_TEST (ForceDelete)
 
 THREADED_TEST (ForceDeleteWithInterceptor)
 
 THREADED_TEST (ForceDeleteIC)
 
 TEST (InlinedFunctionAcrossContexts)
 
 THREADED_TEST (GetCurrentContextWhenNotInContext)
 
 THREADED_TEST (GetCallingContext)
 
 THREADED_TEST (InitGlobalVarInProtoChain)
 
 THREADED_TEST (ReplaceConstantFunction)
 
 THREADED_TEST (PixelArray)
 
 THREADED_TEST (PixelArrayInfo)
 
 THREADED_TEST (PixelArrayWithInterceptor)
 
 THREADED_TEST (FixedUint8Array)
 
 THREADED_TEST (FixedUint8ClampedArray)
 
 THREADED_TEST (FixedInt8Array)
 
 THREADED_TEST (FixedUint16Array)
 
 THREADED_TEST (FixedInt16Array)
 
 THREADED_TEST (FixedUint32Array)
 
 THREADED_TEST (FixedInt32Array)
 
 THREADED_TEST (FixedFloat32Array)
 
 THREADED_TEST (FixedFloat64Array)
 
 THREADED_TEST (ExternalInt8Array)
 
 THREADED_TEST (ExternalUint8Array)
 
 THREADED_TEST (ExternalUint8ClampedArray)
 
 THREADED_TEST (ExternalInt16Array)
 
 THREADED_TEST (ExternalUint16Array)
 
 THREADED_TEST (ExternalInt32Array)
 
 THREADED_TEST (ExternalUint32Array)
 
 THREADED_TEST (ExternalFloat32Array)
 
 THREADED_TEST (ExternalFloat64Array)
 
 THREADED_TEST (ExternalArrays)
 
void ExternalArrayInfoTestHelper (v8::ExternalArrayType array_type)
 
 THREADED_TEST (ExternalArrayInfo)
 
void ExtArrayLimitsHelper (v8::Isolate *isolate, v8::ExternalArrayType array_type, int size)
 
 TEST (ExternalArrayLimits)
 
template<typename ElementType , typename TypedArray , class ExternalArrayClass >
void TypedArrayTestHelper (v8::ExternalArrayType array_type, int64_t low, int64_t high)
 
 THREADED_TEST (Uint8Array)
 
 THREADED_TEST (Int8Array)
 
 THREADED_TEST (Uint16Array)
 
 THREADED_TEST (Int16Array)
 
 THREADED_TEST (Uint32Array)
 
 THREADED_TEST (Int32Array)
 
 THREADED_TEST (Float32Array)
 
 THREADED_TEST (Float64Array)
 
 THREADED_TEST (Uint8ClampedArray)
 
 THREADED_TEST (DataView)
 
 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)
 
void AnalyzeStackInNativeCode (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (CaptureStackTrace)
 
 TEST (CaptureStackTraceForUncaughtException)
 
 TEST (CaptureStackTraceForUncaughtExceptionAndSetters)
 
 TEST (RethrowStackTrace)
 
 TEST (RethrowPrimitiveStackTrace)
 
 TEST (RethrowExistingStackTrace)
 
 TEST (RethrowBogusErrorStackTrace)
 
void AnalyzeStackOfEvalWithSourceURL (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (SourceURLInStackTrace)
 
void AnalyzeScriptIdInStack (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (ScriptIdInStackTrace)
 
void AnalyzeStackOfInlineScriptWithSourceURL (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (InlineScriptWithSourceURLInStackTrace)
 
void AnalyzeStackOfDynamicScriptWithSourceURL (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (DynamicWithSourceURLInStackTrace)
 
 TEST (DynamicWithSourceURLInStackTraceString)
 
 TEST (IdleNotification)
 
 TEST (IdleNotificationWithSmallHint)
 
 TEST (IdleNotificationWithLargeHint)
 
 TEST (Regress2107)
 
 TEST (Regress2333)
 
 TEST (SetResourceConstraints)
 
 TEST (SetResourceConstraintsInThread)
 
 THREADED_TEST (GetHeapStatistics)
 
 TEST (ExternalizeOldSpaceTwoByteCons)
 
 TEST (ExternalizeOldSpaceOneByteCons)
 
 TEST (VisitExternalStrings)
 
 TEST (ExternalStringCollectedAtTearDown)
 
 TEST (ExternalInternalizedStringCollectedAtTearDown)
 
 TEST (ExternalInternalizedStringCollectedAtGC)
 
 THREADED_TEST (QuietSignalingNaNs)
 
 THREADED_TEST (SpaghettiStackReThrow)
 
 TEST (Regress528)
 
 THREADED_TEST (ScriptOrigin)
 
 THREADED_TEST (FunctionGetInferredName)
 
 THREADED_TEST (FunctionGetDisplayName)
 
 THREADED_TEST (ScriptLineNumber)
 
 THREADED_TEST (ScriptColumnNumber)
 
 THREADED_TEST (FunctionIsBuiltin)
 
 THREADED_TEST (FunctionGetScriptId)
 
 THREADED_TEST (FunctionGetBoundFunction)
 
void FooGetInterceptor (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void FooSetInterceptor (Local< String > name, Local< Value > value, const v8::PropertyCallbackInfo< v8::Value > &info)
 
 TEST (SetterOnConstructorPrototype)
 
 THREADED_TEST (InterceptorOnConstructorPrototype)
 
 TEST (Regress618)
 
void PrologueCallback (v8::GCType, v8::GCCallbackFlags flags)
 
void PrologueCallback (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
void EpilogueCallback (v8::GCType, v8::GCCallbackFlags flags)
 
void EpilogueCallback (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
void PrologueCallbackSecond (v8::GCType, v8::GCCallbackFlags flags)
 
void PrologueCallbackSecond (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
void EpilogueCallbackSecond (v8::GCType, v8::GCCallbackFlags flags)
 
void EpilogueCallbackSecond (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
void PrologueCallbackAlloc (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
void EpilogueCallbackAlloc (v8::Isolate *isolate, v8::GCType, v8::GCCallbackFlags flags)
 
 TEST (GCCallbacksOld)
 
 TEST (GCCallbacks)
 
 THREADED_TEST (AddToJSFunctionResultCache)
 
 THREADED_TEST (FillJSFunctionResultCache)
 
 THREADED_TEST (RoundRobinGetFromCache)
 
 THREADED_TEST (ReverseGetFromCache)
 
 THREADED_TEST (TestEviction)
 
 THREADED_TEST (TwoByteStringInAsciiCons)
 
 TEST (ContainsOnlyOneByte)
 
void FailedAccessCheckCallbackGC (Local< v8::Object > target, v8::AccessType type, Local< v8::Value > data)
 
 TEST (GCInFailedAccessCheckCallback)
 
 TEST (IsolateNewDispose)
 
 UNINITIALIZED_TEST (DisposeIsolateWhenInUse)
 
 TEST (RunTwoIsolatesOnSingleThread)
 
 TEST (MultipleIsolatesOnIndividualThreads)
 
 TEST (IsolateDifferentContexts)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread1)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread2)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread3)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread4)
 
 TEST (InitializeDefaultIsolateOnSecondaryThread5)
 
 TEST (StringCheckMultipleContexts)
 
 TEST (NumberCheckMultipleContexts)
 
 TEST (BooleanCheckMultipleContexts)
 
 TEST (DontDeleteCellLoadIC)
 
 TEST (DontDeleteCellLoadICForceDelete)
 
 TEST (DontDeleteCellLoadICAPI)
 
 TEST (PersistentHandleVisitor)
 
 TEST (WrapperClassId)
 
 TEST (PersistentHandleInNewSpaceVisitor)
 
 TEST (RegExp)
 
 THREADED_TEST (Equals)
 
 TEST (NamedEnumeratorAndForIn)
 
 TEST (DefinePropertyPostDetach)
 
 THREADED_TEST (CreationContext)
 
 THREADED_TEST (CreationContextOfJsFunction)
 
void HasOwnPropertyIndexedPropertyGetter (uint32_t index, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void HasOwnPropertyNamedPropertyGetter (Local< String > property, const v8::PropertyCallbackInfo< v8::Value > &info)
 
void HasOwnPropertyIndexedPropertyQuery (uint32_t index, const v8::PropertyCallbackInfo< v8::Integer > &info)
 
void HasOwnPropertyNamedPropertyQuery (Local< String > property, const v8::PropertyCallbackInfo< v8::Integer > &info)
 
void HasOwnPropertyNamedPropertyQuery2 (Local< String > property, const v8::PropertyCallbackInfo< v8::Integer > &info)
 
void HasOwnPropertyAccessorGetter (Local< String > property, const v8::PropertyCallbackInfo< v8::Value > &info)
 
 TEST (HasOwnProperty)
 
 TEST (IndexedInterceptorWithStringProto)
 
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 ()
 
void RecursiveCall (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (CallCompletedCallback)
 
void CallCompletedCallbackNoException ()
 
void CallCompletedCallbackException ()
 
 TEST (CallCompletedCallbackOneException)
 
 TEST (CallCompletedCallbackTwoExceptions)
 
 TEST (EnqueueMicrotask)
 
 TEST (SetAutorunMicrotasks)
 
 TEST (SecondaryStubCache)
 
 TEST (PrimaryStubCache)
 
 TEST (CheckCOWArraysCreatedRuntimeCounter)
 
 TEST (StaticGetters)
 
 UNINITIALIZED_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 (Regress2535)
 
 THREADED_TEST (Regress2746)
 
 THREADED_TEST (Regress260106)
 
 THREADED_TEST (JSONParseObject)
 
 THREADED_TEST (JSONParseNumber)
 
void UnreachableCallback (const v8::FunctionCallbackInfo< v8::Value > &args)
 
 TEST (JSONStringifyAccessCheck)
 
void FailedAccessCheckThrows (Local< v8::Object > target, v8::AccessType type, Local< v8::Value > data)
 
void CatcherCallback (const v8::FunctionCallbackInfo< v8::Value > &args)
 
void HasOwnPropertyCallback (const v8::FunctionCallbackInfo< v8::Value > &args)
 
void CheckCorrectThrow (const char *script)
 
 TEST (AccessCheckThrows)
 
 THREADED_TEST (Regress256330)
 
 THREADED_TEST (CrankshaftInterceptorSetter)
 
 THREADED_TEST (CrankshaftInterceptorGetter)
 
 THREADED_TEST (CrankshaftInterceptorFieldRead)
 
 THREADED_TEST (CrankshaftInterceptorFieldWrite)
 
 TEST (RequestInterruptTestWithFunctionCall)
 
 TEST (RequestInterruptTestWithMethodCall)
 
 TEST (RequestInterruptTestWithAccessor)
 
 TEST (RequestInterruptTestWithNativeAccessor)
 
 TEST (RequestInterruptTestWithMethodCallAndInterceptor)
 
 TEST (RequestInterruptTestWithMathAbs)
 
 THREADED_TEST (FunctionNew)
 
 TEST (EscapeableHandleScope)
 
 TEST (Regress239669)
 
 TEST (TestFunctionCallOptimization)
 
void StoringEventLoggerCallback (const char *message, int status)
 
 TEST (EventLogging)
 
 TEST (Promises)
 
 TEST (DisallowJavascriptExecutionScope)
 
 TEST (AllowJavascriptExecutionScope)
 
 TEST (ThrowOnJavascriptExecution)
 
 TEST (Regress354123)
 

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
 
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
 
struct RegExpInterruptionData regexp_interruption_data
 
bool pass_on_get = false
 
v8::Isolategc_callbacks_isolate = NULL
 
int prologue_call_count = 0
 
int epilogue_call_count = 0
 
int prologue_call_count_second = 0
 
int epilogue_call_count_second = 0
 
int prologue_call_count_alloc = 0
 
int epilogue_call_count_alloc = 0
 
uint8_t callback_fired = 0
 
bool access_check_fail_thrown = false
 
bool catch_callback_called = false
 

Macro Definition Documentation

#define IS_ARRAY_BUFFER_VIEW_TEST (   View)
Value:
THREADED_TEST(Is##View) { \
LocalContext env; \
v8::Isolate* isolate = env->GetIsolate(); \
v8::HandleScope handle_scope(isolate); \
\
Handle<Value> result = CompileRun( \
"var ab = new ArrayBuffer(128);" \
"new " #View "(ab)"); \
CHECK(result->IsArrayBufferView()); \
CHECK(result->Is##View()); \
CheckInternalFieldsAreZero<v8::ArrayBufferView>(result.As<v8::View>()); \
}
THREADED_TEST(Handles)
Definition: test-api.cc:192
#define CHECK(condition)
Definition: checks.h:75
bool Is(Object *obj)

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

#define THREADED_PROFILED_TEST (   Name)
Value:
static void Test##Name(); \
TEST(Name##WithProfiler) { \
RunWithProfiler(&Test##Name); \
} \
TEST(InitializeAndDisposeOnce)
Definition: test-api.cc:175
void RunWithProfiler(void(*test)())
Definition: test-api.cc:89
THREADED_TEST(Handles)
Definition: test-api.cc:192

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

Typedef Documentation

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

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

Enumeration Type Documentation

Enumerator
kNullReturnValue 
kUndefinedReturnValue 
kEmptyStringReturnValue 

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

Function Documentation

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

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

Referenced by THREADED_TEST().

void AddInterceptor ( Handle< FunctionTemplate >  templ,
v8::NamedPropertyGetterCallback  getter,
v8::NamedPropertySetterCallback  setter 
)

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

Referenced by THREADED_TEST().

void AnalyzeScriptIdInStack ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void AnalyzeStackOfDynamicScriptWithSourceURL ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void AnalyzeStackOfEvalWithSourceURL ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void AnalyzeStackOfInlineScriptWithSourceURL ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void CallCompletedCallback1 ( )

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

References OS::Print().

Referenced by TEST().

void CallCompletedCallback2 ( )

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

References OS::Print().

Referenced by TEST().

void CallCompletedCallbackException ( )

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

References CcTest::isolate().

Referenced by TEST().

void CallCompletedCallbackNoException ( )

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

References CcTest::isolate().

Referenced by TEST().

void CatcherCallback ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

References FunctionCallbackInfo< T >::Length(), and v8::internal::PrintF().

Referenced by TEST().

void CheckCodeGenerationAllowed ( )

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

References CHECK_EQ.

Referenced by THREADED_TEST().

void CheckCodeGenerationDisallowed ( )

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

References CHECK.

Referenced by THREADED_TEST().

void CheckCorrectThrow ( const char *  script)

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

References CHECK, OS::SNPrintF(), and Vector< T >::start().

Referenced by TEST().

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

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

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

Referenced by THREADED_TEST().

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

Definition at line 14388 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 
)
void CheckThisIndexedPropertyDeleter ( uint32_t  index,
const v8::PropertyCallbackInfo< v8::Boolean > &  info 
)
void CheckThisIndexedPropertyEnumerator ( const v8::PropertyCallbackInfo< v8::Array > &  info)
void CheckThisIndexedPropertyQuery ( uint32_t  index,
const v8::PropertyCallbackInfo< v8::Integer > &  info 
)
void CheckThisIndexedPropertySetter ( uint32_t  index,
Local< Value >  value,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void CheckThisNamedPropertyDeleter ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Boolean > &  info 
)
void CheckThisNamedPropertyEnumerator ( const v8::PropertyCallbackInfo< v8::Array > &  info)
void CheckThisNamedPropertyQuery ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Integer > &  info 
)
void CheckThisNamedPropertySetter ( Local< String >  property,
Local< Value >  value,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
bool CodeGenerationAllowed ( Local< Context >  context)

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

References ApiTestFuzzer::Fuzz().

Referenced by THREADED_TEST().

bool CodeGenerationDisallowed ( Local< Context >  context)

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

References ApiTestFuzzer::Fuzz().

Referenced by TEST(), and THREADED_TEST().

void DirectApiCallback ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void DisposeAndForceGcCallback ( const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &  data)
void DisposingCallback ( const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &  data)

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

Referenced by THREADED_TEST().

void EmptyInterceptorGetter ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

Referenced by THREADED_TEST().

void EmptyInterceptorSetter ( Local< String >  name,
Local< Value >  value,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

Referenced by THREADED_TEST().

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

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

References CHECK_EQ, epilogue_call_count, and v8::kNoGCCallbackFlags.

Referenced by TEST().

void EpilogueCallback ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, epilogue_call_count, and v8::kNoGCCallbackFlags.

void EpilogueCallbackAlloc ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)
void EpilogueCallbackSecond ( v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, epilogue_call_count_second, and v8::kNoGCCallbackFlags.

Referenced by TEST().

void EpilogueCallbackSecond ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, epilogue_call_count_second, and v8::kNoGCCallbackFlags.

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

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

References Heap::CollectAllGarbage(), CcTest::heap(), and Heap::kNoGCFlags.

Referenced by TEST().

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

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

References Exception::Error(), CcTest::isolate(), v8::internal::PrintF(), and Isolate::ThrowException().

Referenced by TEST().

void FastReturnValueCallback ( const v8::FunctionCallbackInfo< v8::Value > &  info)
void FastReturnValueCallback< bool > ( const v8::FunctionCallbackInfo< v8::Value > &  info)

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

References FunctionCallbackInfo< T >::GetReturnValue().

void FastReturnValueCallback< double > ( const v8::FunctionCallbackInfo< v8::Value > &  info)

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

References FunctionCallbackInfo< T >::GetReturnValue().

void FastReturnValueCallback< int32_t > ( const v8::FunctionCallbackInfo< v8::Value > &  info)

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

References FunctionCallbackInfo< T >::GetReturnValue().

void FastReturnValueCallback< uint32_t > ( const v8::FunctionCallbackInfo< v8::Value > &  info)

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

References FunctionCallbackInfo< T >::GetReturnValue().

void FooGetInterceptor ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void FooSetInterceptor ( Local< String >  name,
Local< Value >  value,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void GetThisX ( const v8::FunctionCallbackInfo< v8::Value > &  info)
int GetUtf8Length ( Handle< String >  str)

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

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

Referenced by THREADED_TEST().

void HandleCreatingCallback ( const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &  data)

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

References Object::New().

Referenced by THREADED_TEST().

void HasOwnPropertyAccessorGetter ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void HasOwnPropertyCallback ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

Referenced by TEST().

void HasOwnPropertyIndexedPropertyGetter ( uint32_t  index,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void HasOwnPropertyIndexedPropertyQuery ( uint32_t  index,
const v8::PropertyCallbackInfo< v8::Integer > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void HasOwnPropertyNamedPropertyGetter ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void HasOwnPropertyNamedPropertyQuery ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Integer > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void HasOwnPropertyNamedPropertyQuery2 ( Local< String >  property,
const v8::PropertyCallbackInfo< v8::Integer > &  info 
)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by TEST().

void InterceptorGetter ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void InterceptorSetter ( Local< String >  name,
Local< Value >  value,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void JSCheck ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

References CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), and FunctionCallbackInfo< T >::Length().

Referenced by TEST().

void NewPersistentHandleCallback ( const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > &  data)

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

References PersistentBase< T >::Reset(), and some_object.

Referenced by THREADED_TEST().

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

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

References CHECK_EQ, v8::kNoGCCallbackFlags, and prologue_call_count.

Referenced by TEST().

void PrologueCallback ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, v8::kNoGCCallbackFlags, and prologue_call_count.

void PrologueCallbackAlloc ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)
void PrologueCallbackSecond ( v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, v8::kNoGCCallbackFlags, and prologue_call_count_second.

Referenced by TEST().

void PrologueCallbackSecond ( v8::Isolate isolate,
v8::GCType  ,
v8::GCCallbackFlags  flags 
)

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

References CHECK_EQ, v8::kNoGCCallbackFlags, and prologue_call_count_second.

void RecursiveCall ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

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

Referenced by TEST().

void RunWithProfiler ( void(*)()  test)
void SimpleAccessorGetter ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)
void SimpleAccessorSetter ( Local< String >  name,
Local< Value >  value,
const v8::PropertyCallbackInfo< void > &  info 
)

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

References PropertyCallbackInfo< T >::This().

Referenced by THREADED_TEST().

void SloppyArgsIndexedPropertyEnumerator ( const v8::PropertyCallbackInfo< v8::Array > &  info)
void StoringErrorCallback ( const char *  location,
const char *  message 
)

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

References message, and NULL.

Referenced by ExtArrayLimitsHelper(), TEST(), and UNINITIALIZED_TEST().

void StoringEventLoggerCallback ( const char *  message,
int  status 
)

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

References message.

Referenced by TEST().

TEST ( InitializeAndDisposeOnce  )

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

References CHECK, V8::Dispose(), and V8::Initialize().

TEST ( InitializeAndDisposeMultiple  )

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

References CHECK, V8::Dispose(), and V8::Initialize().

TEST ( MakingExternalStringConditions  )
TEST ( MakingExternalAsciiStringConditions  )
TEST ( PersistentValueMap  )

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

References v8::internal::Object.

TEST ( TryCatchCustomException  )

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

References CHECK, and Context::GetIsolate().

TEST ( MessageHandler1  )
TEST ( MessageHandler3  )
TEST ( MessageHandler4  )
TEST ( TryCatchInTryFinally  )

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

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

TEST ( APIThrowMessageOverwrittenToString  )
TEST ( CustomErrorToString  )
TEST ( CustomErrorMessage  )
TEST ( APIThrowMessage  )
TEST ( APIStackOverflowAndVerboseTryCatch  )
TEST ( ExceptionOrder  )
TEST ( TryCatchNested  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), and V8::Initialize().

TEST ( TryCatchMixedNesting  )
TEST ( UndetectableOptimized  )

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

References Context::GetIsolate(), and Context::Global().

TEST ( PersistentHandles  )

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

References CcTest::isolate(), and PersistentBase< T >::Reset().

TEST ( SimpleExtensions  )

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

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

TEST ( NullExtensions  )

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

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

TEST ( ExtensionMissingSourceLength  )

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

References CHECK_EQ, CcTest::isolate(), and v8::RegisterExtension().

TEST ( ExtensionWithSourceLength  )
TEST ( UseEvalFromExtension  )

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

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

TEST ( UseWithFromExtension  )

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

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

TEST ( AutoExtensions  )

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

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

TEST ( SyntaxErrorExtensions  )
TEST ( ExceptionExtensions  )
TEST ( NativeCallInExtensions  )

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

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

TEST ( NativeFunctionDeclaration  )

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

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

TEST ( NativeFunctionDeclarationError  )
TEST ( NativeFunctionDeclarationErrorEscape  )
TEST ( CompilationErrorUsingTryCatchHandler  )

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

References CHECK, CHECK_NE, Context::GetIsolate(), and NULL.

TEST ( TryCatchFinallyUsingTryCatchHandler  )

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

References CHECK, and Context::GetIsolate().

TEST ( ContextDetachGlobal  )
TEST ( DetachGlobal  )
TEST ( DetachedAccesses  )
TEST ( NestedLockers  )
TEST ( NestedLockersNoTryCatch  )
TEST ( DontLeakGlobalObjects  )
TEST ( CopyablePersistent  )
TEST ( SetFunctionEntryHook  )

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

References SetFunctionEntryHookTest::RunTest().

TEST ( CatchStackOverflow  )

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

References CHECK, Context::GetIsolate(), and Handle< T >::IsEmpty().

TEST ( PreCompileDeserializationError  )

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

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

TEST ( ObjectClone  )
TEST ( CompileExternalTwoByteSource  )

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

References Script::Compile(), Context::GetIsolate(), String::NewExternal(), and NULL.

TEST ( ReadOnlyPropertyInGlobalProto  )
TEST ( InlinedFunctionAcrossContexts  )
TEST ( CaptureStackTraceForUncaughtExceptionAndSetters  )
TEST ( RethrowPrimitiveStackTrace  )
TEST ( RethrowExistingStackTrace  )
TEST ( RethrowBogusErrorStackTrace  )
TEST ( SourceURLInStackTrace  )
TEST ( InlineScriptWithSourceURLInStackTrace  )
TEST ( DynamicWithSourceURLInStackTrace  )
TEST ( DynamicWithSourceURLInStackTraceString  )
TEST ( IdleNotification  )
TEST ( IdleNotificationWithSmallHint  )
TEST ( IdleNotificationWithLargeHint  )
TEST ( Regress2333  )

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

References Heap::CollectGarbage(), CcTest::heap(), and v8::internal::NEW_SPACE.

TEST ( SetResourceConstraintsInThread  )
TEST ( ExternalizeOldSpaceTwoByteCons  )
TEST ( ExternalizeOldSpaceOneByteCons  )
TEST ( ExternalStringCollectedAtTearDown  )
TEST ( ExternalInternalizedStringCollectedAtTearDown  )
TEST ( SetterOnConstructorPrototype  )
TEST ( ContainsOnlyOneByte  )
TEST ( IsolateNewDispose  )
TEST ( MultipleIsolatesOnIndividualThreads  )
TEST ( IsolateDifferentContexts  )

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

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

TEST ( InitializeDefaultIsolateOnSecondaryThread1  )

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

References InitDefaultIsolateThread::SetResourceConstraints.

TEST ( InitializeDefaultIsolateOnSecondaryThread2  )

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

References InitDefaultIsolateThread::SetFatalHandler.

TEST ( InitializeDefaultIsolateOnSecondaryThread3  )

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

References InitDefaultIsolateThread::SetCounterFunction.

TEST ( InitializeDefaultIsolateOnSecondaryThread4  )
TEST ( InitializeDefaultIsolateOnSecondaryThread5  )
TEST ( StringCheckMultipleContexts  )

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

References Context::GetIsolate().

TEST ( NumberCheckMultipleContexts  )

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

References Context::GetIsolate().

TEST ( BooleanCheckMultipleContexts  )

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

References Context::GetIsolate().

TEST ( DontDeleteCellLoadIC  )
TEST ( DontDeleteCellLoadICForceDelete  )

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

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

TEST ( DontDeleteCellLoadICAPI  )

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

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

TEST ( PersistentHandleVisitor  )
TEST ( WrapperClassId  )

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

References CHECK_EQ, Context::GetIsolate(), and Object::New().

TEST ( DefinePropertyPostDetach  )
TEST ( IndexedInterceptorWithStringProto  )
TEST ( CallCompletedCallbackOneException  )
TEST ( CallCompletedCallbackTwoExceptions  )
TEST ( EnqueueMicrotask  )

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

References CHECK_EQ, V8::EnqueueMicrotask(), and Context::GetIsolate().

TEST ( SetAutorunMicrotasks  )

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

References CHECK_EQ, V8::EnqueueMicrotask(), and Context::GetIsolate().

TEST ( SecondaryStubCache  )

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

TEST ( PrimaryStubCache  )

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

TEST ( CheckCOWArraysCreatedRuntimeCounter  )

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

References CHECK_EQ, and Context::GetIsolate().

TEST ( StringEmpty  )
TEST ( TryFinallyMessage  )

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

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

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

References RequestInterruptTestBase::RunTest().

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

References RequestInterruptTestBase::RunTest().

TEST ( EscapeableHandleScope  )

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

References CHECK, CHECK_EQ, EscapableHandleScope::Escape(), and CcTest::isolate().

TEST ( Regress239669  )

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

References Context::GetIsolate(), and Context::Global().

TEST ( TestFunctionCallOptimization  )

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

References ApiCallOptimizationChecker::RunAll().

TEST ( DisallowJavascriptExecutionScope  )
TEST ( ThrowOnJavascriptExecution  )
THREADED_PROFILED_TEST ( FunctionTemplate  )

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

THREADED_PROFILED_TEST ( SimpleCallback  )

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

THREADED_PROFILED_TEST ( LoadICFastApi_DirectCall_GCMoveStub  )

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

THREADED_TEST ( Handles  )
THREADED_TEST ( IsolateOfContext  )
THREADED_TEST ( HulIgennem  )
THREADED_TEST ( Access  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), Object::New(), and obj.

THREADED_TEST ( AccessElement  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), Object::New(), and obj.

THREADED_TEST ( Script  )

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

References CHECK_EQ, and Context::GetIsolate().

THREADED_TEST ( GlobalProperties  )

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

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

THREADED_TEST ( FunctionTemplateSetLength  )
THREADED_TEST ( ExternalWrap  )

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

References foo.

THREADED_TEST ( FindInstanceInPrototypeChain  )

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

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

THREADED_TEST ( TinyInteger  )

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

References CHECK_EQ, Context::GetIsolate(), and Integer::New().

THREADED_TEST ( BigSmiInteger  )
THREADED_TEST ( BigInteger  )
THREADED_TEST ( TinyUnsignedInteger  )
THREADED_TEST ( BigUnsignedSmiInteger  )
THREADED_TEST ( BigUnsignedInteger  )
THREADED_TEST ( OutOfSignedRangeUnsignedInteger  )
THREADED_TEST ( IsNativeError  )

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

References CHECK, and Context::GetIsolate().

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

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

References CHECK, and Context::GetIsolate().

THREADED_TEST ( Number  )

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

References CHECK_EQ, Context::GetIsolate(), and Number::New().

THREADED_TEST ( ToNumber  )

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

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

THREADED_TEST ( Date  )

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

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

THREADED_TEST ( Boolean  )
THREADED_TEST ( GlobalPrototype  )
THREADED_TEST ( ObjectTemplate  )

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

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

THREADED_TEST ( EmptyInterceptorDoesNotShadowAccessors  )
THREADED_TEST ( EmptyInterceptorBreakTransitions  )
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 2456 of file test-api.cc.

References CHECK, and Context::GetIsolate().

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

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

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

THREADED_TEST ( InternalFields  )

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

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

THREADED_TEST ( GlobalObjectHasRealIndexedProperty  )
THREADED_TEST ( InternalFieldsAlignedPointers  )

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

References CHECK_EQ, Context::GetIsolate(), FunctionTemplate::New(), and NULL.

THREADED_TEST ( EmbedderData  )
THREADED_TEST ( IdentityHash  )
THREADED_TEST ( GlobalSymbols  )
THREADED_TEST ( ArrayBuffer_ApiInternalToExternal  )
THREADED_TEST ( ArrayBuffer_JSInternalToExternal  )

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

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

THREADED_TEST ( ArrayBuffer_External  )
THREADED_TEST ( ArrayBuffer_NeuteringApi  )

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

References CHECK_EQ, Context::GetIsolate(), ArrayBuffer::New(), and DataView::New().

THREADED_TEST ( ArrayBuffer_NeuteringScript  )
THREADED_TEST ( Regress97784  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), Integer::New(), and Object::New().

THREADED_TEST ( HiddenPropertiesWithInterceptors  )
THREADED_TEST ( GlobalHandle  )

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

References CHECK_EQ, CcTest::isolate(), and PersistentBase< T >::Reset().

THREADED_TEST ( ResettingGlobalHandle  )
THREADED_TEST ( ResettingGlobalHandleToEmpty  )
THREADED_TEST ( GlobalHandleUpcast  )
THREADED_TEST ( HandleEquality  )

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

References CHECK_EQ, CcTest::isolate(), and PersistentBase< T >::Reset().

THREADED_TEST ( LocalHandle  )

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

References CHECK_EQ, CcTest::isolate(), and Local< T >::New().

THREADED_TEST ( ScriptException  )
THREADED_TEST ( MessageHandler0  )
THREADED_TEST ( GetSetProperty  )

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

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

THREADED_TEST ( Array  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), and Array::New().

THREADED_TEST ( Vector  )

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

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

THREADED_TEST ( ConstructCall  )

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

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

THREADED_TEST ( ConversionNumber  )

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

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

THREADED_TEST ( isNumberType  )

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

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

THREADED_TEST ( ConversionException  )
THREADED_TEST ( APICatch  )
THREADED_TEST ( APIThrowTryCatch  )
THREADED_TEST ( ExternalScriptException  )
THREADED_TEST ( EvalInTryFinally  )

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

References CHECK, and Context::GetIsolate().

THREADED_TEST ( ThrowValues  )
THREADED_TEST ( CatchZero  )

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

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

THREADED_TEST ( CatchExceptionFromWith  )

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

References CHECK, and Context::GetIsolate().

THREADED_TEST ( TryCatchAndFinallyHidingException  )

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

References CHECK, and Context::GetIsolate().

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

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

References Context::GetIsolate().

THREADED_TEST ( SimplePropertyRead  )

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

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

THREADED_TEST ( DefinePropertyOnAPIAccessor  )

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

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

THREADED_TEST ( DefinePropertyOnDefineGetterSetter  )

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

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

THREADED_TEST ( DefineAPIAccessorOnObject  )

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

References CHECK, Context::Global(), CcTest::isolate(), and NULL.

THREADED_TEST ( DontDeleteAPIAccessorsCannotBeOverriden  )
THREADED_TEST ( ElementAPIAccessor  )

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

References CHECK, Context::Global(), CcTest::isolate(), and NULL.

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

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

References Context::Global(), CcTest::isolate(), and NULL.

THREADED_TEST ( NamedInterceptorPropertyRead  )

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

References CHECK_EQ, Context::Global(), and CcTest::isolate().

THREADED_TEST ( NamedInterceptorDictionaryIC  )

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

References CHECK_EQ, Context::Global(), and CcTest::isolate().

THREADED_TEST ( NamedInterceptorDictionaryICMultipleContext  )

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

References CHECK_EQ, Context::Global(), and CcTest::isolate().

THREADED_TEST ( NamedInterceptorMapTransitionRead  )

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

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

THREADED_TEST ( IndexedInterceptorWithIndexedAccessor  )

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

References CHECK_EQ, Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorUnboxedDoubleWithIndexedAccessor  )
THREADED_TEST ( IndexedInterceptorSloppyArgsWithIndexedAccessor  )
THREADED_TEST ( IndexedInterceptorWithGetOwnPropertyDescriptor  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithNoSetter  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithAccessorCheck  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithAccessorCheckSwitchedOn  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithDifferentIndices  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithNegativeIndices  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorWithNotSmiLookup  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorGoingMegamorphic  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorReceiverTurningSmi  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( IndexedInterceptorOnProto  )

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

References Context::Global(), and CcTest::isolate().

THREADED_TEST ( MultiContexts  )
THREADED_TEST ( FunctionPrototypeAcrossContexts  )
THREADED_TEST ( Regress892105  )

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

References CHECK_EQ, and CcTest::isolate().

THREADED_TEST ( UndetectableObject  )

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

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

THREADED_TEST ( VoidLiteral  )

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

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

THREADED_TEST ( ExtensibleOnUndetectable  )
THREADED_TEST ( UndetectableString  )

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

References Context::GetIsolate(), and Context::Global().

THREADED_TEST ( GlobalObjectTemplate  )

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

References CcTest::isolate(), and FunctionTemplate::New().

THREADED_TEST ( ExtensionDependency  )

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

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

THREADED_TEST ( FunctionLookup  )

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

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

THREADED_TEST ( NativeFunctionConstructCall  )

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

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

THREADED_TEST ( ErrorWithMissingScriptInfo  )
THREADED_TEST ( GCFromWeakCallbacks  )

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

References CHECK, v8::internal::flag, CcTest::isolate(), and Object::New().

THREADED_TEST ( Arguments  )
THREADED_TEST ( GetterHolders  )

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

References CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetAccessor().

THREADED_TEST ( PreInterceptorHolders  )
THREADED_TEST ( ObjectInstantiation  )
THREADED_TEST ( Utf16  )

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

References Context::GetIsolate().

THREADED_TEST ( DeleteAccessor  )
THREADED_TEST ( SecurityChecks  )
THREADED_TEST ( SecurityChecksForPrototypeChain  )

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

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

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

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

References V8::GetVersion().

THREADED_TEST ( InstanceProperties  )
THREADED_TEST ( GlobalObjectInstanceProperties  )

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

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

THREADED_TEST ( CallKnownGlobalReceiver  )

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

References foo, Context::Global(), CcTest::isolate(), FunctionTemplate::New(), and NULL.

THREADED_TEST ( ShadowObject  )
THREADED_TEST ( HiddenPrototype  )
THREADED_TEST ( HiddenPrototypeSet  )

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

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

THREADED_TEST ( HiddenPrototypeIdentityHash  )

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

References ASSERT_EQ, and Context::GetIsolate().

THREADED_TEST ( SetPrototype  )

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

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

THREADED_TEST ( Regress91517  )
THREADED_TEST ( FunctionReadOnlyPrototype  )
THREADED_TEST ( SetPrototypeThrows  )
THREADED_TEST ( FunctionRemovePrototype  )
THREADED_TEST ( GetterSetterExceptions  )

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

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

THREADED_TEST ( Constructor  )
THREADED_TEST ( FunctionDescriptorException  )
THREADED_TEST ( EvalAliasedDynamic  )

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

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

THREADED_TEST ( CrossEval  )
THREADED_TEST ( EvalInDetachedGlobal  )
THREADED_TEST ( CrossLazyLoad  )
THREADED_TEST ( CallableObject  )

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

References CHECK, Context::GetIsolate(), and TryCatch::HasCaught().

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

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

THREADED_TEST ( InterceptorLoadICWithFieldOnHolder  )

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

THREADED_TEST ( InterceptorLoadICWithSubstitutedProto  )

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

THREADED_TEST ( InterceptorLoadICWithPropertyOnProto  )

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

THREADED_TEST ( InterceptorLoadICUndefined  )

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

THREADED_TEST ( InterceptorLoadICWithOverride  )

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

THREADED_TEST ( InterceptorLoadICFieldNotNeeded  )

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

THREADED_TEST ( InterceptorLoadICInvalidatedField  )

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

THREADED_TEST ( InterceptorLoadICPostInterceptor  )

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

References CHECK_EQ.

THREADED_TEST ( InterceptorLoadICInvalidatedFieldViaGlobal  )

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

THREADED_TEST ( InterceptorLoadICWithCallbackOnHolder  )
THREADED_TEST ( InterceptorLoadICForCallbackWithOverride  )
THREADED_TEST ( InterceptorLoadICInvalidatedCallbackViaGlobal  )
THREADED_TEST ( InterceptorReturningZero  )

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

THREADED_TEST ( InterceptorStoreIC  )
THREADED_TEST ( InterceptorStoreICWithNoSetter  )
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 ( 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 12811 of file test-api.cc.

References CHECK, Context::GetIsolate(), and v8::internal::Object.

THREADED_TEST ( ExceptionsDoNotPropagatePastTryCatch  )

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

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

THREADED_TEST ( Overriding  )
THREADED_TEST ( IsConstructCall  )

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

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

THREADED_TEST ( ObjectProtoToString  )

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

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

THREADED_TEST ( ObjectGetConstructorName  )

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

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

THREADED_TEST ( RecursiveLocking  )

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

References CHECK, Locker::IsLocked(), and CcTest::isolate().

THREADED_TEST ( LockUnlockLock  )

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

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

THREADED_TEST ( CheckForCrossContextObjectLiterals  )

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

References V8::Initialize(), and CcTest::isolate().

THREADED_TEST ( NestedHandleScopeAndContexts  )

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

References CHECK, CcTest::isolate(), and Value::ToString().

THREADED_TEST ( ExternalAllocatedMemory  )
THREADED_TEST ( TryCatchSourceInfo  )
THREADED_TEST ( CompilationCache  )
THREADED_TEST ( CallbackFunctionName  )
THREADED_TEST ( DateAccess  )

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

References CHECK, CHECK_EQ, Context::GetIsolate(), Date::New(), and Date::ValueOf().

THREADED_TEST ( PropertyEnumeration  )
THREADED_TEST ( PropertyEnumeration2  )
THREADED_TEST ( DisableAccessChecksWhileConfiguring  )

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

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

THREADED_TEST ( AccessChecksReenabledCorrectly  )

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

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

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

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

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

THREADED_TEST ( CrossContextNew  )

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

References CHECK, CHECK_EQ, and CcTest::isolate().

THREADED_TEST ( ForceDeleteIC  )

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

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

THREADED_TEST ( GetCurrentContextWhenNotInContext  )

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

References CHECK, Isolate::context(), CcTest::i_isolate(), Handle< T >::IsEmpty(), and NULL.

THREADED_TEST ( GetCallingContext  )

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

References CcTest::isolate(), and FunctionTemplate::New().

THREADED_TEST ( InitGlobalVarInProtoChain  )
THREADED_TEST ( FixedUint8Array  )

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

References v8::kExternalUint8Array.

THREADED_TEST ( FixedUint8ClampedArray  )
THREADED_TEST ( FixedInt8Array  )

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

References v8::kExternalInt8Array.

THREADED_TEST ( FixedUint16Array  )

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

References v8::kExternalUint16Array.

THREADED_TEST ( FixedInt16Array  )

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

References v8::kExternalInt16Array.

THREADED_TEST ( FixedUint32Array  )

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

References v8::kExternalUint32Array.

THREADED_TEST ( FixedInt32Array  )

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

References v8::kExternalInt32Array.

THREADED_TEST ( FixedFloat32Array  )

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

References v8::kExternalFloat32Array.

THREADED_TEST ( FixedFloat64Array  )

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

References v8::kExternalFloat64Array.

THREADED_TEST ( ExternalInt8Array  )

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

References v8::kExternalInt8Array.

THREADED_TEST ( ExternalUint8Array  )

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

References v8::kExternalUint8Array.

THREADED_TEST ( ExternalUint8ClampedArray  )

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

References v8::kExternalUint8ClampedArray.

THREADED_TEST ( ExternalInt16Array  )

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

References v8::kExternalInt16Array.

THREADED_TEST ( ExternalUint16Array  )

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

References v8::kExternalUint16Array.

THREADED_TEST ( ExternalInt32Array  )

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

References v8::kExternalInt32Array.

THREADED_TEST ( ExternalUint32Array  )

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

References v8::kExternalUint32Array.

THREADED_TEST ( ExternalFloat32Array  )

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

References v8::kExternalFloat32Array.

THREADED_TEST ( ExternalFloat64Array  )

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

References v8::kExternalFloat64Array.

THREADED_TEST ( ExternalArrays  )

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

THREADED_TEST ( Uint8Array  )

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

References v8::kExternalUint8Array.

THREADED_TEST ( Int8Array  )

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

References v8::kExternalInt8Array.

THREADED_TEST ( Uint16Array  )

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

References v8::kExternalUint16Array, and TypedArrayTestHelper().

THREADED_TEST ( Int16Array  )

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

References v8::kExternalInt16Array.

THREADED_TEST ( Uint32Array  )

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

References v8::kExternalUint32Array.

THREADED_TEST ( Int32Array  )

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

References v8::kExternalInt32Array.

THREADED_TEST ( Float32Array  )

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

References v8::kExternalFloat32Array.

THREADED_TEST ( Float64Array  )

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

References v8::kExternalFloat64Array.

THREADED_TEST ( Uint8ClampedArray  )

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

References v8::kExternalUint8ClampedArray, and TypedArrayTestHelper().

THREADED_TEST ( DataView  )
THREADED_TEST ( StackTrace  )
THREADED_TEST ( GetHeapStatistics  )

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

References CHECK_EQ, CHECK_NE, Isolate::GetHeapStatistics(), and Context::GetIsolate().

THREADED_TEST ( QuietSignalingNaNs  )
THREADED_TEST ( SpaghettiStackReThrow  )
THREADED_TEST ( FunctionGetInferredName  )
THREADED_TEST ( FunctionIsBuiltin  )

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

References Local< T >::Cast(), CHECK, Context::GetIsolate(), and Function::IsBuiltin().

THREADED_TEST ( InterceptorOnConstructorPrototype  )
THREADED_TEST ( AddToJSFunctionResultCache  )
THREADED_TEST ( FillJSFunctionResultCache  )
THREADED_TEST ( RoundRobinGetFromCache  )
THREADED_TEST ( ReverseGetFromCache  )
THREADED_TEST ( TestEviction  )
THREADED_TEST ( Equals  )
THREADED_TEST ( CreationContext  )

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

References CHECK, CcTest::isolate(), and FunctionTemplate::New().

THREADED_TEST ( CreationContextOfJsFunction  )

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

References CHECK, CcTest::isolate(), and v8::internal::Object.

THREADED_TEST ( CallAPIFunctionOnNonObject  )

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

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

THREADED_TEST ( ReadOnlyIndexedProperties  )

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

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

THREADED_TEST ( Regress93759  )
THREADED_TEST ( Regress125988  )
THREADED_TEST ( ForeignFunctionReceiver  )
THREADED_TEST ( InstanceCheckOnInstanceAccessor  )
THREADED_TEST ( InstanceCheckOnInstanceAccessorWithInterceptor  )
THREADED_TEST ( InstanceCheckOnPrototypeAccessor  )
THREADED_TEST ( Regress137002a  )

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

References CcTest::isolate().

THREADED_TEST ( Regress137002b  )

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

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

THREADED_TEST ( Regress142088  )

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

References Context::GetIsolate(), and Context::Global().

THREADED_TEST ( Regress137496  )

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

References CHECK, and Context::GetIsolate().

THREADED_TEST ( Regress149912  )
THREADED_TEST ( Regress157124  )

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

References Object::GetIdentityHash(), and Context::GetIsolate().

THREADED_TEST ( Regress2535  )

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

References Local< Object >::Cast(), CHECK_EQ, and Context::GetIsolate().

THREADED_TEST ( Regress2746  )

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

References CHECK, Context::GetIsolate(), and v8::Undefined().

THREADED_TEST ( Regress260106  )

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

References CHECK, and Context::GetIsolate().

THREADED_TEST ( JSONParseObject  )

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

References Context::GetIsolate(), Context::Global(), and JSON::Parse().

THREADED_TEST ( JSONParseNumber  )

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

References Context::GetIsolate(), Context::Global(), and JSON::Parse().

THREADED_TEST ( Regress256330  )
THREADED_TEST ( CrankshaftInterceptorSetter  )
THREADED_TEST ( CrankshaftInterceptorGetter  )
THREADED_TEST ( CrankshaftInterceptorFieldRead  )
THREADED_TEST ( CrankshaftInterceptorFieldWrite  )
void ThrowFromC ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

References ApiTestFuzzer::Fuzz(), and FunctionCallbackInfo< T >::GetIsolate().

Referenced by TEST(), and THREADED_TEST().

void ThrowingDirectApiCallback ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

References FunctionCallbackInfo< T >::GetIsolate().

Referenced by THREADED_TEST().

void ThrowingDirectGetterCallback ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

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

References PropertyCallbackInfo< T >::GetIsolate().

Referenced by THREADED_TEST().

void TryCatchMixedNestingCheck ( v8::TryCatch try_catch)

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

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

Referenced by TEST(), and TryCatchMixedNestingHelper().

void TryCatchMixedNestingHelper ( const v8::FunctionCallbackInfo< v8::Value > &  args)
void TypedArrayTestHelper ( v8::ExternalArrayType  array_type,
int64_t  low,
int64_t  high 
)
void UnboxedDoubleIndexedPropertyEnumerator ( const v8::PropertyCallbackInfo< v8::Array > &  info)

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

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by THREADED_TEST().

UNINITIALIZED_TEST ( DisposeIsolateWhenInUse  )
void UnreachableCallback ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

References CHECK.

Referenced by TEST().

void WithTryCatch ( const v8::FunctionCallbackInfo< v8::Value > &  args)

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

Referenced by THREADED_TEST().

Variable Documentation

bool access_check_fail_thrown = false

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

v8::Handle<Function> args_fun

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

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

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

Referenced by CharacterRange::AddCaseEquivalents().

v8::Handle<Value> call_ic_function

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

v8::Handle<Value> call_ic_function2

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

v8::Handle<Value> call_ic_function3

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

v8::Handle<Script> call_recursively_script

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

uint8_t callback_fired = 0

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

bool catch_callback_called = false

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

int echo_indexed_call_count = 0

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

int echo_named_call_count

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

int epilogue_call_count = 0

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

Referenced by EpilogueCallback().

int epilogue_call_count_alloc = 0

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

Referenced by EpilogueCallbackAlloc().

int epilogue_call_count_second = 0

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

Referenced by EpilogueCallbackSecond().

v8::Isolate* gc_callbacks_isolate = NULL

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

v8::Handle<Value> keyed_call_ic_function

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

bool message_received

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

int p_getter_count

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

int p_getter_count2

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

bool pass_on_get = false

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

int prologue_call_count = 0

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

Referenced by PrologueCallback().

int prologue_call_count_alloc = 0

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

Referenced by PrologueCallbackAlloc().

int prologue_call_count_second = 0

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

Referenced by PrologueCallbackSecond().

struct RegExpInterruptionData regexp_interruption_data
v8::Persistent<v8::Object> some_object

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

Referenced by NewPersistentHandleCallback().

v8::Persistent<v8::Object> to_be_disposed

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

v8::Persistent<Value> xValue

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