v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#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"
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::Object > | bottom |
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::Object > | some_object |
v8::Persistent< v8::Object > | bad_handle |
v8::Persistent< v8::Object > | to_be_disposed |
struct RegExpInterruptionData | regexp_interruption_data |
bool | pass_on_get = false |
v8::Isolate * | gc_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 |
#define IS_ARRAY_BUFFER_VIEW_TEST | ( | View | ) |
Definition at line 16982 of file test-api.cc.
#define THREADED_PROFILED_TEST | ( | Name | ) |
Definition at line 81 of file test-api.cc.
typedef void(* NamedPropertyGetter)(Local< String > property, const v8::PropertyCallbackInfo< v8::Value > &info) |
Definition at line 11131 of file test-api.cc.
enum ReturnValueOddball |
Enumerator | |
---|---|
kNullReturnValue | |
kUndefinedReturnValue | |
kEmptyStringReturnValue |
Definition at line 1146 of file test-api.cc.
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 | ) |
Definition at line 17419 of file test-api.cc.
References CHECK_EQ, StackTrace::CurrentStackTrace(), FunctionCallbackInfo< T >::GetIsolate(), and StackTrace::kScriptId.
Referenced by TEST().
void AnalyzeStackInNativeCode | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 17073 of file test-api.cc.
References StackTrace::AsArray(), ASSERT, CHECK, CHECK_EQ, checkStackFrame(), StackTrace::CurrentStackTrace(), StackTrace::GetFrame(), StackTrace::GetFrameCount(), FunctionCallbackInfo< T >::GetIsolate(), StackTrace::kDetailed, StackTrace::kOverview, FunctionCallbackInfo< T >::Length(), and NULL.
Referenced by TEST().
void AnalyzeStackOfDynamicScriptWithSourceURL | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 17500 of file test-api.cc.
References CHECK, CHECK_EQ, StackTrace::CurrentStackTrace(), FunctionCallbackInfo< T >::GetIsolate(), Handle< T >::IsEmpty(), and StackTrace::kDetailed.
Referenced by TEST().
void AnalyzeStackOfEvalWithSourceURL | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 17371 of file test-api.cc.
References CHECK, CHECK_EQ, StackTrace::CurrentStackTrace(), FunctionCallbackInfo< T >::GetIsolate(), Handle< T >::IsEmpty(), and StackTrace::kDetailed.
Referenced by TEST().
void AnalyzeStackOfInlineScriptWithSourceURL | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 17454 of file test-api.cc.
References CHECK, CHECK_EQ, StackTrace::CurrentStackTrace(), FunctionCallbackInfo< T >::GetIsolate(), Handle< T >::IsEmpty(), and StackTrace::kDetailed.
Referenced by TEST().
void CallCompletedCallback1 | ( | ) |
void CallCompletedCallback2 | ( | ) |
void CallCompletedCallbackException | ( | ) |
void CallCompletedCallbackNoException | ( | ) |
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 CCatcher | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 4753 of file test-api.cc.
References CHECK, FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), and FunctionCallbackInfo< T >::Length().
Referenced by TEST().
void CheckCodeGenerationAllowed | ( | ) |
void CheckCodeGenerationDisallowed | ( | ) |
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 | ||
) |
Definition at line 17052 of file test-api.cc.
References CHECK, CHECK_EQ, StackFrame::GetColumn(), StackFrame::GetFunctionName(), StackFrame::GetLineNumber(), StackFrame::GetScriptName(), StackFrame::IsConstructor(), StackFrame::IsEval(), CcTest::isolate(), and NULL.
Referenced by AnalyzeStackInNativeCode().
void CheckThisIndexedPropertyDeleter | ( | uint32_t | index, |
const v8::PropertyCallbackInfo< v8::Boolean > & | info | ||
) |
Definition at line 2335 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisIndexedPropertyEnumerator | ( | const v8::PropertyCallbackInfo< v8::Array > & | info | ) |
Definition at line 2353 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisIndexedPropertyQuery | ( | uint32_t | index, |
const v8::PropertyCallbackInfo< v8::Integer > & | info | ||
) |
Definition at line 2317 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisIndexedPropertySetter | ( | uint32_t | index, |
Local< Value > | value, | ||
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 2298 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisNamedPropertyDeleter | ( | Local< String > | property, |
const v8::PropertyCallbackInfo< v8::Boolean > & | info | ||
) |
Definition at line 2344 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisNamedPropertyEnumerator | ( | const v8::PropertyCallbackInfo< v8::Array > & | info | ) |
Definition at line 2361 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisNamedPropertyQuery | ( | Local< String > | property, |
const v8::PropertyCallbackInfo< v8::Integer > & | info | ||
) |
Definition at line 2326 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
void CheckThisNamedPropertySetter | ( | Local< String > | property, |
Local< Value > | value, | ||
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 2308 of file test-api.cc.
References CHECK, FUNCTION_ADDR, ApiTestFuzzer::Fuzz(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_PROFILED_TEST().
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 CThrowCountDown | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 5031 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), TryCatch::HasCaught(), CcTest::i_isolate(), and FunctionCallbackInfo< T >::Length().
Referenced by TEST().
void DirectApiCallback | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 11942 of file test-api.cc.
References Heap::CollectAllGarbage(), CcTest::heap(), and Heap::kAbortIncrementalMarkingMask.
Referenced by THREADED_TEST().
void DisposeAndForceGcCallback | ( | const v8::WeakCallbackData< v8::Object, v8::Persistent< v8::Object > > & | data | ) |
Definition at line 13543 of file test-api.cc.
References Heap::CollectAllGarbage(), CcTest::heap(), Heap::kNoGCFlags, and PersistentBase< T >::Reset().
Referenced by THREADED_TEST().
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 | ||
) |
Definition at line 18672 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), epilogue_call_count_alloc, CcTest::heap(), Heap::kAbortIncrementalMarkingMask, and v8::kNoGCCallbackFlags.
Referenced by TEST().
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 ExtArrayLimitsHelper | ( | v8::Isolate * | isolate, |
v8::ExternalArrayType | array_type, | ||
int | size | ||
) |
Definition at line 16833 of file test-api.cc.
References CHECK, CHECK_NE, Object::HasIndexedPropertiesInExternalArrayData(), Object::New(), NULL, V8::SetFatalErrorHandler(), Object::SetIndexedPropertiesToExternalArrayData(), and StoringErrorCallback().
Referenced by TEST().
void ExternalArrayInfoTestHelper | ( | v8::ExternalArrayType | array_type | ) |
Definition at line 16802 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetIndexedPropertiesExternalArrayData(), Object::GetIndexedPropertiesExternalArrayDataLength(), Object::GetIndexedPropertiesExternalArrayDataType(), Context::GetIsolate(), Object::HasIndexedPropertiesInExternalArrayData(), Object::New(), Object::SetIndexedPropertiesToExternalArrayData(), and size.
Referenced by THREADED_TEST().
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< Object > | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 1206 of file test-api.cc.
References FunctionCallbackInfo< T >::GetIsolate(), and 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 FastReturnValueCallback< void > | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 1189 of file test-api.cc.
References FunctionCallbackInfo< T >::GetReturnValue(), kEmptyStringReturnValue, kNullReturnValue, and kUndefinedReturnValue.
void FooGetInterceptor | ( | Local< String > | name, |
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 18430 of file test-api.cc.
References CHECK, PropertyCallbackInfo< T >::GetReturnValue(), PropertyCallbackInfo< T >::Holder(), Utils::OpenHandle(), and PropertyCallbackInfo< T >::This().
void FooSetInterceptor | ( | Local< String > | name, |
Local< Value > | value, | ||
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 18439 of file test-api.cc.
References CHECK, PropertyCallbackInfo< T >::GetReturnValue(), PropertyCallbackInfo< T >::Holder(), Utils::OpenHandle(), and PropertyCallbackInfo< T >::This().
void GetThisX | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 8748 of file test-api.cc.
References FunctionCallbackInfo< T >::GetIsolate(), and FunctionCallbackInfo< T >::GetReturnValue().
Referenced by TEST().
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 HandleF | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 4394 of file test-api.cc.
References ApiTestFuzzer::Fuzz(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), FunctionCallbackInfo< T >::Length(), and Array::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 | ||
) |
Definition at line 1940 of file test-api.cc.
References PropertyCallbackInfo< T >::GetReturnValue(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_TEST().
void InterceptorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 1954 of file test-api.cc.
References PropertyCallbackInfo< T >::GetReturnValue(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_TEST().
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 | ||
) |
Definition at line 18652 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), CcTest::heap(), Heap::kAbortIncrementalMarkingMask, v8::kNoGCCallbackFlags, and prologue_call_count_alloc.
Referenced by TEST().
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 RunBeforeGC | ( | v8::GCType | type, |
v8::GCCallbackFlags | flags | ||
) |
Definition at line 15175 of file test-api.cc.
References CcTest::isolate(), RegExpInterruptionData::loop_count, Local< T >::New(), regexp_interruption_data, RegExpInterruptionData::string, and RegExpInterruptionData::string_resource.
Referenced by TEST().
void RunWithProfiler | ( | void(*)() | test | ) |
Definition at line 89 of file test-api.cc.
References Isolate::GetCpuProfiler(), Context::GetIsolate(), String::NewFromUtf8(), and CpuProfiler::StartCpuProfiling().
void SimpleAccessorGetter | ( | Local< String > | name, |
const v8::PropertyCallbackInfo< v8::Value > & | info | ||
) |
Definition at line 1918 of file test-api.cc.
References PropertyCallbackInfo< T >::GetReturnValue(), and PropertyCallbackInfo< T >::This().
Referenced by THREADED_TEST().
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 | ) |
Definition at line 5974 of file test-api.cc.
References Local< Object >::Cast(), PropertyCallbackInfo< T >::GetReturnValue(), and Utils::ToLocal().
Referenced by THREADED_TEST().
void StoringErrorCallback | ( | const char * | location, |
const char * | message | ||
) |
Definition at line 7043 of file test-api.cc.
Referenced by ExtArrayLimitsHelper(), TEST(), and UNINITIALIZED_TEST().
void StoringEventLoggerCallback | ( | const char * | message, |
int | status | ||
) |
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 | ) |
Definition at line 635 of file test-api.cc.
References CHECK, Heap::CollectGarbage(), v8::internal::DeleteArray(), Context::GetIsolate(), CcTest::heap(), and v8::internal::NEW_SPACE.
TEST | ( | MakingExternalAsciiStringConditions | ) |
Definition at line 683 of file test-api.cc.
References CHECK, Heap::CollectGarbage(), v8::internal::DeleteArray(), Context::GetIsolate(), CcTest::heap(), and v8::internal::NEW_SPACE.
TEST | ( | MakingExternalUnalignedAsciiString | ) |
Definition at line 720 of file test-api.cc.
References CHECK, Heap::CollectAllGarbage(), Heap::CollectGarbage(), Context::GetIsolate(), CcTest::heap(), Heap::kNoGCFlags, Heap::kReduceMemoryFootprintMask, v8::internal::NEW_SPACE, NULL, and v8::internal::StrDup().
TEST | ( | ExternalStringWithDisposeHandling | ) |
Definition at line 862 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllAvailableGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), and v8::internal::StrDup().
TEST | ( | PersistentValueMap | ) |
Definition at line 3570 of file test-api.cc.
References v8::internal::Object.
TEST | ( | ApiObjectGroupsCycleForScavenger | ) |
Definition at line 3975 of file test-api.cc.
References CHECK_EQ, Heap::CollectGarbage(), Context::GetIsolate(), WeakCallCounterAndPersistent< T >::handle, Local< Object >::New(), v8::internal::NEW_SPACE, WeakCallCounter::NumberOfWeakCalls(), v8::internal::Object, and Isolate::SetObjectGroupId().
TEST | ( | TryCatchCustomException | ) |
Definition at line 4093 of file test-api.cc.
References CHECK, and Context::GetIsolate().
TEST | ( | MessageHandler1 | ) |
Definition at line 4140 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CcTest::isolate(), and V8::RemoveMessageListeners().
TEST | ( | MessageHandler2 | ) |
Definition at line 4165 of file test-api.cc.
References V8::AddMessageListener(), Object::Cast(), CHECK, Exception::Error(), Context::Global(), CcTest::isolate(), V8::RemoveMessageListeners(), and Object::SetHiddenValue().
TEST | ( | MessageHandler3 | ) |
Definition at line 4190 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CcTest::isolate(), Integer::New(), V8::RemoveMessageListeners(), Script::Run(), and v8::True().
TEST | ( | MessageHandler4 | ) |
Definition at line 4219 of file test-api.cc.
References V8::AddMessageListener(), CHECK, v8::False(), CcTest::isolate(), Integer::New(), V8::RemoveMessageListeners(), and Script::Run().
TEST | ( | MessageHandler5 | ) |
Definition at line 4256 of file test-api.cc.
References V8::AddMessageListener(), CHECK, v8::False(), CcTest::isolate(), Integer::New(), V8::RemoveMessageListeners(), Script::Run(), and v8::True().
TEST | ( | TryCatchInTryFinally | ) |
Definition at line 4805 of file test-api.cc.
References CCatcher(), CHECK, CcTest::isolate(), and FunctionTemplate::New().
TEST | ( | APIThrowMessageOverwrittenToString | ) |
Definition at line 4840 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Value::Equals(), Fail(), CcTest::isolate(), FunctionTemplate::New(), NULL, and V8::RemoveMessageListeners().
TEST | ( | CustomErrorToString | ) |
Definition at line 4887 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), and V8::RemoveMessageListeners().
TEST | ( | CustomErrorMessage | ) |
Definition at line 4914 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), and V8::RemoveMessageListeners().
TEST | ( | APIThrowMessage | ) |
Definition at line 4964 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CcTest::isolate(), FunctionTemplate::New(), V8::RemoveMessageListeners(), and ThrowFromC().
TEST | ( | APIThrowMessageAndVerboseTryCatch | ) |
Definition at line 4979 of file test-api.cc.
References V8::AddMessageListener(), CHECK, TryCatch::HasCaught(), CcTest::isolate(), FunctionTemplate::New(), V8::RemoveMessageListeners(), TryCatch::SetVerbose(), and ThrowFromC().
TEST | ( | APIStackOverflowAndVerboseTryCatch | ) |
Definition at line 4998 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Context::GetIsolate(), TryCatch::HasCaught(), V8::RemoveMessageListeners(), and TryCatch::SetVerbose().
TEST | ( | ExceptionOrder | ) |
Definition at line 5117 of file test-api.cc.
References CThrowCountDown(), Context::Global(), CcTest::isolate(), JSCheck(), and FunctionTemplate::New().
TEST | ( | TryCatchNested | ) |
Definition at line 5283 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), and V8::Initialize().
TEST | ( | TryCatchMixedNesting | ) |
Definition at line 5322 of file test-api.cc.
References V8::Initialize(), CcTest::isolate(), FunctionTemplate::New(), TryCatchMixedNestingCheck(), and TryCatchMixedNestingHelper().
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 | ) |
Definition at line 6686 of file test-api.cc.
References CHECK_EQ, CcTest::isolate(), Integer::New(), v8::RegisterExtension(), OS::SNPrintF(), and Vector< T >::start().
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 | ) |
Definition at line 6797 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), CcTest::isolate(), and v8::RegisterExtension().
TEST | ( | ExceptionExtensions | ) |
Definition at line 6815 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), CcTest::isolate(), and v8::RegisterExtension().
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 | ) |
Definition at line 6888 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), CcTest::isolate(), and v8::RegisterExtension().
TEST | ( | NativeFunctionDeclarationErrorEscape | ) |
Definition at line 6902 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), CcTest::isolate(), and v8::RegisterExtension().
TEST | ( | ErrorReporting | ) |
Definition at line 7054 of file test-api.cc.
References CHECK, CHECK_NE, Handle< T >::IsEmpty(), CcTest::isolate(), NULL, v8::RegisterExtension(), V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | ApiUncaughtException | ) |
Definition at line 8252 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CHECK_EQ, Object::Get(), Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), NULL, V8::RemoveMessageListeners(), and Object::Set().
TEST | ( | ExceptionInNativeScript | ) |
Definition at line 8296 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Object::Get(), Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), NULL, V8::RemoveMessageListeners(), and Object::Set().
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 | ( | SecurityHandler | ) |
Definition at line 8353 of file test-api.cc.
References CHECK_EQ, Context::Enter(), Context::Exit(), Object::Get(), Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::New(), NULL, Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
TEST | ( | ContextDetachGlobal | ) |
Definition at line 8619 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Enter(), Context::Exit(), foo, Context::GetIsolate(), Context::Global(), Integer::New(), NULL, and Context::SetSecurityToken().
TEST | ( | DetachGlobal | ) |
Definition at line 8680 of file test-api.cc.
References CHECK, CHECK_EQ, foo, Context::GetIsolate(), Context::Global(), Integer::New(), and Context::SetSecurityToken().
TEST | ( | DetachedAccesses | ) |
Definition at line 8754 of file test-api.cc.
References CHECK, CHECK_EQ, foo, Context::GetIsolate(), GetThisX(), Context::Global(), NULL, and Context::SetSecurityToken().
TEST | ( | AccessControl | ) |
Definition at line 8940 of file test-api.cc.
References v8::ACCESS_GET, v8::ACCESS_HAS, v8::ACCESS_SET, v8::ALL_CAN_READ, v8::ALL_CAN_WRITE, CHECK, CHECK_EQ, v8::DEFAULT, Object::Get(), Value::Int32Value(), Value::IsNumber(), CcTest::isolate(), FunctionTemplate::New(), ObjectTemplate::New(), v8::None, NULL, Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), ObjectTemplate::SetAccessor(), and Template::SetAccessorProperty().
TEST | ( | AccessControlES5 | ) |
Definition at line 9220 of file test-api.cc.
References v8::ALL_CAN_READ, v8::ALL_CAN_WRITE, CHECK, CHECK_EQ, v8::DEFAULT, CcTest::isolate(), Value::IsTrue(), ObjectTemplate::New(), NULL, Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), and ObjectTemplate::SetAccessor().
TEST | ( | AccessControlIC | ) |
Definition at line 9481 of file test-api.cc.
References Value::BooleanValue(), CHECK, CHECK_EQ, Value::Int32Value(), Value::IsNumber(), CcTest::isolate(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
TEST | ( | Threading1 | ) |
Definition at line 13215 of file test-api.cc.
References ApiTestFuzzer::FIRST_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading2 | ) |
Definition at line 13222 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SECOND_PART, ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading3 | ) |
Definition at line 13229 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), ApiTestFuzzer::TearDown(), and ApiTestFuzzer::THIRD_PART.
TEST | ( | Threading4 | ) |
Definition at line 13236 of file test-api.cc.
References ApiTestFuzzer::FOURTH_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | NestedLockers | ) |
Definition at line 13294 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Locker::IsLocked(), CcTest::isolate(), and FunctionTemplate::New().
TEST | ( | NestedLockersNoTryCatch | ) |
Definition at line 13318 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), CcTest::isolate(), and FunctionTemplate::New().
TEST | ( | DontLeakGlobalObjects | ) |
Definition at line 13411 of file test-api.cc.
References V8::ContextDisposedNotification(), V8::Initialize(), and CcTest::isolate().
TEST | ( | CopyablePersistent | ) |
Definition at line 13450 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), GlobalHandles::global_handles_count(), and Object::New().
TEST | ( | WeakCallbackApi | ) |
Definition at line 13487 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), GlobalHandles::global_handles_count(), v8::internal::handle(), Heap::kNoGCFlags, Integer::New(), Object::New(), obj, v8::internal::Object, Object::Set(), and PersistentBase< T >::SetWeak().
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 | ( | PreCompile | ) |
Definition at line 14772 of file test-api.cc.
References CHECK, CHECK_NE, ScriptData::Data(), ScriptData::HasError(), V8::Initialize(), CcTest::isolate(), String::kNormalString, ScriptData::Length(), String::NewFromUtf8(), NULL, ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileWithError | ) |
Definition at line 14788 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), CcTest::isolate(), String::kNormalString, String::NewFromUtf8(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | Regress31661 | ) |
Definition at line 14800 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), CcTest::isolate(), String::kNormalString, String::NewFromUtf8(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileSerialization | ) |
Definition at line 14813 of file test-api.cc.
References CHECK_EQ, ScriptData::Data(), v8::internal::DeleteArray(), ScriptData::HasError(), V8::Initialize(), CcTest::isolate(), String::kNormalString, ScriptData::Length(), OS::MemCopy(), ScriptData::New(), String::NewFromUtf8(), ScriptData::PreCompile(), v8::internal::serialized_data, and v8::internal::StrLength().
TEST | ( | PreCompileDeserializationError | ) |
Definition at line 14842 of file test-api.cc.
References CHECK_EQ, V8::Initialize(), ScriptData::Length(), and ScriptData::New().
TEST | ( | PreCompileInvalidPreparseDataError | ) |
Definition at line 14855 of file test-api.cc.
References CHECK, CHECK_EQ, ScriptCompiler::CompileUnbound(), ScriptData::Data(), Context::GetIsolate(), TryCatch::HasCaught(), ScriptData::HasError(), V8::Initialize(), CcTest::isolate(), PreparseDataConstants::kHeaderSize, String::kNormalString, ScriptData::Length(), TryCatch::Message(), String::NewFromUtf8(), ScriptData::PreCompile(), TryCatch::Reset(), and v8::internal::StrLength().
TEST | ( | ObjectClone | ) |
Definition at line 14968 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Integer::New(), v8::internal::sample, and Object::Set().
TEST | ( | CompileExternalTwoByteSource | ) |
Definition at line 15121 of file test-api.cc.
References Script::Compile(), Context::GetIsolate(), String::NewExternal(), and NULL.
TEST | ( | RegExpInterruption | ) |
Definition at line 15188 of file test-api.cc.
References V8::AddGCPrologueCallback(), CHECK, v8::internal::DeleteArray(), CcTest::global(), TryCatch::HasTerminated(), CcTest::isolate(), Thread::Join(), regexp_interruption_data, PersistentBase< T >::Reset(), RunBeforeGC(), Thread::Start(), RegExpInterruptionData::string, RegExpInterruptionData::string_resource, and v8::internal::StrLength().
TEST | ( | ReadOnlyPropertyInGlobalProto | ) |
Definition at line 15221 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), v8::ReadOnly, and Object::Set().
TEST | ( | ForceSet | ) |
Definition at line 15271 of file test-api.cc.
References CHECK_EQ, Object::ForceSet(), Object::Get(), Context::Global(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), String::NewFromUtf8(), NULL, v8::ReadOnly, Object::Set(), and ObjectTemplate::SetAccessor().
TEST | ( | ForceSetWithInterceptor | ) |
Definition at line 15316 of file test-api.cc.
References CHECK, CHECK_EQ, Object::ForceSet(), Object::Get(), Context::Global(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), String::NewFromUtf8(), NULL, Object::Set(), and ObjectTemplate::SetNamedPropertyHandler().
TEST | ( | InlinedFunctionAcrossContexts | ) |
Definition at line 15457 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Enter(), Context::Exit(), foo, Context::Global(), CcTest::isolate(), Context::New(), and String::NewFromUtf8().
TEST | ( | ExternalArrayLimits | ) |
Definition at line 16846 of file test-api.cc.
References ExtArrayLimitsHelper(), Context::GetIsolate(), v8::kExternalFloat32Array, v8::kExternalFloat64Array, v8::kExternalInt16Array, v8::kExternalInt32Array, v8::kExternalInt8Array, v8::kExternalUint16Array, v8::kExternalUint32Array, v8::kExternalUint8Array, and v8::kExternalUint8ClampedArray.
TEST | ( | CaptureStackTrace | ) |
Definition at line 17127 of file test-api.cc.
References AnalyzeStackInNativeCode(), UnboundScript::BindToCurrentContext(), CHECK, ScriptCompiler::CompileUnbound(), Handle< T >::IsEmpty(), Value::IsObject(), CcTest::isolate(), Integer::New(), FunctionTemplate::New(), and String::NewFromUtf8().
TEST | ( | CaptureStackTraceForUncaughtException | ) |
Definition at line 17196 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Object::Get(), Context::GetIsolate(), Context::Global(), NULL, V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | CaptureStackTraceForUncaughtExceptionAndSetters | ) |
Definition at line 17220 of file test-api.cc.
References Context::GetIsolate(), StackTrace::kDetailed, and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowStackTrace | ) |
Definition at line 17256 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowPrimitiveStackTrace | ) |
Definition at line 17298 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowExistingStackTrace | ) |
Definition at line 17332 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowBogusErrorStackTrace | ) |
Definition at line 17357 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | SourceURLInStackTrace | ) |
Definition at line 17387 of file test-api.cc.
References AnalyzeStackOfEvalWithSourceURL(), CHECK, code(), CcTest::isolate(), FunctionTemplate::New(), OS::SNPrintF(), and Vector< T >::start().
TEST | ( | ScriptIdInStackTrace | ) |
Definition at line 17431 of file test-api.cc.
References AnalyzeScriptIdInStack(), CHECK, CHECK_EQ, Script::GetId(), CcTest::isolate(), Message::kNoScriptIdInfo, FunctionTemplate::New(), String::NewFromUtf8(), and Script::Run().
TEST | ( | InlineScriptWithSourceURLInStackTrace | ) |
Definition at line 17470 of file test-api.cc.
References AnalyzeStackOfInlineScriptWithSourceURL(), CHECK, code(), CcTest::isolate(), FunctionTemplate::New(), OS::SNPrintF(), and Vector< T >::start().
TEST | ( | DynamicWithSourceURLInStackTrace | ) |
Definition at line 17516 of file test-api.cc.
References AnalyzeStackOfDynamicScriptWithSourceURL(), CHECK, code(), CcTest::isolate(), FunctionTemplate::New(), OS::SNPrintF(), and Vector< T >::start().
TEST | ( | DynamicWithSourceURLInStackTraceString | ) |
Definition at line 17546 of file test-api.cc.
References CHECK, code(), Context::GetIsolate(), TryCatch::HasCaught(), NULL, OS::SNPrintF(), TryCatch::StackTrace(), and Vector< T >::start().
TEST | ( | IdleNotification | ) |
Definition at line 17580 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, Context::GetIsolate(), CcTest::heap(), V8::IdleNotification(), v8::MB, and Heap::SizeOfObjects().
TEST | ( | IdleNotificationWithSmallHint | ) |
Definition at line 17599 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, Context::GetIsolate(), CcTest::heap(), V8::IdleNotification(), v8::MB, and Heap::SizeOfObjects().
TEST | ( | IdleNotificationWithLargeHint | ) |
Definition at line 17619 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, Context::GetIsolate(), CcTest::heap(), V8::IdleNotification(), v8::MB, and Heap::SizeOfObjects().
TEST | ( | Regress2107 | ) |
Definition at line 17638 of file test-api.cc.
References CHECK_GT, CHECK_LT, V8::ContextDisposedNotification(), Context::GetIsolate(), CcTest::heap(), V8::IdleNotification(), v8::MB, Context::New(), and Heap::SizeOfObjects().
TEST | ( | Regress2333 | ) |
Definition at line 17673 of file test-api.cc.
References Heap::CollectGarbage(), CcTest::heap(), and v8::internal::NEW_SPACE.
TEST | ( | SetResourceConstraints | ) |
Definition at line 17707 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), CcTest::isolate(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | SetResourceConstraintsInThread | ) |
Definition at line 17728 of file test-api.cc.
References CHECK, Context::Global(), CcTest::isolate(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | ExternalizeOldSpaceTwoByteCons | ) |
Definition at line 17805 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllAvailableGarbage(), Context::GetIsolate(), CcTest::heap(), and Utils::OpenHandle().
TEST | ( | ExternalizeOldSpaceOneByteCons | ) |
Definition at line 17827 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllAvailableGarbage(), Context::GetIsolate(), CcTest::heap(), Utils::OpenHandle(), and v8::internal::StrDup().
TEST | ( | VisitExternalStrings | ) |
Definition at line 17849 of file test-api.cc.
References CHECK, Heap::CollectAllAvailableGarbage(), Context::GetIsolate(), CcTest::heap(), String::kInternalizedString, String::NewExternal(), String::NewFromUtf8(), NULL, Utils::OpenHandle(), and V8::VisitExternalResources().
TEST | ( | ExternalStringCollectedAtTearDown | ) |
Definition at line 17890 of file test-api.cc.
References CHECK_EQ, Isolate::Dispose(), Isolate::New(), String::NewExternal(), and v8::internal::StrDup().
TEST | ( | ExternalInternalizedStringCollectedAtTearDown | ) |
Definition at line 17910 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Dispose(), Isolate::New(), Utils::OpenHandle(), and v8::internal::StrDup().
TEST | ( | ExternalInternalizedStringCollectedAtGC | ) |
Definition at line 17934 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllAvailableGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Utils::OpenHandle(), and v8::internal::StrDup().
TEST | ( | Regress528 | ) |
Definition at line 18115 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, Heap::CollectAllGarbage(), V8::ContextDisposedNotification(), TryCatch::HasCaught(), CcTest::heap(), V8::Initialize(), CcTest::isolate(), Heap::kNoGCFlags, TryCatch::Message(), and String::NewFromUtf8().
TEST | ( | SetterOnConstructorPrototype | ) |
Definition at line 18450 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), CcTest::isolate(), and Script::Run().
TEST | ( | Regress618 | ) |
Definition at line 18538 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::GetIsolate(), Context::Global(), Object::New(), Script::Run(), and Object::Set().
TEST | ( | GCCallbacksOld | ) |
Definition at line 18692 of file test-api.cc.
References V8::AddGCEpilogueCallback(), V8::AddGCPrologueCallback(), CHECK_EQ, Heap::CollectAllGarbage(), EpilogueCallback(), EpilogueCallbackSecond(), CcTest::heap(), Heap::kNoGCFlags, PrologueCallback(), PrologueCallbackSecond(), V8::RemoveGCEpilogueCallback(), and V8::RemoveGCPrologueCallback().
TEST | ( | GCCallbacks | ) |
Definition at line 18726 of file test-api.cc.
References Isolate::AddGCEpilogueCallback(), Isolate::AddGCPrologueCallback(), CHECK_EQ, Heap::CollectAllGarbage(), EpilogueCallback(), EpilogueCallbackAlloc(), EpilogueCallbackSecond(), Context::GetIsolate(), CcTest::heap(), Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, PrologueCallback(), PrologueCallbackAlloc(), PrologueCallbackSecond(), Isolate::RemoveGCEpilogueCallback(), and Isolate::RemoveGCPrologueCallback().
TEST | ( | ContainsOnlyOneByte | ) |
Definition at line 18974 of file test-api.cc.
References ARRAY_SIZE, CHECK, CHECK_EQ, SmartPointerBase< ArrayDeallocator< T >, T >::get(), V8::Initialize(), CcTest::isolate(), NULL, shift, and size.
TEST | ( | GCInFailedAccessCheckCallback | ) |
Definition at line 19054 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), FailedAccessCheckCallbackGC(), Context::Global(), Object::HasRealIndexedProperty(), Object::HasRealNamedCallbackProperty(), Object::HasRealNamedProperty(), V8::Initialize(), Value::IsObject(), CcTest::isolate(), ObjectTemplate::New(), NULL, ObjectTemplate::SetAccessCheckCallbacks(), Object::SetAccessor(), and V8::SetFailedAccessCheckCallbackFunction().
TEST | ( | IsolateNewDispose | ) |
Definition at line 19134 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Dispose(), CcTest::isolate(), Isolate::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RunTwoIsolatesOnSingleThread | ) |
Definition at line 19169 of file test-api.cc.
References CHECK_EQ, Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), Isolate::GetCurrent(), CcTest::isolate(), Local< T >::New(), Isolate::New(), NULL, PersistentBase< T >::Reset(), V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | MultipleIsolatesOnIndividualThreads | ) |
Definition at line 19330 of file test-api.cc.
References CHECK_EQ, Isolate::Dispose(), CcTest::isolate(), Thread::Join(), Isolate::New(), IsolateThread::result(), and Thread::Start().
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 | ) |
Definition at line 19463 of file test-api.cc.
References InitDefaultIsolateThread::SetCreateHistogramFunction.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread5 | ) |
Definition at line 19468 of file test-api.cc.
References InitDefaultIsolateThread::SetAddHistogramSampleFunction.
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 | ) |
Definition at line 19542 of file test-api.cc.
References Heap::CollectAllGarbage(), Context::GetIsolate(), CcTest::heap(), and Heap::kNoGCFlags.
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 | ) |
Definition at line 19662 of file test-api.cc.
References CHECK_EQ, Visitor42::counter_, Context::GetIsolate(), Object::New(), and V8::VisitHandlesWithClassIds().
TEST | ( | WrapperClassId | ) |
Definition at line 19679 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), and Object::New().
TEST | ( | PersistentHandleInNewSpaceVisitor | ) |
Definition at line 19691 of file test-api.cc.
References CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), CcTest::heap(), Heap::kNoGCFlags, Object::New(), PersistentBase< T >::Reset(), PersistentBase< T >::SetWrapperClassId(), V8::VisitHandlesForPartialDependence(), and PersistentBase< T >::WrapperClassId().
TEST | ( | RegExp | ) |
Definition at line 19716 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Value::Int32Value(), RegExp::kGlobal, RegExp::kIgnoreCase, RegExp::kMultiline, RegExp::kNone, Integer::New(), and RegExp::New().
TEST | ( | NamedEnumeratorAndForIn | ) |
Definition at line 19818 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::GetIsolate(), Context::Global(), Array::Length(), LocalContext::local(), ObjectTemplate::New(), and NULL.
TEST | ( | DefinePropertyPostDetach | ) |
Definition at line 19834 of file test-api.cc.
References Handle< T >::As(), Function::Call(), Context::DetachGlobal(), Context::GetIsolate(), Context::Global(), and NULL.
TEST | ( | HasOwnProperty | ) |
Definition at line 20003 of file test-api.cc.
References CHECK, Context::GetIsolate(), HasOwnPropertyAccessorGetter(), HasOwnPropertyIndexedPropertyGetter(), HasOwnPropertyIndexedPropertyQuery(), HasOwnPropertyNamedPropertyGetter(), HasOwnPropertyNamedPropertyQuery(), and HasOwnPropertyNamedPropertyQuery2().
TEST | ( | IndexedInterceptorWithStringProto | ) |
Definition at line 20077 of file test-api.cc.
References CHECK, Context::Global(), HasOwnPropertyIndexedPropertyQuery(), CcTest::isolate(), and NULL.
TEST | ( | SetErrorMessageForCodeGenFromStrings | ) |
Definition at line 20170 of file test-api.cc.
References Context::AllowCodeGenerationFromStrings(), CHECK, CodeGenerationDisallowed(), Context::GetIsolate(), and Context::SetErrorMessageForCodeGenerationFromStrings().
TEST | ( | CallCompletedCallback | ) |
Definition at line 20522 of file test-api.cc.
References V8::AddCallCompletedCallback(), CallCompletedCallback1(), CallCompletedCallback2(), CHECK_EQ, Script::Compile(), Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), String::NewFromUtf8(), OS::Print(), RecursiveCall(), and V8::RemoveCallCompletedCallback().
TEST | ( | CallCompletedCallbackOneException | ) |
Definition at line 20567 of file test-api.cc.
References V8::AddCallCompletedCallback(), CallCompletedCallbackNoException(), and Context::GetIsolate().
TEST | ( | CallCompletedCallbackTwoExceptions | ) |
Definition at line 20575 of file test-api.cc.
References V8::AddCallCompletedCallback(), CallCompletedCallbackException(), and Context::GetIsolate().
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 | ( | StaticGetters | ) |
Definition at line 20779 of file test-api.cc.
References CHECK, Isolate::factory(), v8::False(), CcTest::i_isolate(), CcTest::isolate(), v8::Null(), Utils::OpenHandle(), v8::True(), and v8::Undefined().
TEST | ( | StringEmpty | ) |
Definition at line 20827 of file test-api.cc.
References CHECK, String::Empty(), Isolate::factory(), CcTest::i_isolate(), CcTest::isolate(), and Utils::OpenHandle().
TEST | ( | TryFinallyMessage | ) |
Definition at line 21010 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::GetIsolate().
TEST | ( | JSONStringifyAccessCheck | ) |
Definition at line 21378 of file test-api.cc.
References FunctionTemplate::GetFunction(), Context::Global(), V8::Initialize(), CcTest::isolate(), Array::New(), FunctionTemplate::New(), ObjectTemplate::New(), NULL, Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), Object::TurnOnAccessCheck(), and UnreachableCallback().
TEST | ( | AccessCheckThrows | ) |
Definition at line 21476 of file test-api.cc.
References CatcherCallback(), CHECK, CheckCorrectThrow(), FailedAccessCheckThrows(), FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), HasOwnPropertyCallback(), V8::Initialize(), CcTest::isolate(), FunctionTemplate::New(), ObjectTemplate::New(), NULL, ObjectTemplate::SetAccessCheckCallbacks(), and V8::SetFailedAccessCheckCallbackFunction().
TEST | ( | RequestInterruptTestWithFunctionCall | ) |
Definition at line 21871 of file test-api.cc.
References RequestInterruptTestBase::RunTest().
TEST | ( | RequestInterruptTestWithMethodCall | ) |
Definition at line 21876 of file test-api.cc.
References RequestInterruptTestBase::RunTest().
TEST | ( | RequestInterruptTestWithAccessor | ) |
Definition at line 21881 of file test-api.cc.
References RequestInterruptTestBase::RunTest().
Definition at line 21886 of file test-api.cc.
References RequestInterruptTestBase::RunTest().
Definition at line 21891 of file test-api.cc.
References RequestInterruptTestBase::RunTest().
TEST | ( | RequestInterruptTestWithMathAbs | ) |
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 | ( | EventLogging | ) |
Definition at line 22177 of file test-api.cc.
References CHECK_EQ, CcTest::isolate(), Isolate::SetEventLogger(), HistogramTimer::Start(), HistogramTimer::Stop(), and StoringEventLoggerCallback().
TEST | ( | Promises | ) |
Definition at line 22193 of file test-api.cc.
References CHECK, CHECK_EQ, v8::internal::f1, v8::internal::f2, Context::GetIsolate(), Context::Global(), Integer::New(), Object::New(), and Promise::Resolver::New().
TEST | ( | DisallowJavascriptExecutionScope | ) |
Definition at line 22287 of file test-api.cc.
References Isolate::DisallowJavascriptExecutionScope::CRASH_ON_FAILURE, and Context::GetIsolate().
TEST | ( | AllowJavascriptExecutionScope | ) |
Definition at line 22297 of file test-api.cc.
References Isolate::DisallowJavascriptExecutionScope::CRASH_ON_FAILURE, Context::GetIsolate(), and Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE.
TEST | ( | ThrowOnJavascriptExecution | ) |
Definition at line 22311 of file test-api.cc.
References CHECK, Context::GetIsolate(), TryCatch::HasCaught(), and Isolate::DisallowJavascriptExecutionScope::THROW_ON_FAILURE.
TEST | ( | Regress354123 | ) |
Definition at line 22323 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetAccessCheckCallbacks().
Handle<Value> TestFastReturnValues | ( | ) |
Definition at line 1216 of file test-api.cc.
References EscapableHandleScope::Escape(), Context::GetIsolate(), FunctionTemplate::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and Template::Set().
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 | ( | FastReturnValues | ) |
Definition at line 1231 of file test-api.cc.
References ARRAY_SIZE, String::Cast(), CHECK, CHECK_EQ, Value::Int32Value(), Value::IsBoolean(), Value::IsInt32(), Value::IsNull(), Value::IsNumber(), Value::IsObject(), CcTest::isolate(), Value::IsString(), Value::IsUint32(), Value::IsUndefined(), kEmptyStringReturnValue, Smi::kMaxValue, Smi::kMinValue, kNullReturnValue, kUndefinedReturnValue, String::Length(), Value::ToBoolean(), Value::ToNumber(), and Value::Uint32Value().
THREADED_PROFILED_TEST | ( | PropertyHandlerInPrototype | ) |
Definition at line 2369 of file test-api.cc.
References CheckThisIndexedPropertyDeleter(), CheckThisIndexedPropertyEnumerator(), CheckThisIndexedPropertyQuery(), CheckThisIndexedPropertySetter(), CheckThisNamedPropertyDeleter(), CheckThisNamedPropertyEnumerator(), CheckThisNamedPropertyQuery(), CheckThisNamedPropertySetter(), FunctionTemplate::GetFunction(), Context::GetIsolate(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), and Object::SetPrototype().
THREADED_PROFILED_TEST | ( | LoadICFastApi_DirectCall_GCMoveStub | ) |
Definition at line 12040 of file test-api.cc.
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_TrivialSignature | ) |
Definition at line 12069 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_SimpleSignature | ) |
Definition at line 12100 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), FunctionTemplate::SetHiddenPrototype(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss1 | ) |
Definition at line 12133 of file test-api.cc.
References CHECK_EQ, CHECK_GE, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), FunctionTemplate::SetHiddenPrototype(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss2 | ) |
Definition at line 12172 of file test-api.cc.
References CHECK_EQ, CHECK_GE, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), FunctionTemplate::SetHiddenPrototype(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss3 | ) |
Definition at line 12211 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, TryCatch::Exception(), FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), FunctionTemplate::SetHiddenPrototype(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_TypeError | ) |
Definition at line 12254 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, TryCatch::Exception(), FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), External::New(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), FunctionTemplate::SetHiddenPrototype(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_PROFILED_TEST | ( | CallICFastApi_TrivialSignature | ) |
Definition at line 12296 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), and Template::Set().
THREADED_PROFILED_TEST | ( | CallICFastApi_SimpleSignature | ) |
Definition at line 12324 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), Template::Set(), and FunctionTemplate::SetHiddenPrototype().
THREADED_PROFILED_TEST | ( | CallICFastApi_SimpleSignature_Miss1 | ) |
Definition at line 12354 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), Template::Set(), and FunctionTemplate::SetHiddenPrototype().
THREADED_PROFILED_TEST | ( | CallICFastApi_SimpleSignature_Miss2 | ) |
Definition at line 12389 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), FunctionTemplate::GetFunction(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), Template::Set(), and FunctionTemplate::SetHiddenPrototype().
THREADED_PROFILED_TEST | ( | CallICFastApi_SimpleSignature_TypeError | ) |
Definition at line 12428 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), FunctionTemplate::GetFunction(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), Template::Set(), and FunctionTemplate::SetHiddenPrototype().
THREADED_TEST | ( | Handles | ) |
Definition at line 192 of file test-api.cc.
References CHECK, CHECK_EQ, Handle< T >::IsEmpty(), CcTest::isolate(), Value::IsUndefined(), LocalContext::local(), and v8::Undefined().
THREADED_TEST | ( | IsolateOfContext | ) |
Definition at line 216 of file test-api.cc.
References CHECK, Context::Enter(), Context::Exit(), Context::GetIsolate(), Isolate::InContext(), and CcTest::isolate().
THREADED_TEST | ( | ReceiverSignature | ) |
Definition at line 253 of file test-api.cc.
References ARRAY_SIZE, FunctionTemplate::GetFunction(), Context::GetIsolate(), Context::Global(), FunctionTemplate::Inherit(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), FunctionTemplate::PrototypeTemplate(), Template::Set(), Template::SetAccessorProperty(), OS::SNPrintF(), and Vector< T >::start().
THREADED_TEST | ( | ArgumentSignature | ) |
Definition at line 328 of file test-api.cc.
References CHECK, FunctionTemplate::GetFunction(), Context::GetIsolate(), Context::Global(), Value::IsTrue(), FunctionTemplate::New(), Signature::New(), and FunctionTemplate::SetClassName().
THREADED_TEST | ( | HulIgennem | ) |
Definition at line 397 of file test-api.cc.
References CHECK_EQ, v8::internal::DeleteArray(), Context::GetIsolate(), Value::ToString(), and v8::Undefined().
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 | ( | ScriptUsingStringResource | ) |
Definition at line 519 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllAvailableGarbage(), Heap::CollectAllGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), and Heap::kNoGCFlags.
THREADED_TEST | ( | ScriptUsingAsciiStringResource | ) |
Definition at line 548 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllAvailableGarbage(), Heap::CollectAllGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Heap::kNoGCFlags, and v8::internal::StrDup().
THREADED_TEST | ( | ScriptMakingExternalString | ) |
Definition at line 577 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllGarbage(), Heap::CollectGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and NULL.
THREADED_TEST | ( | ScriptMakingExternalAsciiString | ) |
Definition at line 609 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllGarbage(), Heap::CollectGarbage(), Isolate::compilation_cache(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and v8::internal::StrDup().
THREADED_TEST | ( | UsingExternalString | ) |
Definition at line 754 of file test-api.cc.
References CHECK, Heap::CollectAllGarbage(), Heap::CollectGarbage(), Isolate::factory(), CcTest::heap(), CcTest::i_isolate(), Factory::InternalizeString(), CcTest::isolate(), Heap::kNoGCFlags, v8::internal::NEW_SPACE, and Utils::OpenHandle().
THREADED_TEST | ( | UsingExternalAsciiString | ) |
Definition at line 774 of file test-api.cc.
References CHECK, Heap::CollectAllGarbage(), Heap::CollectGarbage(), Isolate::factory(), CcTest::heap(), CcTest::i_isolate(), Factory::InternalizeString(), CcTest::isolate(), Heap::kNoGCFlags, v8::internal::NEW_SPACE, Utils::OpenHandle(), and v8::internal::StrDup().
THREADED_TEST | ( | ScavengeExternalString | ) |
Definition at line 794 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectGarbage(), CcTest::heap(), Heap::InNewSpace(), CcTest::isolate(), v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, and Utils::OpenHandle().
THREADED_TEST | ( | ScavengeExternalAsciiString | ) |
Definition at line 816 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectGarbage(), CcTest::heap(), Heap::InNewSpace(), CcTest::isolate(), v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, Utils::OpenHandle(), and v8::internal::StrDup().
THREADED_TEST | ( | StringConcat | ) |
Definition at line 908 of file test-api.cc.
References CHECK, CHECK_EQ, CompilationCache::Clear(), Heap::CollectAllGarbage(), Isolate::compilation_cache(), v8::internal::DeleteArray(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Heap::kNoGCFlags, and v8::internal::StrDup().
THREADED_TEST | ( | GlobalProperties | ) |
Definition at line 957 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), and Context::Global().
THREADED_TEST | ( | FunctionTemplateSetLength | ) |
Definition at line 1298 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), and FunctionTemplate::New().
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 | ) |
Definition at line 1472 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Smi::IsValid(), Smi::kMaxValue, and Integer::New().
THREADED_TEST | ( | BigInteger | ) |
Definition at line 1492 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Smi::IsValid(), Smi::kMaxValue, and Integer::New().
THREADED_TEST | ( | TinyUnsignedInteger | ) |
Definition at line 1515 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedSmiInteger | ) |
Definition at line 1530 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedInteger | ) |
Definition at line 1547 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | OutOfSignedRangeUnsignedInteger | ) |
Definition at line 1564 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Integer::NewFromUnsigned(), and v8::internal::U.
THREADED_TEST | ( | IsNativeError | ) |
Definition at line 1581 of file test-api.cc.
References CHECK, and Context::GetIsolate().
THREADED_TEST | ( | StringObject | ) |
Definition at line 1594 of file test-api.cc.
References Handle< T >::As(), CHECK, Context::GetIsolate(), Value::IsStringObject(), StringObject::New(), and StringObject::ValueOf().
THREADED_TEST | ( | NumberObject | ) |
Definition at line 1619 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Context::GetIsolate(), Value::IsNumberObject(), NumberObject::New(), and NumberObject::ValueOf().
THREADED_TEST | ( | BooleanObject | ) |
Definition at line 1641 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Context::GetIsolate(), Value::IsBooleanObject(), and BooleanObject::New().
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 | ) |
Definition at line 1752 of file test-api.cc.
References CHECK, v8::False(), Context::GetIsolate(), Number::New(), v8::Null(), v8::True(), v8::Undefined(), and Boolean::Value().
THREADED_TEST | ( | GlobalPrototype | ) |
Definition at line 1789 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), and FunctionTemplate::PrototypeTemplate().
THREADED_TEST | ( | ObjectTemplate | ) |
Definition at line 1808 of file test-api.cc.
References CHECK, Context::Global(), CcTest::isolate(), and FunctionTemplate::New().
THREADED_TEST | ( | DescriptorInheritance | ) |
Definition at line 1846 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::Inherit(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), FunctionTemplate::New(), and FunctionTemplate::PrototypeTemplate().
THREADED_TEST | ( | EmptyInterceptorDoesNotShadowAccessors | ) |
Definition at line 1989 of file test-api.cc.
References AddAccessor(), AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), CcTest::isolate(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | EmptyInterceptorBreakTransitions | ) |
Definition at line 2007 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), and CcTest::isolate().
THREADED_TEST | ( | EmptyInterceptorDoesNotShadowJSAccessors | ) |
Definition at line 2022 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), and CcTest::isolate().
THREADED_TEST | ( | EmptyInterceptorDoesNotAffectJSProperties | ) |
Definition at line 2044 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), and CcTest::isolate().
THREADED_TEST | ( | SwitchFromInterceptorToAccessor | ) |
Definition at line 2065 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), CcTest::isolate(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptor | ) |
Definition at line 2083 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), CcTest::isolate(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToAccessorWithInheritance | ) |
Definition at line 2101 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), CcTest::isolate(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptorWithInheritance | ) |
Definition at line 2121 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), CcTest::isolate(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToJSAccessor | ) |
Definition at line 2141 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | SwitchFromJSAccessorToInterceptor | ) |
Definition at line 2166 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | SwitchFromInterceptorToProperty | ) |
Definition at line 2191 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | SwitchFromPropertyToInterceptor | ) |
Definition at line 2209 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | NamedPropertyHandlerGetter | ) |
Definition at line 2227 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), and FunctionTemplate::New().
THREADED_TEST | ( | IndexedPropertyHandlerGetter | ) |
Definition at line 2265 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), and FunctionTemplate::New().
THREADED_TEST | ( | PrePropertyHandler | ) |
Definition at line 2438 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::InstanceTemplate(), Handle< T >::IsEmpty(), CcTest::isolate(), FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | UndefinedIsNotEnumerable | ) |
Definition at line 2456 of file test-api.cc.
References CHECK, and Context::GetIsolate().
THREADED_TEST | ( | DeepCrossLanguageRecursion | ) |
Definition at line 2496 of file test-api.cc.
References Context::Global(), CcTest::isolate(), Integer::New(), FunctionTemplate::New(), NULL, and Template::Set().
THREADED_TEST | ( | CallbackExceptionRegression | ) |
Definition at line 2533 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
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 | ( | GlobalObjectInternalFields | ) |
Definition at line 2578 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetInternalField(), Object::GetPrototype(), Context::Global(), Object::InternalFieldCount(), CcTest::isolate(), ObjectTemplate::New(), NULL, and Object::SetInternalField().
THREADED_TEST | ( | GlobalObjectHasRealIndexedProperty | ) |
Definition at line 2593 of file test-api.cc.
References CHECK, Context::Global(), Object::HasRealIndexedProperty(), CcTest::isolate(), String::NewFromUtf8(), and Object::Set().
THREADED_TEST | ( | InternalFieldsAlignedPointers | ) |
Definition at line 2612 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | EmbedderDataAlignedPointers | ) |
Definition at line 2656 of file test-api.cc.
References CHECK_EQ, Heap::CollectAllGarbage(), Context::GetAlignedPointerFromEmbedderData(), Context::GetIsolate(), CcTest::heap(), Heap::kNoGCFlags, NULL, and Context::SetAlignedPointerInEmbedderData().
THREADED_TEST | ( | EmbedderData | ) |
Definition at line 2691 of file test-api.cc.
References Context::GetIsolate(), Boolean::New(), Number::New(), and String::NewFromUtf8().
THREADED_TEST | ( | IdentityHash | ) |
Definition at line 2706 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Heap::CollectAllGarbage(), Context::GetIsolate(), CcTest::heap(), Heap::kNoGCFlags, and Object::New().
THREADED_TEST | ( | SymbolProperties | ) |
Definition at line 2751 of file test-api.cc.
References Symbol::Cast(), SymbolObject::Cast(), CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Object::Delete(), Value::Equals(), Object::Get(), Context::GetIsolate(), Object::GetOwnPropertyNames(), Object::GetPropertyAttributes(), Object::GetPropertyNames(), Object::Has(), CcTest::heap(), Value::IsSymbol(), Value::IsSymbolObject(), Heap::kNoGCFlags, Symbol::Name(), Symbol::New(), Integer::New(), Object::New(), SymbolObject::New(), String::NewFromUtf8(), v8::None, Object::Set(), Value::StrictEquals(), and SymbolObject::ValueOf().
THREADED_TEST | ( | PrivateProperties | ) |
Definition at line 2842 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Object::DeletePrivate(), Context::GetIsolate(), Object::GetOwnPropertyNames(), Object::GetPrivate(), Object::GetPropertyNames(), Object::HasPrivate(), CcTest::heap(), Heap::kNoGCFlags, Private::Name(), Private::New(), Integer::New(), Object::New(), String::NewFromUtf8(), Object::Set(), and Object::SetPrivate().
THREADED_TEST | ( | GlobalSymbols | ) |
Definition at line 2901 of file test-api.cc.
References CHECK, Symbol::For(), Symbol::ForApi(), Context::GetIsolate(), Context::Global(), Symbol::New(), and Value::SameValue().
THREADED_TEST | ( | GlobalPrivates | ) |
Definition at line 2928 of file test-api.cc.
References CHECK, Private::ForApi(), Context::GetIsolate(), Context::Global(), Object::Has(), Object::HasPrivate(), Private::New(), Integer::New(), Object::New(), and Object::SetPrivate().
THREADED_TEST | ( | ArrayBuffer_ApiInternalToExternal | ) |
Definition at line 2971 of file test-api.cc.
References ASSERT, CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), Context::Global(), CcTest::heap(), Value::Int32Value(), Heap::kNoGCFlags, ArrayBuffer::New(), and NULL.
THREADED_TEST | ( | ArrayBuffer_JSInternalToExternal | ) |
Definition at line 3007 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::GetIsolate().
THREADED_TEST | ( | ArrayBuffer_External | ) |
Definition at line 3049 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Value::Int32Value(), ArrayBuffer::New(), and Vector< T >::start().
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 | ) |
Definition at line 3169 of file test-api.cc.
References ArrayBuffer::ByteLength(), Handle< T >::Cast(), CHECK, CHECK_EQ, ArrayBuffer::Externalize(), Context::GetIsolate(), and ArrayBuffer::Neuter().
THREADED_TEST | ( | HiddenProperties | ) |
Definition at line 3214 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Object::Delete(), Object::DeleteHiddenValue(), Object::Get(), Object::GetHiddenValue(), Context::GetIsolate(), Object::Has(), CcTest::heap(), Heap::kNoGCFlags, Integer::New(), Object::New(), Object::Set(), and Object::SetHiddenValue().
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 | ) |
Definition at line 3302 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | External | ) |
Definition at line 3323 of file test-api.cc.
References Handle< T >::As(), External::Cast(), CHECK_EQ, v8::internal::DeleteArray(), Context::Global(), CcTest::isolate(), External::New(), v8::internal::StrDup(), External::Value(), and v8::internal::zero.
THREADED_TEST | ( | GlobalHandle | ) |
Definition at line 3355 of file test-api.cc.
References CHECK_EQ, CcTest::isolate(), and PersistentBase< T >::Reset().
THREADED_TEST | ( | ResettingGlobalHandle | ) |
Definition at line 3379 of file test-api.cc.
References CHECK_EQ, GlobalHandles::global_handles_count(), CcTest::isolate(), and PersistentBase< T >::Reset().
THREADED_TEST | ( | ResettingGlobalHandleToEmpty | ) |
Definition at line 3407 of file test-api.cc.
References CHECK, CHECK_EQ, GlobalHandles::global_handles_count(), PersistentBase< T >::IsEmpty(), CcTest::isolate(), and PersistentBase< T >::Reset().
THREADED_TEST | ( | UniquePersistent | ) |
Definition at line 3445 of file test-api.cc.
References CHECK, CHECK_EQ, GlobalHandles::global_handles_count(), PersistentBase< T >::IsEmpty(), CcTest::isolate(), UniquePersistent< T >::Pass(), and PersistentBase< T >::Reset().
THREADED_TEST | ( | GlobalHandleUpcast | ) |
Definition at line 3581 of file test-api.cc.
References Persistent< T, M >::Cast(), CHECK, CcTest::isolate(), Local< T >::New(), and PersistentBase< T >::Reset().
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 | ( | ApiObjectGroups | ) |
Definition at line 3676 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), WeakCallCounterAndPersistent< T >::handle, Heap::kAbortIncrementalMarkingMask, Local< Object >::New(), WeakCallCounter::NumberOfWeakCalls(), v8::internal::Object, Isolate::SetObjectGroupId(), and Isolate::SetReferenceFromGroup().
THREADED_TEST | ( | ApiObjectGroupsForSubtypes | ) |
Definition at line 3770 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), WeakCallCounterAndPersistent< T >::handle, Heap::kAbortIncrementalMarkingMask, Local< Object >::New(), WeakCallCounter::NumberOfWeakCalls(), Isolate::SetObjectGroupId(), Isolate::SetReference(), and Isolate::SetReferenceFromGroup().
THREADED_TEST | ( | ApiObjectGroupsCycle | ) |
Definition at line 3864 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), WeakCallCounterAndPersistent< T >::handle, Heap::kAbortIncrementalMarkingMask, WeakCallCounter::NumberOfWeakCalls(), Isolate::SetObjectGroupId(), and Isolate::SetReferenceFromGroup().
THREADED_TEST | ( | ScriptException | ) |
Definition at line 4080 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), Context::GetIsolate(), and TryCatch::HasCaught().
THREADED_TEST | ( | MessageHandler0 | ) |
Definition at line 4117 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CcTest::isolate(), V8::RemoveMessageListeners(), and Script::Run().
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 | ( | PropertyAttributes | ) |
Definition at line 4322 of file test-api.cc.
References CHECK, CHECK_EQ, v8::DontDelete, v8::DontEnum, Context::GetIsolate(), Context::Global(), v8::None, and v8::ReadOnly.
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 | ( | FunctionCall | ) |
Definition at line 4443 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Integer::New(), NULL, v8::Null(), v8::internal::r1, v8::internal::r10, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r6, v8::internal::r7, v8::internal::r8, v8::internal::r9, v8::True(), v8::Undefined(), NumberObject::ValueOf(), BooleanObject::ValueOf(), and StringObject::ValueOf().
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 | ) |
Definition at line 4692 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_NE, Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), std::isnan(), TryCatch::Reset(), and v8::Undefined().
THREADED_TEST | ( | APICatch | ) |
Definition at line 4766 of file test-api.cc.
References CHECK, Context::Global(), CcTest::isolate(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | APIThrowTryCatch | ) |
Definition at line 4785 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), CcTest::isolate(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | ExternalScriptException | ) |
Definition at line 5013 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), TryCatch::HasCaught(), CcTest::isolate(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | EvalInTryFinally | ) |
Definition at line 5082 of file test-api.cc.
References CHECK, and Context::GetIsolate().
THREADED_TEST | ( | ThrowValues | ) |
Definition at line 5182 of file test-api.cc.
References Handle< T >::Cast(), CHECK, CHECK_EQ, Object::Get(), CcTest::isolate(), Array::Length(), Integer::New(), FunctionTemplate::New(), and ThrowValue().
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 | ) |
Definition at line 5251 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::New(), and WithTryCatch().
THREADED_TEST | ( | Equality | ) |
Definition at line 5336 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_NE, v8::False(), Context::GetIsolate(), OS::nan_value(), Object::New(), PersistentBase< T >::Reset(), and v8::Undefined().
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 | ) |
Definition at line 5590 of file test-api.cc.
References CHECK, CHECK_EQ, v8::DEFAULT, v8::DontDelete, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), CcTest::isolate(), and NULL.
THREADED_TEST | ( | ElementAPIAccessor | ) |
Definition at line 5647 of file test-api.cc.
References CHECK, Context::Global(), CcTest::isolate(), and NULL.
THREADED_TEST | ( | SimplePropertyWrite | ) |
Definition at line 5686 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), PersistentBase< T >::IsEmpty(), CcTest::isolate(), and PersistentBase< T >::Reset().
THREADED_TEST | ( | SetterOnly | ) |
Definition at line 5703 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), PersistentBase< T >::IsEmpty(), CcTest::isolate(), NULL, and PersistentBase< T >::Reset().
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 | ) |
Definition at line 5949 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), CcTest::isolate(), and UnboxedDoubleIndexedPropertyEnumerator().
THREADED_TEST | ( | IndexedInterceptorSloppyArgsWithIndexedAccessor | ) |
Definition at line 6005 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), and SloppyArgsIndexedPropertyEnumerator().
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 | ) |
Definition at line 6314 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Object::Get(), Context::Global(), CcTest::isolate(), FunctionTemplate::New(), Object::Set(), and Context::SetSecurityToken().
THREADED_TEST | ( | FunctionPrototypeAcrossContexts | ) |
Definition at line 6349 of file test-api.cc.
References Handle< T >::As(), CHECK, Object::Get(), Context::Global(), CcTest::isolate(), and Object::Set().
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 | ) |
Definition at line 6490 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), Integer::New(), and FunctionTemplate::New().
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 | ) |
Definition at line 7078 of file test-api.cc.
References V8::AddMessageListener(), Context::GetIsolate(), and V8::RemoveMessageListeners().
THREADED_TEST | ( | IndependentWeakHandle | ) |
Definition at line 7100 of file test-api.cc.
References CHECK, Heap::CollectGarbage(), FlagAndPersistent::flag, FlagAndPersistent::handle, CcTest::heap(), PersistentBase< T >::IsIndependent(), CcTest::isolate(), PersistentBase< T >::MarkIndependent(), Object::New(), v8::internal::NEW_SPACE, PersistentBase< T >::Reset(), and PersistentBase< T >::SetWeak().
THREADED_TEST | ( | GCFromWeakCallbacks | ) |
Definition at line 7154 of file test-api.cc.
References CHECK, v8::internal::flag, CcTest::isolate(), and Object::New().
THREADED_TEST | ( | IndependentHandleRevival | ) |
Definition at line 7193 of file test-api.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Heap::CollectGarbage(), v8::internal::flag, Object::Get(), v8::internal::handle(), CcTest::heap(), CcTest::isolate(), Heap::kAbortIncrementalMarkingMask, Local< T >::New(), Integer::New(), Object::New(), v8::internal::NEW_SPACE, and Object::Set().
THREADED_TEST | ( | Arguments | ) |
Definition at line 7243 of file test-api.cc.
References Local< T >::As(), Context::Global(), CcTest::isolate(), FunctionTemplate::New(), NULL, and Template::Set().
THREADED_TEST | ( | Deleter | ) |
Definition at line 7285 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), NULL, ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | Enumerators | ) |
Definition at line 7349 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), CcTest::isolate(), Array::Length(), Integer::New(), ObjectTemplate::NewInstance(), NULL, ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | GetterHolders | ) |
Definition at line 7465 of file test-api.cc.
References CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | PreInterceptorHolders | ) |
Definition at line 7479 of file test-api.cc.
References CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | ObjectInstantiation | ) |
Definition at line 7490 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and v8::True().
THREADED_TEST | ( | StringWrite | ) |
Definition at line 7542 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Object::Get(), Context::GetIsolate(), GetUtf8Length(), Context::Global(), String::kNormalString, String::NewFromTwoByte(), String::NewFromUtf8(), and NULL.
THREADED_TEST | ( | Utf16 | ) |
Definition at line 7948 of file test-api.cc.
References Context::GetIsolate().
THREADED_TEST | ( | Utf16Symbol | ) |
Definition at line 8016 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), String::kInternalizedString, String::NewFromUtf8(), v8::internal::s0, v8::internal::s3, and v8::internal::s4.
THREADED_TEST | ( | ToArrayIndex | ) |
Definition at line 8085 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Handle< T >::IsEmpty(), Number::New(), Object::New(), Value::ToArrayIndex(), Object::ToArrayIndex(), and Value::Uint32Value().
THREADED_TEST | ( | ErrorConstruction | ) |
Definition at line 8117 of file test-api.cc.
References Handle< T >::As(), CHECK, Exception::Error(), foo, Object::Get(), Context::GetIsolate(), Value::IsObject(), Exception::RangeError(), Exception::ReferenceError(), Exception::SyntaxError(), and Exception::TypeError().
THREADED_TEST | ( | DeleteAccessor | ) |
Definition at line 8158 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and Value::Uint32Value().
THREADED_TEST | ( | TypeSwitch | ) |
Definition at line 8172 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), CcTest::isolate(), TypeSwitch::match(), Object::New(), FunctionTemplate::New(), and TypeSwitch::New().
THREADED_TEST | ( | SecurityChecks | ) |
Definition at line 8413 of file test-api.cc.
References bar, CHECK, foo, Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), NULL, and Context::SetSecurityToken().
THREADED_TEST | ( | SecurityChecksForPrototypeChain | ) |
Definition at line 8456 of file test-api.cc.
References CHECK, Context::GetIsolate(), and Context::Global().
THREADED_TEST | ( | CrossDomainDelete | ) |
Definition at line 8523 of file test-api.cc.
References bar, CHECK, CHECK_EQ, foo, Context::GetIsolate(), Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CrossDomainIsPropertyEnumerable | ) |
Definition at line 8554 of file test-api.cc.
References bar, CHECK, foo, Context::GetIsolate(), Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CrossDomainForIn | ) |
Definition at line 8587 of file test-api.cc.
References bar, CHECK, foo, Context::GetIsolate(), Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | AccessControlGetOwnPropertyNames | ) |
Definition at line 9308 of file test-api.cc.
References CHECK, CcTest::isolate(), Value::IsTrue(), Integer::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), NULL, Object::Set(), Template::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | GetOwnPropertyNamesWithInterceptor | ) |
Definition at line 9369 of file test-api.cc.
References Handle< T >::Cast(), CHECK, CHECK_EQ, Context::Global(), Value::IsArray(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), NULL, Object::Set(), Template::Set(), ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | CrossDomainAccessors | ) |
Definition at line 9406 of file test-api.cc.
References v8::ALL_CAN_READ, CHECK, CHECK_EQ, v8::DEFAULT, FunctionTemplate::InstanceTemplate(), Value::Int32Value(), Value::IsNumber(), CcTest::isolate(), FunctionTemplate::New(), NULL, FunctionTemplate::PrototypeTemplate(), Object::Set(), and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | AccessControlFlatten | ) |
Definition at line 9630 of file test-api.cc.
References CcTest::isolate(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | AccessControlInterceptorIC | ) |
Definition at line 9699 of file test-api.cc.
References CHECK, CHECK_EQ, Value::Int32Value(), Value::IsNumber(), CcTest::isolate(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | Version | ) |
Definition at line 9766 of file test-api.cc.
References V8::GetVersion().
THREADED_TEST | ( | InstanceProperties | ) |
Definition at line 9778 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), and FunctionTemplate::New().
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 | ) |
Definition at line 9945 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), CcTest::isolate(), FunctionTemplate::New(), ObjectTemplate::New(), and NULL.
THREADED_TEST | ( | HiddenPrototype | ) |
Definition at line 9989 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Get(), Context::GetIsolate(), and FunctionTemplate::New().
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 | ) |
Definition at line 10156 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), Object::New(), FunctionTemplate::New(), OS::SNPrintF(), and Vector< T >::start().
THREADED_TEST | ( | Regress269562 | ) |
Definition at line 10211 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), Symbol::New(), Integer::New(), FunctionTemplate::New(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | FunctionReadOnlyPrototype | ) |
Definition at line 10266 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | SetPrototypeThrows | ) |
Definition at line 10298 of file test-api.cc.
References ASSERT, CHECK, CHECK_EQ, Context::GetIsolate(), CcTest::i_isolate(), and FunctionTemplate::New().
THREADED_TEST | ( | FunctionRemovePrototype | ) |
Definition at line 10320 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::New(), and TryCatch::Reset().
THREADED_TEST | ( | GetterSetterExceptions | ) |
Definition at line 10341 of file test-api.cc.
References Context::GetIsolate(), Context::Global(), and Integer::New().
THREADED_TEST | ( | Constructor | ) |
Definition at line 10365 of file test-api.cc.
References CHECK, Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), obj, and Utils::OpenHandle().
THREADED_TEST | ( | ConstructorForObject | ) |
Definition at line 10409 of file test-api.cc.
References Local< Object >::Cast(), CHECK, CHECK_EQ, TryCatch::Exception(), Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), v8::Null(), TryCatch::Reset(), ThrowValue(), v8::True(), and v8::Undefined().
THREADED_TEST | ( | FunctionDescriptorException | ) |
Definition at line 10577 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | EvalAliasedDynamic | ) |
Definition at line 10603 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), and Context::Global().
THREADED_TEST | ( | CrossEval | ) |
Definition at line 10639 of file test-api.cc.
References CHECK, CHECK_EQ, foo, Context::Global(), CcTest::isolate(), and Context::SetSecurityToken().
THREADED_TEST | ( | EvalInDetachedGlobal | ) |
Definition at line 10717 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::HasCaught(), Value::Int32Value(), Handle< T >::IsEmpty(), and CcTest::isolate().
THREADED_TEST | ( | CrossLazyLoad | ) |
Definition at line 10750 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), and Context::SetSecurityToken().
THREADED_TEST | ( | CallAsFunction | ) |
Definition at line 10790 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), Context::GetIsolate(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::New(), NULL, v8::Null(), TryCatch::Reset(), ThrowValue(), v8::True(), v8::Undefined(), NumberObject::ValueOf(), BooleanObject::ValueOf(), and StringObject::ValueOf().
THREADED_TEST | ( | CallableObject | ) |
Definition at line 10978 of file test-api.cc.
References CHECK, Context::GetIsolate(), and TryCatch::HasCaught().
THREADED_TEST | ( | HandleIteration | ) |
Definition at line 11031 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), CcTest::isolate(), Integer::New(), and HandleScope::NumberOfHandles().
THREADED_TEST | ( | InterceptorHasOwnProperty | ) |
Definition at line 11069 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::GetIsolate(), Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InterceptorHasOwnPropertyCausingGC | ) |
Definition at line 11101 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::GetIsolate(), Context::Global(), and FunctionTemplate::New().
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 | ) |
Definition at line 11352 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICWithCallbackOnProto | ) |
Definition at line 11382 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICForCallbackWithOverride | ) |
Definition at line 11416 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICCallbackNotNeeded | ) |
Definition at line 11445 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICInvalidatedCallback | ) |
Definition at line 11474 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICInvalidatedCallbackViaGlobal | ) |
Definition at line 11507 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorReturningZero | ) |
Definition at line 11545 of file test-api.cc.
THREADED_TEST | ( | InterceptorStoreIC | ) |
Definition at line 11563 of file test-api.cc.
References Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorStoreICWithNoSetter | ) |
Definition at line 11579 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallIC | ) |
Definition at line 11611 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICSeesOthers | ) |
Definition at line 11631 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCacheableNotNeeded | ) |
Definition at line 11661 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedCacheable | ) |
Definition at line 11682 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionUsed | ) |
Definition at line 11710 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeeded | ) |
Definition at line 11742 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeededWrapped | ) |
Definition at line 11775 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunction | ) |
Definition at line 11807 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunctionViaGlobal | ) |
Definition at line 11838 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCachedFromGlobal | ) |
Definition at line 11864 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | CallICFastApi_DirectCall_GCMoveStub | ) |
Definition at line 11952 of file test-api.cc.
References DirectApiCallback(), Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and Template::Set().
THREADED_TEST | ( | CallICFastApi_DirectCall_Throw | ) |
Definition at line 11980 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Template::Set(), and ThrowingDirectApiCallback().
THREADED_TEST | ( | LoadICFastApi_DirectCall_Throw | ) |
Definition at line 12052 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), Context::Global(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ThrowingDirectGetterCallback().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChange1 | ) |
Definition at line 12480 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChange2 | ) |
Definition at line 12505 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChangeOnGlobal | ) |
Definition at line 12533 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICFromGlobal | ) |
Definition at line 12559 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeBefore | ) |
Definition at line 12585 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeAfter | ) |
Definition at line 12608 of file test-api.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICReferenceErrors | ) |
Definition at line 12645 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICGetterExceptions | ) |
Definition at line 12692 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICSetterExceptions | ) |
Definition at line 12737 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, CcTest::isolate(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | NullNamedInterceptor | ) |
Definition at line 12757 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::Int32Value(), Value::IsInt32(), CcTest::isolate(), ObjectTemplate::NewInstance(), Template::Set(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | NullIndexedInterceptor | ) |
Definition at line 12774 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::Int32Value(), Value::IsInt32(), CcTest::isolate(), ObjectTemplate::NewInstance(), Template::Set(), and ObjectTemplate::SetIndexedPropertyHandler().
THREADED_TEST | ( | NamedPropertyHandlerGetterAttributes | ) |
Definition at line 12790 of file test-api.cc.
References FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), and FunctionTemplate::New().
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 | ) |
Definition at line 12948 of file test-api.cc.
References CHECK_EQ, v8::DEFAULT, Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), and v8::ReadOnly.
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 | ( | NewPersistentHandleFromWeakCallback | ) |
Definition at line 13520 of file test-api.cc.
References Heap::CollectAllGarbage(), Context::GetIsolate(), CcTest::heap(), Heap::kAbortIncrementalMarkingMask, Object::New(), NewPersistentHandleCallback(), PersistentBase< T >::Reset(), and PersistentBase< T >::SetWeak().
THREADED_TEST | ( | DoNotUseDeletedNodesInSecondLevelGc | ) |
Definition at line 13551 of file test-api.cc.
References Heap::CollectAllGarbage(), DisposeAndForceGcCallback(), Context::GetIsolate(), CcTest::heap(), Heap::kAbortIncrementalMarkingMask, Object::New(), PersistentBase< T >::Reset(), and PersistentBase< T >::SetWeak().
THREADED_TEST | ( | NoGlobalHandlesOrphaningDueToWeakCallback | ) |
Definition at line 13580 of file test-api.cc.
References Heap::CollectAllGarbage(), DisposingCallback(), Context::GetIsolate(), HandleCreatingCallback(), CcTest::heap(), Heap::kAbortIncrementalMarkingMask, Object::New(), PersistentBase< T >::Reset(), and PersistentBase< T >::SetWeak().
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 | ) |
Definition at line 14228 of file test-api.cc.
References Isolate::AdjustAmountOfExternalAllocatedMemory(), CHECK, CHECK_EQ, Handle< T >::IsEmpty(), and CcTest::isolate().
THREADED_TEST | ( | Regress54 | ) |
Definition at line 14245 of file test-api.cc.
References CHECK_EQ, EscapableHandleScope::Escape(), Context::GetIsolate(), Object::InternalFieldCount(), PersistentBase< T >::IsEmpty(), Local< T >::New(), ObjectTemplate::New(), PersistentBase< T >::Reset(), and ObjectTemplate::SetInternalFieldCount().
THREADED_TEST | ( | TryCatchSourceInfo | ) |
Definition at line 14300 of file test-api.cc.
References Script::Compile(), Context::GetIsolate(), Integer::New(), and String::NewFromUtf8().
THREADED_TEST | ( | CompilationCache | ) |
Definition at line 14339 of file test-api.cc.
References CHECK_EQ, Script::Compile(), Context::GetIsolate(), String::NewFromUtf8(), and Script::Run().
THREADED_TEST | ( | CallbackFunctionName | ) |
Definition at line 14363 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Context::Global(), Value::IsString(), name, and FunctionTemplate::New().
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 | ) |
Definition at line 14416 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, CheckOwnProperties(), CheckProperties(), Object::Get(), Context::GetIsolate(), Array::Length(), Integer::New(), and NULL.
THREADED_TEST | ( | PropertyEnumeration2 | ) |
Definition at line 14460 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, CheckProperties(), Object::Get(), Context::GetIsolate(), Array::Length(), Integer::New(), and NULL.
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 | ) |
Definition at line 14576 of file test-api.cc.
References FunctionTemplateInfo::cast(), CHECK, CcTest::isolate(), ObjectTemplate::New(), NULL, Utils::OpenHandle(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | TurnOnAccessCheck | ) |
Definition at line 14595 of file test-api.cc.
References Local< Object >::Cast(), CHECK, v8::internal::f1, v8::internal::f2, CcTest::isolate(), ObjectTemplate::New(), NULL, and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | TurnOnAccessCheckAndRecompile | ) |
Definition at line 14679 of file test-api.cc.
References Local< Object >::Cast(), CHECK, v8::internal::f1, v8::internal::f2, CcTest::isolate(), ObjectTemplate::New(), NULL, and ObjectTemplate::SetAccessCheckCallbacks().
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 | ( | MorphCompositeStringTest | ) |
Definition at line 15052 of file test-api.cc.
References CHECK, CHECK_EQ, v8::internal::DeleteArray(), Isolate::factory(), Context::GetIsolate(), Context::Global(), CcTest::i_isolate(), Factory::NewExternalStringFromAscii(), Utils::OpenHandle(), v8::internal::StrLength(), and Utils::ToLocal().
THREADED_TEST | ( | ForceDelete | ) |
Definition at line 15366 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), v8::DontDelete, Object::ForceDelete(), Object::Get(), Context::Global(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), String::NewFromUtf8(), NULL, and Object::Set().
THREADED_TEST | ( | ForceDeleteWithInterceptor | ) |
Definition at line 15400 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), v8::DontDelete, Object::ForceDelete(), Object::Get(), Context::Global(), CcTest::isolate(), Integer::New(), ObjectTemplate::New(), String::NewFromUtf8(), NULL, Object::Set(), and ObjectTemplate::SetNamedPropertyHandler().
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 | ) |
Definition at line 15575 of file test-api.cc.
References CHECK, CHECK_EQ, Context::GetIsolate(), Value::Int32Value(), and Value::IsUndefined().
THREADED_TEST | ( | ReplaceConstantFunction | ) |
Definition at line 15591 of file test-api.cc.
References CHECK, Object::Clone(), Object::Get(), FunctionTemplate::GetFunction(), Context::GetIsolate(), Object::New(), FunctionTemplate::New(), String::NewFromUtf8(), and Object::Set().
THREADED_TEST | ( | PixelArray | ) |
Definition at line 15617 of file test-api.cc.
References ASSERT, Handle< T >::cast(), Object::Cast(), CHECK_EQ, Heap::CollectAllGarbage(), Isolate::factory(), Smi::FromInt(), Object::Get(), Context::GetIsolate(), Context::Global(), CcTest::heap(), CcTest::i_isolate(), Value::Int32Value(), Handle< T >::is_null(), CcTest::isolate(), v8::kExternalUint8ClampedArray, Heap::kNoGCFlags, Integer::New(), Object::New(), Factory::NewExternalArray(), NONE, Utils::OpenHandle(), Object::Set(), JSObject::SetElement(), Object::SetIndexedPropertiesToPixelData(), and v8::internal::SLOPPY.
THREADED_TEST | ( | PixelArrayInfo | ) |
Definition at line 15998 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetIndexedPropertiesPixelData(), Object::GetIndexedPropertiesPixelDataLength(), Context::GetIsolate(), Object::HasIndexedPropertiesInPixelData(), Object::New(), Object::SetIndexedPropertiesToPixelData(), and size.
THREADED_TEST | ( | PixelArrayWithInterceptor | ) |
Definition at line 16028 of file test-api.cc.
References Handle< T >::cast(), CHECK, CHECK_EQ, Isolate::factory(), Context::GetIsolate(), Context::Global(), CcTest::i_isolate(), Value::Int32Value(), v8::kExternalUint8ClampedArray, ObjectTemplate::New(), Factory::NewExternalArray(), ObjectTemplate::NewInstance(), Object::SetIndexedPropertiesToPixelData(), and ObjectTemplate::SetIndexedPropertyHandler().
THREADED_TEST | ( | FixedUint8Array | ) |
Definition at line 16438 of file test-api.cc.
References v8::kExternalUint8Array.
THREADED_TEST | ( | FixedUint8ClampedArray | ) |
Definition at line 16445 of file test-api.cc.
References v8::kExternalUint8ClampedArray, and v8::internal::UINT8_CLAMPED_ELEMENTS.
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 | ( | ExternalArrayInfo | ) |
Definition at line 16820 of file test-api.cc.
References ExternalArrayInfoTestHelper(), v8::kExternalFloat32Array, v8::kExternalFloat64Array, v8::kExternalInt16Array, v8::kExternalInt32Array, v8::kExternalInt8Array, v8::kExternalUint16Array, v8::kExternalUint32Array, v8::kExternalUint8Array, and v8::kExternalUint8ClampedArray.
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 | ) |
Definition at line 16962 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), ArrayBuffer::New(), DataView::New(), and Vector< T >::start().
THREADED_TEST | ( | ScriptContextDependence | ) |
Definition at line 17011 of file test-api.cc.
References UnboundScript::BindToCurrentContext(), CHECK_EQ, ScriptCompiler::CompileUnbound(), Context::GetIsolate(), Context::Global(), Integer::New(), String::NewFromUtf8(), and Script::Run().
THREADED_TEST | ( | StackTrace | ) |
Definition at line 17032 of file test-api.cc.
References CHECK, ScriptCompiler::CompileUnbound(), Context::GetIsolate(), String::NewFromUtf8(), and NULL.
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 | ) |
Definition at line 17989 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), std::isnan(), Number::New(), Date::New(), and Value::NumberValue().
THREADED_TEST | ( | SpaghettiStackReThrow | ) |
Definition at line 18088 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), CcTest::isolate(), FunctionTemplate::New(), and String::NewFromUtf8().
THREADED_TEST | ( | ScriptOrigin | ) |
Definition at line 18203 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Context::GetIsolate(), Function::GetScriptOrigin(), Context::Global(), Value::Int32Value(), and String::NewFromUtf8().
THREADED_TEST | ( | FunctionGetInferredName | ) |
Definition at line 18226 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetInferredName(), Context::GetIsolate(), Context::Global(), and String::NewFromUtf8().
THREADED_TEST | ( | FunctionGetDisplayName | ) |
Definition at line 18241 of file test-api.cc.
References Local< T >::Cast(), CHECK, CHECK_EQ, code(), Script::Compile(), Function::GetDisplayName(), Context::GetIsolate(), Context::Global(), Value::IsUndefined(), and String::NewFromUtf8().
THREADED_TEST | ( | ScriptLineNumber | ) |
Definition at line 18308 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Context::GetIsolate(), Function::GetScriptLineNumber(), Context::Global(), and String::NewFromUtf8().
THREADED_TEST | ( | ScriptColumnNumber | ) |
Definition at line 18325 of file test-api.cc.
References bar, Local< T >::Cast(), CHECK_EQ, Script::Compile(), foo, Context::GetIsolate(), Function::GetScriptColumnNumber(), Context::Global(), Integer::New(), and String::NewFromUtf8().
THREADED_TEST | ( | FunctionIsBuiltin | ) |
Definition at line 18345 of file test-api.cc.
References Local< T >::Cast(), CHECK, Context::GetIsolate(), and Function::IsBuiltin().
THREADED_TEST | ( | FunctionGetScriptId | ) |
Definition at line 18363 of file test-api.cc.
References bar, Local< T >::Cast(), CHECK_EQ, Script::Compile(), foo, Script::GetId(), Context::GetIsolate(), Context::Global(), Integer::New(), String::NewFromUtf8(), Script::Run(), and Function::ScriptId().
THREADED_TEST | ( | FunctionGetBoundFunction | ) |
Definition at line 18384 of file test-api.cc.
References Local< T >::Cast(), CHECK, CHECK_EQ, Script::Compile(), Function::GetBoundFunction(), Context::GetIsolate(), Function::GetName(), Function::GetScriptColumnNumber(), Function::GetScriptLineNumber(), Context::Global(), and String::NewFromUtf8().
THREADED_TEST | ( | InterceptorOnConstructorPrototype | ) |
Definition at line 18503 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), CcTest::isolate(), and Script::Run().
THREADED_TEST | ( | AddToJSFunctionResultCache | ) |
Definition at line 18772 of file test-api.cc.
References Heap::ClearJSFunctionResultCaches(), CcTest::heap(), and CcTest::isolate().
THREADED_TEST | ( | FillJSFunctionResultCache | ) |
Definition at line 18798 of file test-api.cc.
References Heap::ClearJSFunctionResultCaches(), Context::GetIsolate(), and CcTest::heap().
THREADED_TEST | ( | RoundRobinGetFromCache | ) |
Definition at line 18819 of file test-api.cc.
References Heap::ClearJSFunctionResultCaches(), Context::GetIsolate(), and CcTest::heap().
THREADED_TEST | ( | ReverseGetFromCache | ) |
Definition at line 18843 of file test-api.cc.
References Heap::ClearJSFunctionResultCaches(), Context::GetIsolate(), and CcTest::heap().
THREADED_TEST | ( | TestEviction | ) |
Definition at line 18867 of file test-api.cc.
References Heap::ClearJSFunctionResultCaches(), Context::GetIsolate(), and CcTest::heap().
THREADED_TEST | ( | TwoByteStringInAsciiCons | ) |
Definition at line 18884 of file test-api.cc.
References ConsString::cast(), CHECK, CHECK_EQ, v8::internal::FlattenGetString(), v8::internal::FlattenString(), Context::GetIsolate(), Utils::OpenHandle(), and String::WriteToFlat().
THREADED_TEST | ( | Equals | ) |
Definition at line 19786 of file test-api.cc.
References CHECK, Value::Equals(), Context::GetIsolate(), Context::Global(), and Value::StrictEquals().
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 | ( | AllowCodeGenFromStrings | ) |
Definition at line 20140 of file test-api.cc.
References Context::AllowCodeGenerationFromStrings(), CHECK, CheckCodeGenerationAllowed(), CheckCodeGenerationDisallowed(), CodeGenerationAllowed(), CodeGenerationDisallowed(), Context::GetIsolate(), and Context::IsCodeGenerationFromStringsAllowed().
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 | ( | Regress1516 | ) |
Definition at line 20228 of file test-api.cc.
References MapCache::cast(), CHECK_GT, CHECK_LE, Heap::CollectAllGarbage(), Isolate::context(), Context::GetIsolate(), CcTest::heap(), CcTest::i_isolate(), Heap::kAbortIncrementalMarkingMask, and HashTable< Shape, Key >::NumberOfElements().
THREADED_TEST | ( | Regress93759 | ) |
Definition at line 20272 of file test-api.cc.
References CHECK, CcTest::isolate(), FunctionTemplate::New(), ObjectTemplate::New(), Context::New(), NULL, and v8::Undefined().
THREADED_TEST | ( | Regress125988 | ) |
Definition at line 20363 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), and CcTest::isolate().
THREADED_TEST | ( | ForeignFunctionReceiver | ) |
Definition at line 20397 of file test-api.cc.
References CHECK, Context::Global(), CcTest::isolate(), Context::New(), and Context::SetSecurityToken().
THREADED_TEST | ( | InstanceCheckOnInstanceAccessor | ) |
Definition at line 20917 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::GetIsolate(), Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | InstanceCheckOnInstanceAccessorWithInterceptor | ) |
Definition at line 20945 of file test-api.cc.
References AddInterceptor(), CHECK, v8::DEFAULT, EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::GetIsolate(), Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | InstanceCheckOnPrototypeAccessor | ) |
Definition at line 20974 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::GetIsolate(), Context::Global(), AccessorSignature::New(), and v8::None.
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 | ) |
Definition at line 21211 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::GetIsolate(), and Context::Global().
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 | ) |
Definition at line 21541 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::GetIsolate(), and Context::Global().
THREADED_TEST | ( | CrankshaftInterceptorSetter | ) |
Definition at line 21557 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | CrankshaftInterceptorGetter | ) |
Definition at line 21583 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | CrankshaftInterceptorFieldRead | ) |
Definition at line 21606 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | CrankshaftInterceptorFieldWrite | ) |
Definition at line 21626 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), and CcTest::isolate().
THREADED_TEST | ( | FunctionNew | ) |
Definition at line 21908 of file test-api.cc.
References Smi::cast(), CHECK, CHECK_EQ, CHECK_NE, Object::GetElementNoExceptionThrown(), Context::GetIsolate(), Context::Global(), Isolate::native_context(), Integer::New(), Object::New(), Utils::OpenHandle(), and Smi::value().
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 ThrowValue | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 5175 of file test-api.cc.
References CHECK_EQ, ApiTestFuzzer::Fuzz(), FunctionCallbackInfo< T >::GetIsolate(), and FunctionCallbackInfo< T >::Length().
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 | ) |
Definition at line 5306 of file test-api.cc.
References CHECK, ApiTestFuzzer::Fuzz(), TryCatch::HasCaught(), TryCatch::ReThrow(), and TryCatchMixedNestingCheck().
Referenced by TEST().
void TypedArrayTestHelper | ( | v8::ExternalArrayType | array_type, |
int64_t | low, | ||
int64_t | high | ||
) |
Definition at line 16873 of file test-api.cc.
References CHECK_EQ, Context::GetIsolate(), LocalContext::local(), ArrayBuffer::New(), and Vector< T >::start().
Referenced by THREADED_TEST().
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 | ( | SetJitCodeEventHandler | ) |
Definition at line 14125 of file test-api.cc.
References CHECK_LE, CHECK_LT, code(), Heap::code_space(), Heap::CollectAllAvailableGarbage(), Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), Context::Global(), Isolate::heap(), v8::kJitCodeEventDefault, v8::kJitCodeEventEnumExisting, Isolate::New(), NULL, TemplateHashMapImpl< AllocationPolicy >::occupancy(), and Utils::OpenHandle().
UNINITIALIZED_TEST | ( | DisposeIsolateWhenInUse | ) |
Definition at line 19150 of file test-api.cc.
References CHECK_NE, Isolate::Dispose(), Isolate::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
UNINITIALIZED_TEST | ( | IsolateEmbedderData | ) |
Definition at line 20795 of file test-api.cc.
References CHECK_EQ, CcTest::DisableAutomaticDispose(), Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), Isolate::GetData(), Isolate::GetNumberOfDataSlots(), Isolate::New(), NULL, and Isolate::SetData().
void UnreachableCallback | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
void WithTryCatch | ( | const v8::FunctionCallbackInfo< v8::Value > & | args | ) |
Definition at line 5246 of file test-api.cc.
Referenced by THREADED_TEST().
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.
v8::Persistent<v8::Object> bad_handle |
Definition at line 13510 of file test-api.cc.
v8::Handle<v8::Object> bottom |
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 |
Referenced by RegExpInterruptionThread::Run(), RunBeforeGC(), and TEST().
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.