![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <limits.h>
#include "v8.h"
#include "api.h"
#include "isolate.h"
#include "compilation-cache.h"
#include "execution.h"
#include "snapshot.h"
#include "platform.h"
#include "utils.h"
#include "cctest.h"
#include "parser.h"
#include "unicode-inl.h"
Go to the source code of this file.
Data Structures | |
class | TestResource |
class | TestAsciiResource |
class | TestAsciiResourceWithDisposeControl |
class | WeakCallCounter |
class | NativeFunctionExtension |
class | FunctionExtension |
class | Snorkel |
class | Whammy |
class | RegExpInterruptTest |
class | ApplyInterruptTest |
class | AsciiVectorResource |
class | UC16VectorResource |
class | RegExpStringModificationTest |
class | VisitorImpl |
class | IsolateThread |
class | InitDefaultIsolateThread |
Typedefs | |
typedef v8::Handle< Value >(* | NamedPropertyGetter )(Local< String > property, const AccessorInfo &info) |
Functions | |
THREADED_TEST (Handles) | |
THREADED_TEST (ReceiverSignature) | |
THREADED_TEST (ArgumentSignature) | |
THREADED_TEST (HulIgennem) | |
THREADED_TEST (Access) | |
THREADED_TEST (AccessElement) | |
THREADED_TEST (Script) | |
THREADED_TEST (ScriptUsingStringResource) | |
THREADED_TEST (ScriptUsingAsciiStringResource) | |
THREADED_TEST (ScriptMakingExternalString) | |
THREADED_TEST (ScriptMakingExternalAsciiString) | |
TEST (MakingExternalStringConditions) | |
TEST (MakingExternalAsciiStringConditions) | |
THREADED_TEST (UsingExternalString) | |
THREADED_TEST (UsingExternalAsciiString) | |
THREADED_TEST (ScavengeExternalString) | |
THREADED_TEST (ScavengeExternalAsciiString) | |
TEST (ExternalStringWithDisposeHandling) | |
THREADED_TEST (StringConcat) | |
THREADED_TEST (GlobalProperties) | |
THREADED_TEST (FunctionTemplate) | |
THREADED_TEST (ExternalWrap) | |
THREADED_TEST (FindInstanceInPrototypeChain) | |
THREADED_TEST (TinyInteger) | |
THREADED_TEST (BigSmiInteger) | |
THREADED_TEST (BigInteger) | |
THREADED_TEST (TinyUnsignedInteger) | |
THREADED_TEST (BigUnsignedSmiInteger) | |
THREADED_TEST (BigUnsignedInteger) | |
THREADED_TEST (OutOfSignedRangeUnsignedInteger) | |
THREADED_TEST (IsNativeError) | |
THREADED_TEST (StringObject) | |
THREADED_TEST (NumberObject) | |
THREADED_TEST (BooleanObject) | |
THREADED_TEST (Number) | |
THREADED_TEST (ToNumber) | |
THREADED_TEST (Date) | |
THREADED_TEST (Boolean) | |
THREADED_TEST (GlobalPrototype) | |
THREADED_TEST (ObjectTemplate) | |
THREADED_TEST (DescriptorInheritance) | |
Handle< Value > | SimpleAccessorGetter (Local< String > name, const AccessorInfo &info) |
void | SimpleAccessorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
Handle< Value > | EmptyInterceptorGetter (Local< String > name, const AccessorInfo &info) |
Handle< Value > | EmptyInterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
Handle< Value > | InterceptorGetter (Local< String > name, const AccessorInfo &info) |
Handle< Value > | InterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
void | AddAccessor (Handle< FunctionTemplate > templ, Handle< String > name, v8::AccessorGetter getter, v8::AccessorSetter setter) |
void | AddInterceptor (Handle< FunctionTemplate > templ, v8::NamedPropertyGetter getter, v8::NamedPropertySetter setter) |
THREADED_TEST (EmptyInterceptorDoesNotShadowAccessors) | |
THREADED_TEST (EmptyInterceptorDoesNotShadowJSAccessors) | |
THREADED_TEST (EmptyInterceptorDoesNotAffectJSProperties) | |
THREADED_TEST (SwitchFromInterceptorToAccessor) | |
THREADED_TEST (SwitchFromAccessorToInterceptor) | |
THREADED_TEST (SwitchFromInterceptorToAccessorWithInheritance) | |
THREADED_TEST (SwitchFromAccessorToInterceptorWithInheritance) | |
THREADED_TEST (SwitchFromInterceptorToJSAccessor) | |
THREADED_TEST (SwitchFromJSAccessorToInterceptor) | |
THREADED_TEST (SwitchFromInterceptorToProperty) | |
THREADED_TEST (SwitchFromPropertyToInterceptor) | |
THREADED_TEST (NamedPropertyHandlerGetter) | |
THREADED_TEST (IndexedPropertyHandlerGetter) | |
v8::Handle< Value > | CheckThisIndexedPropertySetter (uint32_t index, Local< Value > value, const AccessorInfo &info) |
v8::Handle< Value > | CheckThisNamedPropertySetter (Local< String > property, Local< Value > value, const AccessorInfo &info) |
v8::Handle< v8::Integer > | CheckThisIndexedPropertyQuery (uint32_t index, const AccessorInfo &info) |
v8::Handle< v8::Integer > | CheckThisNamedPropertyQuery (Local< String > property, const AccessorInfo &info) |
v8::Handle< v8::Boolean > | CheckThisIndexedPropertyDeleter (uint32_t index, const AccessorInfo &info) |
v8::Handle< v8::Boolean > | CheckThisNamedPropertyDeleter (Local< String > property, const AccessorInfo &info) |
v8::Handle< v8::Array > | CheckThisIndexedPropertyEnumerator (const AccessorInfo &info) |
v8::Handle< v8::Array > | CheckThisNamedPropertyEnumerator (const AccessorInfo &info) |
THREADED_TEST (PropertyHandlerInPrototype) | |
THREADED_TEST (PrePropertyHandler) | |
THREADED_TEST (UndefinedIsNotEnumerable) | |
THREADED_TEST (DeepCrossLanguageRecursion) | |
THREADED_TEST (CallbackExceptionRegression) | |
THREADED_TEST (FunctionPrototype) | |
THREADED_TEST (InternalFields) | |
THREADED_TEST (GlobalObjectInternalFields) | |
THREADED_TEST (InternalFieldsNativePointers) | |
THREADED_TEST (InternalFieldsNativePointersAndExternal) | |
THREADED_TEST (IdentityHash) | |
THREADED_TEST (HiddenProperties) | |
THREADED_TEST (Regress97784) | |
THREADED_TEST (HiddenPropertiesWithInterceptors) | |
THREADED_TEST (External) | |
THREADED_TEST (GlobalHandle) | |
THREADED_TEST (ApiObjectGroups) | |
THREADED_TEST (ApiObjectGroupsCycle) | |
THREADED_TEST (ScriptException) | |
THREADED_TEST (MessageHandlerData) | |
THREADED_TEST (GetSetProperty) | |
THREADED_TEST (PropertyAttributes) | |
THREADED_TEST (Array) | |
v8::Handle< Value > | HandleF (const v8::Arguments &args) |
THREADED_TEST (Vector) | |
THREADED_TEST (FunctionCall) | |
TEST (OutOfMemory) | |
v8::Handle< Value > | ProvokeOutOfMemory (const v8::Arguments &args) |
TEST (OutOfMemoryNested) | |
TEST (HugeConsStringOutOfMemory) | |
THREADED_TEST (ConstructCall) | |
THREADED_TEST (ConversionNumber) | |
THREADED_TEST (isNumberType) | |
THREADED_TEST (ConversionException) | |
v8::Handle< Value > | ThrowFromC (const v8::Arguments &args) |
v8::Handle< Value > | CCatcher (const v8::Arguments &args) |
THREADED_TEST (APICatch) | |
THREADED_TEST (APIThrowTryCatch) | |
TEST (TryCatchInTryFinally) | |
TEST (APIThrowMessageOverwrittenToString) | |
TEST (APIThrowMessage) | |
TEST (APIThrowMessageAndVerboseTryCatch) | |
TEST (APIStackOverflowAndVerboseTryCatch) | |
THREADED_TEST (ExternalScriptException) | |
v8::Handle< Value > | CThrowCountDown (const v8::Arguments &args) |
v8::Handle< Value > | JSCheck (const v8::Arguments &args) |
THREADED_TEST (EvalInTryFinally) | |
TEST (ExceptionOrder) | |
v8::Handle< Value > | ThrowValue (const v8::Arguments &args) |
THREADED_TEST (ThrowValues) | |
THREADED_TEST (CatchZero) | |
THREADED_TEST (CatchExceptionFromWith) | |
THREADED_TEST (TryCatchAndFinallyHidingException) | |
v8::Handle< v8::Value > | WithTryCatch (const v8::Arguments &args) |
THREADED_TEST (TryCatchAndFinally) | |
THREADED_TEST (Equality) | |
THREADED_TEST (MultiRun) | |
THREADED_TEST (SimplePropertyRead) | |
THREADED_TEST (DefinePropertyOnAPIAccessor) | |
THREADED_TEST (DefinePropertyOnDefineGetterSetter) | |
THREADED_TEST (DefineAPIAccessorOnObject) | |
THREADED_TEST (DontDeleteAPIAccessorsCannotBeOverriden) | |
THREADED_TEST (ElementAPIAccessor) | |
THREADED_TEST (SimplePropertyWrite) | |
THREADED_TEST (NamedInterceptorPropertyRead) | |
THREADED_TEST (NamedInterceptorDictionaryIC) | |
THREADED_TEST (NamedInterceptorDictionaryICMultipleContext) | |
THREADED_TEST (NamedInterceptorMapTransitionRead) | |
THREADED_TEST (IndexedInterceptorWithIndexedAccessor) | |
Handle< v8::Array > | UnboxedDoubleIndexedPropertyEnumerator (const AccessorInfo &info) |
THREADED_TEST (IndexedInterceptorUnboxedDoubleWithIndexedAccessor) | |
Handle< v8::Array > | NonStrictArgsIndexedPropertyEnumerator (const AccessorInfo &info) |
THREADED_TEST (IndexedInterceptorNonStrictArgsWithIndexedAccessor) | |
THREADED_TEST (IndexedInterceptorWithGetOwnPropertyDescriptor) | |
THREADED_TEST (IndexedInterceptorWithNoSetter) | |
THREADED_TEST (IndexedInterceptorWithAccessorCheck) | |
THREADED_TEST (IndexedInterceptorWithAccessorCheckSwitchedOn) | |
THREADED_TEST (IndexedInterceptorWithDifferentIndices) | |
THREADED_TEST (IndexedInterceptorWithNegativeIndices) | |
THREADED_TEST (IndexedInterceptorWithNotSmiLookup) | |
THREADED_TEST (IndexedInterceptorGoingMegamorphic) | |
THREADED_TEST (IndexedInterceptorReceiverTurningSmi) | |
THREADED_TEST (IndexedInterceptorOnProto) | |
THREADED_TEST (MultiContexts) | |
THREADED_TEST (FunctionPrototypeAcrossContexts) | |
THREADED_TEST (Regress892105) | |
THREADED_TEST (UndetectableObject) | |
THREADED_TEST (VoidLiteral) | |
THREADED_TEST (ExtensibleOnUndetectable) | |
THREADED_TEST (UndetectableString) | |
TEST (UndetectableOptimized) | |
THREADED_TEST (GlobalObjectTemplate) | |
THREADED_TEST (SimpleExtensions) | |
THREADED_TEST (ExtensionMissingSourceLength) | |
THREADED_TEST (ExtensionWithSourceLength) | |
THREADED_TEST (UseEvalFromExtension) | |
THREADED_TEST (UseWithFromExtension) | |
THREADED_TEST (AutoExtensions) | |
THREADED_TEST (SyntaxErrorExtensions) | |
THREADED_TEST (ExceptionExtensions) | |
THREADED_TEST (NativeCallInExtensions) | |
THREADED_TEST (NativeFunctionDeclaration) | |
THREADED_TEST (NativeFunctionDeclarationError) | |
THREADED_TEST (NativeFunctionDeclarationErrorEscape) | |
THREADED_TEST (ExtensionDependency) | |
THREADED_TEST (FunctionLookup) | |
THREADED_TEST (NativeFunctionConstructCall) | |
void | StoringErrorCallback (const char *location, const char *message) |
TEST (ErrorReporting) | |
void | OOMCallback (const char *location, const char *message) |
TEST (RegexpOutOfMemory) | |
THREADED_TEST (ErrorWithMissingScriptInfo) | |
v8::Handle< Value > | WhammyPropertyGetter (Local< String > name, const AccessorInfo &info) |
THREADED_TEST (WeakReference) | |
THREADED_TEST (IndependentWeakHandle) | |
THREADED_TEST (GCFromWeakCallbacks) | |
THREADED_TEST (IndependentHandleRevival) | |
THREADED_TEST (Arguments) | |
THREADED_TEST (Deleter) | |
THREADED_TEST (Enumerators) | |
THREADED_TEST (GetterHolders) | |
THREADED_TEST (PreInterceptorHolders) | |
THREADED_TEST (ObjectInstantiation) | |
int | GetUtf8Length (Handle< String > str) |
THREADED_TEST (StringWrite) | |
THREADED_TEST (Utf16) | |
THREADED_TEST (Utf16Symbol) | |
THREADED_TEST (ToArrayIndex) | |
THREADED_TEST (ErrorConstruction) | |
THREADED_TEST (DeleteAccessor) | |
THREADED_TEST (TypeSwitch) | |
TEST (ApiUncaughtException) | |
TEST (ExceptionInNativeScript) | |
TEST (CompilationErrorUsingTryCatchHandler) | |
TEST (TryCatchFinallyUsingTryCatchHandler) | |
TEST (SecurityHandler) | |
THREADED_TEST (SecurityChecks) | |
THREADED_TEST (SecurityChecksForPrototypeChain) | |
THREADED_TEST (CrossDomainDelete) | |
THREADED_TEST (CrossDomainIsPropertyEnumerable) | |
THREADED_TEST (CrossDomainForIn) | |
TEST (ContextDetachGlobal) | |
TEST (DetachAndReattachGlobal) | |
TEST (AccessControl) | |
TEST (AccessControlES5) | |
THREADED_TEST (AccessControlGetOwnPropertyNames) | |
THREADED_TEST (GetOwnPropertyNamesWithInterceptor) | |
THREADED_TEST (CrossDomainAccessors) | |
TEST (AccessControlIC) | |
THREADED_TEST (AccessControlFlatten) | |
THREADED_TEST (AccessControlInterceptorIC) | |
THREADED_TEST (Version) | |
THREADED_TEST (InstanceProperties) | |
THREADED_TEST (GlobalObjectInstanceProperties) | |
THREADED_TEST (CallKnownGlobalReceiver) | |
THREADED_TEST (ShadowObject) | |
THREADED_TEST (HiddenPrototype) | |
THREADED_TEST (SetPrototype) | |
THREADED_TEST (Regress91517) | |
THREADED_TEST (FunctionReadOnlyPrototype) | |
THREADED_TEST (SetPrototypeThrows) | |
THREADED_TEST (GetterSetterExceptions) | |
THREADED_TEST (Constructor) | |
THREADED_TEST (ConstructorForObject) | |
THREADED_TEST (FunctionDescriptorException) | |
THREADED_TEST (EvalAliasedDynamic) | |
THREADED_TEST (CrossEval) | |
THREADED_TEST (EvalInDetachedGlobal) | |
THREADED_TEST (CrossLazyLoad) | |
THREADED_TEST (CallAsFunction) | |
THREADED_TEST (CallableObject) | |
THREADED_TEST (HandleIteration) | |
THREADED_TEST (InterceptorHasOwnProperty) | |
THREADED_TEST (InterceptorHasOwnPropertyCausingGC) | |
THREADED_TEST (InterceptorLoadIC) | |
THREADED_TEST (InterceptorLoadICWithFieldOnHolder) | |
THREADED_TEST (InterceptorLoadICWithSubstitutedProto) | |
THREADED_TEST (InterceptorLoadICWithPropertyOnProto) | |
THREADED_TEST (InterceptorLoadICUndefined) | |
THREADED_TEST (InterceptorLoadICWithOverride) | |
THREADED_TEST (InterceptorLoadICFieldNotNeeded) | |
THREADED_TEST (InterceptorLoadICInvalidatedField) | |
THREADED_TEST (InterceptorLoadICPostInterceptor) | |
THREADED_TEST (InterceptorLoadICInvalidatedFieldViaGlobal) | |
THREADED_TEST (InterceptorLoadICWithCallbackOnHolder) | |
THREADED_TEST (InterceptorLoadICWithCallbackOnProto) | |
THREADED_TEST (InterceptorLoadICForCallbackWithOverride) | |
THREADED_TEST (InterceptorLoadICCallbackNotNeeded) | |
THREADED_TEST (InterceptorLoadICInvalidatedCallback) | |
THREADED_TEST (InterceptorLoadICInvalidatedCallbackViaGlobal) | |
THREADED_TEST (InterceptorReturningZero) | |
THREADED_TEST (InterceptorStoreIC) | |
THREADED_TEST (InterceptorStoreICWithNoSetter) | |
THREADED_TEST (InterceptorCallIC) | |
THREADED_TEST (InterceptorCallICSeesOthers) | |
THREADED_TEST (InterceptorCallICCacheableNotNeeded) | |
THREADED_TEST (InterceptorCallICInvalidatedCacheable) | |
THREADED_TEST (InterceptorCallICConstantFunctionUsed) | |
THREADED_TEST (InterceptorCallICConstantFunctionNotNeeded) | |
THREADED_TEST (InterceptorCallICConstantFunctionNotNeededWrapped) | |
THREADED_TEST (InterceptorCallICInvalidatedConstantFunction) | |
THREADED_TEST (InterceptorCallICInvalidatedConstantFunctionViaGlobal) | |
THREADED_TEST (InterceptorCallICCachedFromGlobal) | |
v8::Handle< v8::Value > | DirectApiCallback (const v8::Arguments &args) |
THREADED_TEST (CallICFastApi_DirectCall_GCMoveStub) | |
v8::Handle< v8::Value > | ThrowingDirectApiCallback (const v8::Arguments &args) |
THREADED_TEST (CallICFastApi_DirectCall_Throw) | |
v8::Handle< v8::Value > | DirectGetterCallback (Local< String > name, const v8::AccessorInfo &info) |
THREADED_TEST (LoadICFastApi_DirectCall_GCMoveStub) | |
v8::Handle< v8::Value > | ThrowingDirectGetterCallback (Local< String > name, const v8::AccessorInfo &info) |
THREADED_TEST (LoadICFastApi_DirectCall_Throw) | |
THREADED_TEST (InterceptorCallICFastApi_TrivialSignature) | |
THREADED_TEST (InterceptorCallICFastApi_SimpleSignature) | |
THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss1) | |
THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss2) | |
THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_Miss3) | |
THREADED_TEST (InterceptorCallICFastApi_SimpleSignature_TypeError) | |
THREADED_TEST (CallICFastApi_TrivialSignature) | |
THREADED_TEST (CallICFastApi_SimpleSignature) | |
THREADED_TEST (CallICFastApi_SimpleSignature_Miss1) | |
THREADED_TEST (CallICFastApi_SimpleSignature_Miss2) | |
THREADED_TEST (InterceptorKeyedCallICKeyChange1) | |
THREADED_TEST (InterceptorKeyedCallICKeyChange2) | |
THREADED_TEST (InterceptorKeyedCallICKeyChangeOnGlobal) | |
THREADED_TEST (InterceptorKeyedCallICFromGlobal) | |
THREADED_TEST (InterceptorKeyedCallICMapChangeBefore) | |
THREADED_TEST (InterceptorKeyedCallICMapChangeAfter) | |
THREADED_TEST (InterceptorICReferenceErrors) | |
THREADED_TEST (InterceptorICGetterExceptions) | |
THREADED_TEST (InterceptorICSetterExceptions) | |
THREADED_TEST (NullNamedInterceptor) | |
THREADED_TEST (NullIndexedInterceptor) | |
THREADED_TEST (NamedPropertyHandlerGetterAttributes) | |
THREADED_TEST (VariousGetPropertiesAndThrowingCallbacks) | |
THREADED_TEST (ExceptionsDoNotPropagatePastTryCatch) | |
THREADED_TEST (Overriding) | |
THREADED_TEST (IsConstructCall) | |
THREADED_TEST (ObjectProtoToString) | |
THREADED_TEST (ObjectGetConstructorName) | |
TEST (Threading) | |
TEST (Threading2) | |
TEST (Threading3) | |
TEST (Threading4) | |
TEST (NestedLockers) | |
TEST (NestedLockersNoTryCatch) | |
THREADED_TEST (RecursiveLocking) | |
THREADED_TEST (LockUnlockLock) | |
TEST (DontLeakGlobalObjects) | |
void | NewPersistentHandleCallback (v8::Persistent< v8::Value > handle, void *) |
THREADED_TEST (NewPersistentHandleFromWeakCallback) | |
void | DisposeAndForceGcCallback (v8::Persistent< v8::Value > handle, void *) |
THREADED_TEST (DoNotUseDeletedNodesInSecondLevelGc) | |
void | DisposingCallback (v8::Persistent< v8::Value > handle, void *) |
void | HandleCreatingCallback (v8::Persistent< v8::Value > handle, void *) |
THREADED_TEST (NoGlobalHandlesOrphaningDueToWeakCallback) | |
THREADED_TEST (CheckForCrossContextObjectLiterals) | |
THREADED_TEST (NestedHandleScopeAndContexts) | |
THREADED_TEST (ExternalAllocatedMemory) | |
THREADED_TEST (DisposeEnteredContext) | |
THREADED_TEST (Regress54) | |
TEST (CatchStackOverflow) | |
THREADED_TEST (TryCatchSourceInfo) | |
THREADED_TEST (CompilationCache) | |
THREADED_TEST (CallbackFunctionName) | |
THREADED_TEST (DateAccess) | |
void | CheckProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[]) |
void | CheckOwnProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[]) |
THREADED_TEST (PropertyEnumeration) | |
THREADED_TEST (PropertyEnumeration2) | |
THREADED_TEST (DisableAccessChecksWhileConfiguring) | |
THREADED_TEST (AccessChecksReenabledCorrectly) | |
THREADED_TEST (AccessControlRepeatedContextCreation) | |
THREADED_TEST (TurnOnAccessCheck) | |
THREADED_TEST (TurnOnAccessCheckAndRecompile) | |
TEST (PreCompile) | |
TEST (PreCompileWithError) | |
TEST (Regress31661) | |
TEST (PreCompileSerialization) | |
TEST (PreCompileDeserializationError) | |
TEST (PreCompileInvalidPreparseDataError) | |
TEST (PreCompileAPIVariationsAreSame) | |
THREADED_TEST (DictionaryICLoadedFunction) | |
THREADED_TEST (CrossContextNew) | |
TEST (RegExpInterruption) | |
TEST (ApplyInterruption) | |
TEST (ObjectClone) | |
THREADED_TEST (MorphCompositeStringTest) | |
TEST (CompileExternalTwoByteSource) | |
TEST (RegExpStringModification) | |
TEST (ReadOnlyPropertyInGlobalProto) | |
TEST (ForceSet) | |
TEST (ForceSetWithInterceptor) | |
THREADED_TEST (ForceDelete) | |
THREADED_TEST (ForceDeleteWithInterceptor) | |
THREADED_TEST (ForceDeleteIC) | |
TEST (InlinedFunctionAcrossContexts) | |
THREADED_TEST (GetCallingContext) | |
THREADED_TEST (InitGlobalVarInProtoChain) | |
THREADED_TEST (ReplaceConstantFunction) | |
THREADED_TEST (Regress16276) | |
THREADED_TEST (PixelArray) | |
THREADED_TEST (PixelArrayInfo) | |
THREADED_TEST (PixelArrayWithInterceptor) | |
THREADED_TEST (ExternalByteArray) | |
THREADED_TEST (ExternalUnsignedByteArray) | |
THREADED_TEST (ExternalPixelArray) | |
THREADED_TEST (ExternalShortArray) | |
THREADED_TEST (ExternalUnsignedShortArray) | |
THREADED_TEST (ExternalIntArray) | |
THREADED_TEST (ExternalUnsignedIntArray) | |
THREADED_TEST (ExternalFloatArray) | |
THREADED_TEST (ExternalDoubleArray) | |
THREADED_TEST (ExternalArrays) | |
void | ExternalArrayInfoTestHelper (v8::ExternalArrayType array_type) |
THREADED_TEST (ExternalArrayInfo) | |
THREADED_TEST (ScriptContextDependence) | |
THREADED_TEST (StackTrace) | |
void | checkStackFrame (const char *expected_script_name, const char *expected_func_name, int expected_line_number, int expected_column, bool is_eval, bool is_constructor, v8::Handle< v8::StackFrame > frame) |
v8::Handle< Value > | AnalyzeStackInNativeCode (const v8::Arguments &args) |
TEST (CaptureStackTrace) | |
TEST (CaptureStackTraceForUncaughtException) | |
TEST (CaptureStackTraceForUncaughtExceptionAndSetters) | |
TEST (RethrowStackTrace) | |
TEST (RethrowPrimitiveStackTrace) | |
TEST (RethrowExistingStackTrace) | |
TEST (RethrowBogusErrorStackTrace) | |
v8::Handle< Value > | AnalyzeStackOfEvalWithSourceURL (const v8::Arguments &args) |
TEST (SourceURLInStackTrace) | |
TEST (IdleNotification) | |
TEST (IdleNotificationWithSmallHint) | |
TEST (IdleNotificationWithLargeHint) | |
TEST (Regress2107) | |
TEST (SetResourceConstraints) | |
TEST (SetResourceConstraintsInThread) | |
THREADED_TEST (GetHeapStatistics) | |
TEST (VisitExternalStrings) | |
THREADED_TEST (QuietSignalingNaNs) | |
THREADED_TEST (SpaghettiStackReThrow) | |
TEST (Regress528) | |
THREADED_TEST (ScriptOrigin) | |
THREADED_TEST (FunctionGetInferredName) | |
THREADED_TEST (ScriptLineNumber) | |
THREADED_TEST (ScriptColumnNumber) | |
THREADED_TEST (FunctionGetScriptId) | |
TEST (SetterOnConstructorPrototype) | |
THREADED_TEST (InterceptorOnConstructorPrototype) | |
TEST (Bug618) | |
void | PrologueCallback (v8::GCType, v8::GCCallbackFlags) |
void | EpilogueCallback (v8::GCType, v8::GCCallbackFlags) |
void | PrologueCallbackSecond (v8::GCType, v8::GCCallbackFlags) |
void | EpilogueCallbackSecond (v8::GCType, v8::GCCallbackFlags) |
TEST (GCCallbacks) | |
THREADED_TEST (AddToJSFunctionResultCache) | |
THREADED_TEST (FillJSFunctionResultCache) | |
THREADED_TEST (RoundRobinGetFromCache) | |
THREADED_TEST (ReverseGetFromCache) | |
THREADED_TEST (TestEviction) | |
THREADED_TEST (TwoByteStringInAsciiCons) | |
void | FailedAccessCheckCallbackGC (Local< v8::Object > target, v8::AccessType type, Local< v8::Value > data) |
TEST (GCInFailedAccessCheckCallback) | |
TEST (DefaultIsolateGetCurrent) | |
TEST (IsolateNewDispose) | |
TEST (IsolateEnterExitDefault) | |
TEST (DisposeDefaultIsolate) | |
TEST (RunDefaultAndAnotherIsolate) | |
TEST (DisposeIsolateWhenInUse) | |
TEST (RunTwoIsolatesOnSingleThread) | |
TEST (MultipleIsolatesOnIndividualThreads) | |
TEST (IsolateDifferentContexts) | |
TEST (InitializeDefaultIsolateOnSecondaryThread1) | |
TEST (InitializeDefaultIsolateOnSecondaryThread2) | |
TEST (InitializeDefaultIsolateOnSecondaryThread3) | |
TEST (InitializeDefaultIsolateOnSecondaryThread4) | |
TEST (InitializeDefaultIsolateOnSecondaryThread5) | |
TEST (InitializeDefaultIsolateOnSecondaryThread6) | |
TEST (StringCheckMultipleContexts) | |
TEST (NumberCheckMultipleContexts) | |
TEST (BooleanCheckMultipleContexts) | |
TEST (DontDeleteCellLoadIC) | |
TEST (DontDeleteCellLoadICForceDelete) | |
TEST (DontDeleteCellLoadICAPI) | |
TEST (RegExp) | |
THREADED_TEST (Equals) | |
TEST (NamedEnumeratorAndForIn) | |
TEST (DefinePropertyPostDetach) | |
THREADED_TEST (CreationContext) | |
THREADED_TEST (CreationContextOfJsFunction) | |
Handle< Value > | HasOwnPropertyIndexedPropertyGetter (uint32_t index, const AccessorInfo &info) |
Handle< Value > | HasOwnPropertyNamedPropertyGetter (Local< String > property, const AccessorInfo &info) |
Handle< v8::Integer > | HasOwnPropertyIndexedPropertyQuery (uint32_t index, const AccessorInfo &info) |
Handle< v8::Integer > | HasOwnPropertyNamedPropertyQuery (Local< String > property, const AccessorInfo &info) |
Handle< v8::Integer > | HasOwnPropertyNamedPropertyQuery2 (Local< String > property, const AccessorInfo &info) |
Handle< Value > | HasOwnPropertyAccessorGetter (Local< String > property, const AccessorInfo &info) |
TEST (HasOwnProperty) | |
void | CheckCodeGenerationAllowed () |
void | CheckCodeGenerationDisallowed () |
bool | CodeGenerationAllowed (Local< Context > context) |
bool | CodeGenerationDisallowed (Local< Context > context) |
THREADED_TEST (AllowCodeGenFromStrings) | |
THREADED_TEST (CallAPIFunctionOnNonObject) | |
THREADED_TEST (ReadOnlyIndexedProperties) | |
THREADED_TEST (Regress1516) | |
THREADED_TEST (Regress93759) | |
THREADED_TEST (Regress125988) | |
THREADED_TEST (ForeignFunctionReceiver) | |
void | CallCompletedCallback1 () |
void | CallCompletedCallback2 () |
Handle< Value > | RecursiveCall (const Arguments &args) |
TEST (CallCompletedCallback) | |
void | CallCompletedCallbackNoException () |
void | CallCompletedCallbackException () |
TEST (CallCompletedCallbackOneException) | |
TEST (CallCompletedCallbackTwoExceptions) | |
TEST (SecondaryStubCache) | |
TEST (PrimaryStubCache) | |
TEST (StaticGetters) | |
TEST (IsolateEmbedderData) | |
TEST (StringEmpty) | |
THREADED_TEST (InstanceCheckOnInstanceAccessor) | |
THREADED_TEST (InstanceCheckOnInstanceAccessorWithInterceptor) | |
THREADED_TEST (InstanceCheckOnPrototypeAccessor) | |
TEST (TryFinallyMessage) | |
Variables | |
int | echo_named_call_count |
int | echo_indexed_call_count = 0 |
v8::Handle< v8::Object > | bottom |
v8::Handle< Script > | call_recursively_script |
bool | message_received |
v8::Persistent< Value > | xValue |
int | global_index = 0 |
v8::Handle< Function > | args_fun |
int | p_getter_count |
int | p_getter_count2 |
v8::Handle< Value > | call_ic_function |
v8::Handle< Value > | call_ic_function2 |
v8::Handle< Value > | call_ic_function3 |
v8::Handle< Value > | keyed_call_ic_function |
v8::Persistent< v8::Object > | some_object |
v8::Persistent< v8::Object > | bad_handle |
v8::Persistent< v8::Object > | to_be_disposed |
bool | pass_on_get = false |
v8::Persistent< Context > | calling_context0 |
v8::Persistent< Context > | calling_context1 |
v8::Persistent< Context > | calling_context2 |
int | prologue_call_count = 0 |
int | epilogue_call_count = 0 |
int | prologue_call_count_second = 0 |
int | epilogue_call_count_second = 0 |
uint8_t | callback_fired = 0 |
typedef v8::Handle<Value>(* NamedPropertyGetter)(Local< String > property, const AccessorInfo &info) |
Definition at line 8591 of file test-api.cc.
void AddAccessor | ( | Handle< FunctionTemplate > | templ, |
Handle< String > | name, | ||
v8::AccessorGetter | getter, | ||
v8::AccessorSetter | setter | ||
) |
Definition at line 1352 of file test-api.cc.
Referenced by THREADED_TEST().
void AddInterceptor | ( | Handle< FunctionTemplate > | templ, |
v8::NamedPropertyGetter | getter, | ||
v8::NamedPropertySetter | setter | ||
) |
Definition at line 1359 of file test-api.cc.
Referenced by THREADED_TEST().
v8::Handle<Value> AnalyzeStackInNativeCode | ( | const v8::Arguments & | args | ) |
Definition at line 13675 of file test-api.cc.
References StackTrace::AsArray(), ASSERT, CHECK, CHECK_EQ, checkStackFrame(), StackTrace::CurrentStackTrace(), StackTrace::GetFrame(), StackTrace::GetFrameCount(), StackTrace::kDetailed, StackTrace::kOverview, Arguments::Length(), NULL, and v8::Undefined().
Referenced by TEST().
v8::Handle<Value> AnalyzeStackOfEvalWithSourceURL | ( | const v8::Arguments & | args | ) |
Definition at line 13962 of file test-api.cc.
References CHECK, CHECK_EQ, StackTrace::CurrentStackTrace(), StackTrace::GetFrame(), StackTrace::GetFrameCount(), Handle< T >::IsEmpty(), StackTrace::kDetailed, and v8::Undefined().
Referenced by TEST().
void CallCompletedCallback1 | ( | ) |
void CallCompletedCallback2 | ( | ) |
void CallCompletedCallbackException | ( | ) |
Definition at line 16419 of file test-api.cc.
Referenced by TEST().
void CallCompletedCallbackNoException | ( | ) |
Definition at line 16413 of file test-api.cc.
Referenced by TEST().
v8::Handle<Value> CCatcher | ( | const v8::Arguments & | args | ) |
Definition at line 2939 of file test-api.cc.
References CHECK, Script::Compile(), v8::False(), TryCatch::HasCaught(), Arguments::Length(), and Boolean::New().
Referenced by TEST().
void CheckCodeGenerationAllowed | ( | ) |
void CheckCodeGenerationDisallowed | ( | ) |
void CheckOwnProperties | ( | v8::Handle< v8::Value > | val, |
int | elmc, | ||
const char * | elmv[] | ||
) |
Definition at line 11051 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, Object::GetOwnPropertyNames(), and Integer::New().
Referenced by THREADED_TEST().
void CheckProperties | ( | v8::Handle< v8::Value > | val, |
int | elmc, | ||
const char * | elmv[] | ||
) |
Definition at line 11040 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, Object::GetPropertyNames(), and Integer::New().
Referenced by THREADED_TEST().
void checkStackFrame | ( | const char * | expected_script_name, |
const char * | expected_func_name, | ||
int | expected_line_number, | ||
int | expected_column, | ||
bool | is_eval, | ||
bool | is_constructor, | ||
v8::Handle< v8::StackFrame > | frame | ||
) |
Definition at line 13654 of file test-api.cc.
References CHECK, CHECK_EQ, StackFrame::GetColumn(), StackFrame::GetFunctionName(), StackFrame::GetLineNumber(), StackFrame::GetScriptName(), StackFrame::IsConstructor(), StackFrame::IsEval(), and NULL.
Referenced by AnalyzeStackInNativeCode().
v8::Handle<v8::Boolean> CheckThisIndexedPropertyDeleter | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Definition at line 1678 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Array> CheckThisIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 1696 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Integer> CheckThisIndexedPropertyQuery | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Definition at line 1661 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<Value> CheckThisIndexedPropertySetter | ( | uint32_t | index, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1644 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Boolean> CheckThisNamedPropertyDeleter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 1687 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Array> CheckThisNamedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 1704 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Integer> CheckThisNamedPropertyQuery | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 1670 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<Value> CheckThisNamedPropertySetter | ( | Local< String > | property, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1653 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
bool CodeGenerationAllowed | ( | Local< Context > | context | ) |
Definition at line 16004 of file test-api.cc.
References ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
bool CodeGenerationDisallowed | ( | Local< Context > | context | ) |
Definition at line 16010 of file test-api.cc.
References ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<Value> CThrowCountDown | ( | const v8::Arguments & | args | ) |
Definition at line 3132 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), TryCatch::HasCaught(), Arguments::Length(), and v8::ThrowException().
Referenced by TEST().
v8::Handle<v8::Value> DirectApiCallback | ( | const v8::Arguments & | args | ) |
v8::Handle<v8::Value> DirectGetterCallback | ( | Local< String > | name, |
const v8::AccessorInfo & | info | ||
) |
void DisposeAndForceGcCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10782 of file test-api.cc.
References Persistent< T >::Dispose(), HEAP, and Heap::kNoGCFlags.
Referenced by THREADED_TEST().
void DisposingCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10803 of file test-api.cc.
References Persistent< T >::Dispose().
Referenced by THREADED_TEST().
Handle<Value> EmptyInterceptorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1315 of file test-api.cc.
Referenced by THREADED_TEST().
Handle<Value> EmptyInterceptorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1320 of file test-api.cc.
Referenced by THREADED_TEST().
void EpilogueCallback | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
void EpilogueCallbackSecond | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
Definition at line 14727 of file test-api.cc.
References epilogue_call_count_second.
Referenced by TEST().
void ExternalArrayInfoTestHelper | ( | v8::ExternalArrayType | array_type | ) |
Definition at line 13592 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetIndexedPropertiesExternalArrayData(), Object::GetIndexedPropertiesExternalArrayDataLength(), Object::GetIndexedPropertiesExternalArrayDataType(), Object::HasIndexedPropertiesInExternalArrayData(), Object::New(), and Object::SetIndexedPropertiesToExternalArrayData().
Referenced by THREADED_TEST().
void FailedAccessCheckCallbackGC | ( | Local< v8::Object > | target, |
v8::AccessType | type, | ||
Local< v8::Value > | data | ||
) |
Definition at line 14971 of file test-api.cc.
References HEAP, and Heap::kNoGCFlags.
Referenced by TEST().
int GetUtf8Length | ( | Handle< String > | str | ) |
Definition at line 5529 of file test-api.cc.
References v8::internal::FlattenString(), and Utils::OpenHandle().
Referenced by THREADED_TEST().
void HandleCreatingCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10807 of file test-api.cc.
References Persistent< T >::Dispose(), Persistent< T >::New(), and Object::New().
Referenced by THREADED_TEST().
v8::Handle<Value> HandleF | ( | const v8::Arguments & | args | ) |
Definition at line 2517 of file test-api.cc.
References HandleScope::Close(), ApiTestFuzzer::Fuzz(), Arguments::Length(), and Object::New().
Referenced by THREADED_TEST().
Handle<Value> HasOwnPropertyAccessorGetter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 15896 of file test-api.cc.
Referenced by TEST().
Handle<Value> HasOwnPropertyIndexedPropertyGetter | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Definition at line 15861 of file test-api.cc.
Referenced by TEST().
Handle<v8::Integer> HasOwnPropertyIndexedPropertyQuery | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Handle<Value> HasOwnPropertyNamedPropertyGetter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 15868 of file test-api.cc.
Referenced by TEST().
Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery2 | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Handle<Value> InterceptorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1326 of file test-api.cc.
Referenced by THREADED_TEST().
Handle<Value> InterceptorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1340 of file test-api.cc.
Referenced by THREADED_TEST().
v8::Handle<Value> JSCheck | ( | const v8::Arguments & | args | ) |
Definition at line 3165 of file test-api.cc.
References CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::Undefined().
Referenced by TEST().
void NewPersistentHandleCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10753 of file test-api.cc.
References Persistent< T >::Dispose(), and Persistent< T >::New().
Referenced by THREADED_TEST().
Handle<v8::Array> NonStrictArgsIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 3948 of file test-api.cc.
References Object::Cast().
Referenced by THREADED_TEST().
void OOMCallback | ( | const char * | location, |
const char * | message | ||
) |
Definition at line 4996 of file test-api.cc.
Referenced by TEST().
void PrologueCallback | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
void PrologueCallbackSecond | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
Definition at line 14723 of file test-api.cc.
References prologue_call_count_second.
Referenced by TEST().
v8::Handle<Value> ProvokeOutOfMemory | ( | const v8::Arguments & | args | ) |
Definition at line 2647 of file test-api.cc.
References CHECK, ApiTestFuzzer::Fuzz(), and Context::HasOutOfMemoryException().
Referenced by TEST().
Handle<Value> RecursiveCall | ( | const Arguments & | args | ) |
Definition at line 16361 of file test-api.cc.
References CHECK_EQ, OS::Print(), OS::SNPrintF(), Vector< T >::start(), and v8::Undefined().
Referenced by TEST().
Handle<Value> SimpleAccessorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1303 of file test-api.cc.
Referenced by THREADED_TEST().
void SimpleAccessorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1309 of file test-api.cc.
Referenced by THREADED_TEST().
void StoringErrorCallback | ( | const char * | location, |
const char * | message | ||
) |
TEST | ( | MakingExternalStringConditions | ) |
Definition at line 484 of file test-api.cc.
References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.
TEST | ( | MakingExternalAsciiStringConditions | ) |
Definition at line 530 of file test-api.cc.
References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.
TEST | ( | ExternalStringWithDisposeHandling | ) |
Definition at line 665 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, and v8::internal::StrDup().
TEST | ( | OutOfMemory | ) |
Definition at line 2623 of file test-api.cc.
References CHECK, Context::HasOutOfMemoryException(), V8::IgnoreOutOfMemoryException(), Snapshot::IsEnabled(), ResourceConstraints::set_max_old_space_size(), ResourceConstraints::set_max_young_space_size(), and v8::SetResourceConstraints().
TEST | ( | OutOfMemoryNested | ) |
Definition at line 2664 of file test-api.cc.
References CHECK, Context::HasOutOfMemoryException(), V8::IgnoreOutOfMemoryException(), Snapshot::IsEnabled(), FunctionTemplate::New(), ProvokeOutOfMemory(), ResourceConstraints::set_max_old_space_size(), ResourceConstraints::set_max_young_space_size(), and v8::SetResourceConstraints().
TEST | ( | HugeConsStringOutOfMemory | ) |
Definition at line 2693 of file test-api.cc.
References CHECK, Context::HasOutOfMemoryException(), V8::IgnoreOutOfMemoryException(), Snapshot::IsEnabled(), ResourceConstraints::set_max_old_space_size(), ResourceConstraints::set_max_young_space_size(), and v8::SetResourceConstraints().
TEST | ( | TryCatchInTryFinally | ) |
Definition at line 2986 of file test-api.cc.
References CCatcher(), CHECK, and FunctionTemplate::New().
TEST | ( | APIThrowMessageOverwrittenToString | ) |
Definition at line 3021 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Value::Equals(), Fail(), FunctionTemplate::New(), NULL, and V8::RemoveMessageListeners().
TEST | ( | APIThrowMessage | ) |
Definition at line 3066 of file test-api.cc.
References V8::AddMessageListener(), CHECK, FunctionTemplate::New(), V8::RemoveMessageListeners(), and ThrowFromC().
TEST | ( | APIThrowMessageAndVerboseTryCatch | ) |
Definition at line 3080 of file test-api.cc.
References V8::AddMessageListener(), CHECK, TryCatch::HasCaught(), FunctionTemplate::New(), V8::RemoveMessageListeners(), TryCatch::SetVerbose(), and ThrowFromC().
TEST | ( | APIStackOverflowAndVerboseTryCatch | ) |
Definition at line 3098 of file test-api.cc.
References V8::AddMessageListener(), CHECK, TryCatch::HasCaught(), V8::RemoveMessageListeners(), and TryCatch::SetVerbose().
TEST | ( | ExceptionOrder | ) |
Definition at line 3215 of file test-api.cc.
References CThrowCountDown(), Context::Global(), JSCheck(), and FunctionTemplate::New().
TEST | ( | UndetectableOptimized | ) |
Definition at line 4521 of file test-api.cc.
References Context::Global().
TEST | ( | ErrorReporting | ) |
Definition at line 4974 of file test-api.cc.
References CHECK, CHECK_NE, Handle< T >::IsEmpty(), NULL, v8::RegisterExtension(), V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RegexpOutOfMemory | ) |
Definition at line 5001 of file test-api.cc.
References CHECK, NULL, OOMCallback(), and V8::SetFatalErrorHandler().
TEST | ( | ApiUncaughtException | ) |
Definition at line 6139 of file test-api.cc.
References V8::AddMessageListener(), CHECK, CHECK_EQ, Object::Get(), Context::Global(), FunctionTemplate::New(), NULL, V8::RemoveMessageListeners(), and Object::Set().
TEST | ( | ExceptionInNativeScript | ) |
Definition at line 6179 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Object::Get(), Context::Global(), String::New(), FunctionTemplate::New(), NULL, V8::RemoveMessageListeners(), and Object::Set().
TEST | ( | CompilationErrorUsingTryCatchHandler | ) |
Definition at line 6199 of file test-api.cc.
References CHECK, CHECK_NE, TryCatch::Exception(), TryCatch::HasCaught(), and NULL.
TEST | ( | TryCatchFinallyUsingTryCatchHandler | ) |
Definition at line 6209 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), and TryCatch::Reset().
TEST | ( | SecurityHandler | ) |
Definition at line 6230 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), Object::Get(), Context::Global(), Value::Int32Value(), ObjectTemplate::New(), NULL, Script::Run(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
TEST | ( | ContextDetachGlobal | ) |
Definition at line 6506 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), foo, Context::Global(), Integer::New(), NULL, and Context::SetSecurityToken().
TEST | ( | DetachAndReattachGlobal | ) |
Definition at line 6570 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), foo, Context::Global(), Integer::New(), and Context::SetSecurityToken().
TEST | ( | AccessControl | ) |
Definition at line 6696 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, Persistent< T >::Dispose(), Object::Get(), Value::Int32Value(), Value::IsNumber(), ObjectTemplate::New(), NULL, Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), and ObjectTemplate::SetAccessor().
TEST | ( | AccessControlES5 | ) |
Definition at line 6940 of file test-api.cc.
References v8::ALL_CAN_READ, v8::ALL_CAN_WRITE, CHECK, CHECK_EQ, v8::DEFAULT, Value::IsTrue(), ObjectTemplate::New(), NULL, Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), and ObjectTemplate::SetAccessor().
TEST | ( | AccessControlIC | ) |
Definition at line 7175 of file test-api.cc.
References Value::BooleanValue(), CHECK, CHECK_EQ, Persistent< T >::Dispose(), Value::Int32Value(), Value::IsNumber(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
TEST | ( | Threading | ) |
Definition at line 10527 of file test-api.cc.
References ApiTestFuzzer::FIRST_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading2 | ) |
Definition at line 10533 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SECOND_PART, ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading3 | ) |
Definition at line 10539 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), ApiTestFuzzer::TearDown(), and ApiTestFuzzer::THIRD_PART.
TEST | ( | Threading4 | ) |
Definition at line 10545 of file test-api.cc.
References ApiTestFuzzer::FOURTH_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | NestedLockers | ) |
Definition at line 10600 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Locker::IsLocked(), and FunctionTemplate::New().
TEST | ( | NestedLockersNoTryCatch | ) |
Definition at line 10622 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
TEST | ( | DontLeakGlobalObjects | ) |
Definition at line 10716 of file test-api.cc.
References V8::Initialize().
TEST | ( | CatchStackOverflow | ) |
Definition at line 10922 of file test-api.cc.
References CHECK, Script::Compile(), Handle< T >::IsEmpty(), String::New(), and Script::Run().
TEST | ( | PreCompile | ) |
Definition at line 11396 of file test-api.cc.
References CHECK, CHECK_NE, ScriptData::Data(), ScriptData::HasError(), V8::Initialize(), ScriptData::Length(), NULL, ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileWithError | ) |
Definition at line 11410 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | Regress31661 | ) |
Definition at line 11420 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileSerialization | ) |
Definition at line 11431 of file test-api.cc.
References CHECK_EQ, ScriptData::Data(), ScriptData::HasError(), V8::Initialize(), ScriptData::Length(), ScriptData::New(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileDeserializationError | ) |
Definition at line 11457 of file test-api.cc.
References CHECK_EQ, V8::Initialize(), ScriptData::Length(), and ScriptData::New().
TEST | ( | PreCompileInvalidPreparseDataError | ) |
Definition at line 11470 of file test-api.cc.
References CHECK, CHECK_EQ, ScriptData::Data(), TryCatch::HasCaught(), ScriptData::HasError(), V8::Initialize(), PreparseDataConstants::kHeaderSize, TryCatch::Message(), NULL, ScriptData::PreCompile(), TryCatch::Reset(), and v8::internal::StrLength().
TEST | ( | PreCompileAPIVariationsAreSame | ) |
Definition at line 11517 of file test-api.cc.
References CHECK_EQ, ScriptData::Data(), V8::Initialize(), ScriptData::Length(), String::New(), String::NewExternal(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | RegExpInterruption | ) |
Definition at line 11709 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and RegExpInterruptTest::RunTest().
TEST | ( | ApplyInterruption | ) |
Definition at line 11818 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and ApplyInterruptTest::RunTest().
TEST | ( | ObjectClone | ) |
Definition at line 11840 of file test-api.cc.
References CHECK, CHECK_EQ, Integer::New(), sample, and Object::Set().
TEST | ( | CompileExternalTwoByteSource | ) |
Definition at line 11991 of file test-api.cc.
References Script::Compile(), v8::internal::DeleteArray(), String::NewExternal(), NULL, and v8::internal::StrLength().
TEST | ( | RegExpStringModification | ) |
Definition at line 12131 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and RegExpStringModificationTest::RunTest().
TEST | ( | ReadOnlyPropertyInGlobalProto | ) |
Definition at line 12154 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), Integer::New(), ObjectTemplate::New(), v8::ReadOnly, and Object::Set().
TEST | ( | ForceSet | ) |
Definition at line 12204 of file test-api.cc.
References CHECK_EQ, Object::ForceSet(), Object::Get(), Context::Global(), String::New(), Integer::New(), ObjectTemplate::New(), NULL, v8::ReadOnly, Object::Set(), and ObjectTemplate::SetAccessor().
TEST | ( | ForceSetWithInterceptor | ) |
Definition at line 12245 of file test-api.cc.
References CHECK, CHECK_EQ, Object::ForceSet(), Object::Get(), Context::Global(), String::New(), Integer::New(), ObjectTemplate::New(), NULL, Object::Set(), and ObjectTemplate::SetNamedPropertyHandler().
TEST | ( | InlinedFunctionAcrossContexts | ) |
Definition at line 12382 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), foo, Value::Int32Value(), String::New(), and Context::New().
TEST | ( | CaptureStackTrace | ) |
Definition at line 13730 of file test-api.cc.
References AnalyzeStackInNativeCode(), CHECK, Handle< T >::IsEmpty(), Value::IsObject(), Script::New(), String::New(), Integer::New(), FunctionTemplate::New(), and Script::Run().
TEST | ( | CaptureStackTraceForUncaughtException | ) |
Definition at line 13788 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Object::Get(), Context::Global(), NULL, V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | CaptureStackTraceForUncaughtExceptionAndSetters | ) |
Definition at line 13811 of file test-api.cc.
References StackTrace::kDetailed, and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowStackTrace | ) |
Definition at line 13847 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowPrimitiveStackTrace | ) |
Definition at line 13889 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowExistingStackTrace | ) |
Definition at line 13923 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowBogusErrorStackTrace | ) |
Definition at line 13948 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | SourceURLInStackTrace | ) |
Definition at line 13978 of file test-api.cc.
References AnalyzeStackOfEvalWithSourceURL(), CHECK, and FunctionTemplate::New().
TEST | ( | IdleNotification | ) |
Definition at line 14010 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | IdleNotificationWithSmallHint | ) |
Definition at line 14029 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | IdleNotificationWithLargeHint | ) |
Definition at line 14049 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | Regress2107 | ) |
Definition at line 14068 of file test-api.cc.
References CHECK_GT, CHECK_LT, V8::ContextDisposedNotification(), Persistent< T >::Dispose(), HEAP, V8::IdleNotification(), v8::MB, and Context::New().
TEST | ( | SetResourceConstraints | ) |
Definition at line 14122 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | SetResourceConstraintsInThread | ) |
Definition at line 14144 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | VisitExternalStrings | ) |
Definition at line 14223 of file test-api.cc.
References CHECK, String::IsExternal(), String::NewExternal(), and V8::VisitExternalResources().
TEST | ( | Regress528 | ) |
Definition at line 14395 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, Persistent< T >::Dispose(), TryCatch::HasCaught(), HEAP, V8::Initialize(), Heap::kNoGCFlags, TryCatch::Message(), and String::New().
TEST | ( | SetterOnConstructorPrototype | ) |
Definition at line 14581 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Script::Compile(), Object::Get(), Context::Global(), and Script::Run().
TEST | ( | Bug618 | ) |
Definition at line 14665 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Script::Compile(), Object::Get(), Context::Global(), Object::New(), Script::Run(), and Object::Set().
TEST | ( | GCCallbacks | ) |
Definition at line 14731 of file test-api.cc.
References V8::AddGCEpilogueCallback(), V8::AddGCPrologueCallback(), CHECK_EQ, EpilogueCallback(), EpilogueCallbackSecond(), HEAP, Heap::kNoGCFlags, PrologueCallback(), PrologueCallbackSecond(), V8::RemoveGCEpilogueCallback(), and V8::RemoveGCPrologueCallback().
TEST | ( | GCInFailedAccessCheckCallback | ) |
Definition at line 14978 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), FailedAccessCheckCallbackGC(), Context::Global(), Object::HasRealIndexedProperty(), Object::HasRealNamedCallbackProperty(), Object::HasRealNamedProperty(), V8::Initialize(), Value::IsObject(), ObjectTemplate::New(), NULL, ObjectTemplate::SetAccessCheckCallbacks(), Object::SetAccessor(), and V8::SetFailedAccessCheckCallbackFunction().
TEST | ( | DefaultIsolateGetCurrent | ) |
Definition at line 15055 of file test-api.cc.
References CHECK, Isolate::GetCurrent(), and NULL.
TEST | ( | IsolateNewDispose | ) |
Definition at line 15062 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Dispose(), Isolate::GetCurrent(), Isolate::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | IsolateEnterExitDefault | ) |
Definition at line 15077 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Enter(), Isolate::Exit(), Isolate::GetCurrent(), and NULL.
TEST | ( | DisposeDefaultIsolate | ) |
Definition at line 15095 of file test-api.cc.
References CHECK, CHECK_NE, Isolate::Dispose(), Isolate::GetCurrent(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RunDefaultAndAnotherIsolate | ) |
Definition at line 15112 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), Isolate::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | DisposeIsolateWhenInUse | ) |
Definition at line 15154 of file test-api.cc.
References CHECK, CHECK_NE, Isolate::Dispose(), Isolate::Enter(), Isolate::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RunTwoIsolatesOnSingleThread | ) |
Definition at line 15170 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), Isolate::New(), Context::New(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | MultipleIsolatesOnIndividualThreads | ) |
Definition at line 15305 of file test-api.cc.
References CHECK_EQ, Isolate::Dispose(), Isolate::GetCurrent(), Thread::Join(), Isolate::New(), IsolateThread::result(), and Thread::Start().
TEST | ( | IsolateDifferentContexts | ) |
Definition at line 15333 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::New(), and Context::New().
TEST | ( | InitializeDefaultIsolateOnSecondaryThread1 | ) |
Definition at line 15421 of file test-api.cc.
References InitDefaultIsolateThread::IgnoreOOM.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread2 | ) |
Definition at line 15425 of file test-api.cc.
References InitDefaultIsolateThread::SetResourceConstraints.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread3 | ) |
Definition at line 15429 of file test-api.cc.
References InitDefaultIsolateThread::SetFatalHandler.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread4 | ) |
Definition at line 15433 of file test-api.cc.
References InitDefaultIsolateThread::SetCounterFunction.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread5 | ) |
Definition at line 15437 of file test-api.cc.
References InitDefaultIsolateThread::SetCreateHistogramFunction.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread6 | ) |
Definition at line 15441 of file test-api.cc.
References InitDefaultIsolateThread::SetAddHistogramSampleFunction.
TEST | ( | StringCheckMultipleContexts | ) |
Definition at line 15446 of file test-api.cc.
TEST | ( | NumberCheckMultipleContexts | ) |
Definition at line 15469 of file test-api.cc.
TEST | ( | BooleanCheckMultipleContexts | ) |
Definition at line 15492 of file test-api.cc.
TEST | ( | DontDeleteCellLoadIC | ) |
Definition at line 15515 of file test-api.cc.
References HEAP, and Heap::kNoGCFlags.
TEST | ( | DontDeleteCellLoadICForceDelete | ) |
Definition at line 15555 of file test-api.cc.
References CHECK, and Context::Global().
TEST | ( | DontDeleteCellLoadICAPI | ) |
Definition at line 15583 of file test-api.cc.
References CHECK, v8::DontDelete, and Context::Global().
TEST | ( | RegExp | ) |
Definition at line 15611 of file test-api.cc.
References CHECK, CHECK_EQ, RegExp::GetFlags(), RegExp::GetSource(), Context::Global(), Value::Int32Value(), Value::IsRegExp(), RegExp::kGlobal, RegExp::kIgnoreCase, RegExp::kMultiline, RegExp::kNone, Integer::New(), and Object::New().
TEST | ( | NamedEnumeratorAndForIn | ) |
Definition at line 15713 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), Array::Length(), LocalContext::local(), ObjectTemplate::New(), and NULL.
TEST | ( | DefinePropertyPostDetach | ) |
Definition at line 15728 of file test-api.cc.
References Handle< T >::As(), Function::Call(), Context::DetachGlobal(), Context::Global(), and NULL.
TEST | ( | HasOwnProperty | ) |
Definition at line 15902 of file test-api.cc.
References CHECK, HasOwnPropertyAccessorGetter(), HasOwnPropertyIndexedPropertyGetter(), HasOwnPropertyIndexedPropertyQuery(), HasOwnPropertyNamedPropertyGetter(), HasOwnPropertyNamedPropertyQuery(), and HasOwnPropertyNamedPropertyQuery2().
TEST | ( | CallCompletedCallback | ) |
Definition at line 16380 of file test-api.cc.
References V8::AddCallCompletedCallback(), CallCompletedCallback1(), CallCompletedCallback2(), CHECK_EQ, Script::Compile(), FunctionTemplate::GetFunction(), Context::Global(), String::New(), FunctionTemplate::New(), OS::Print(), RecursiveCall(), and V8::RemoveCallCompletedCallback().
TEST | ( | CallCompletedCallbackOneException | ) |
Definition at line 16425 of file test-api.cc.
References V8::AddCallCompletedCallback(), and CallCompletedCallbackNoException().
TEST | ( | CallCompletedCallbackTwoExceptions | ) |
Definition at line 16433 of file test-api.cc.
References V8::AddCallCompletedCallback(), and CallCompletedCallbackException().
TEST | ( | SecondaryStubCache | ) |
Definition at line 16499 of file test-api.cc.
TEST | ( | PrimaryStubCache | ) |
Definition at line 16504 of file test-api.cc.
TEST | ( | StaticGetters | ) |
Definition at line 16516 of file test-api.cc.
References CHECK, CHECK_EQ, FACTORY, v8::False(), Isolate::GetCurrent(), Internals::IsInitialized(), v8::Null(), Utils::OpenHandle(), Utils::ReportApiFailure(), V8::SetFatalErrorHandler(), v8::True(), and v8::Undefined().
TEST | ( | IsolateEmbedderData | ) |
Definition at line 16560 of file test-api.cc.
References CHECK_EQ, Isolate::GetCurrent(), Isolate::GetData(), ISOLATE, NULL, and Isolate::SetData().
TEST | ( | StringEmpty | ) |
Definition at line 16578 of file test-api.cc.
References CHECK, CHECK_EQ, String::Empty(), FACTORY, Isolate::GetCurrent(), Internals::IsInitialized(), Utils::OpenHandle(), Utils::ReportApiFailure(), and V8::SetFatalErrorHandler().
TEST | ( | TryFinallyMessage | ) |
Definition at line 16773 of file test-api.cc.
THREADED_TEST | ( | Handles | ) |
Definition at line 140 of file test-api.cc.
References CHECK, CHECK_EQ, Handle< T >::IsEmpty(), Value::IsUndefined(), LocalContext::local(), and v8::Undefined().
THREADED_TEST | ( | ReceiverSignature | ) |
Definition at line 165 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::Inherit(), FunctionTemplate::New(), Signature::New(), FunctionTemplate::PrototypeTemplate(), and TryCatch::Reset().
THREADED_TEST | ( | ArgumentSignature | ) |
Definition at line 209 of file test-api.cc.
References CHECK, FunctionTemplate::GetFunction(), Context::Global(), Value::IsTrue(), FunctionTemplate::New(), Signature::New(), and FunctionTemplate::SetClassName().
THREADED_TEST | ( | HulIgennem | ) |
Definition at line 271 of file test-api.cc.
References CHECK_EQ, v8::internal::DeleteArray(), Value::ToString(), and v8::Undefined().
THREADED_TEST | ( | Access | ) |
Definition at line 283 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | AccessElement | ) |
Definition at line 298 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | Script | ) |
Definition at line 317 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | ScriptUsingStringResource | ) |
Definition at line 385 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, and Heap::kNoGCFlags.
THREADED_TEST | ( | ScriptUsingAsciiStringResource | ) |
Definition at line 410 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, and v8::internal::StrDup().
THREADED_TEST | ( | ScriptMakingExternalString | ) |
Definition at line 432 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, and v8::internal::NEW_SPACE.
THREADED_TEST | ( | ScriptMakingExternalAsciiString | ) |
Definition at line 458 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and v8::internal::StrDup().
THREADED_TEST | ( | UsingExternalString | ) |
Definition at line 567 of file test-api.cc.
References CHECK, FACTORY, HEAP, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and Utils::OpenHandle().
THREADED_TEST | ( | UsingExternalAsciiString | ) |
Definition at line 585 of file test-api.cc.
References CHECK, FACTORY, HEAP, Heap::kNoGCFlags, v8::internal::NEW_SPACE, Utils::OpenHandle(), and v8::internal::StrDup().
THREADED_TEST | ( | ScavengeExternalString | ) |
Definition at line 603 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, and Utils::OpenHandle().
THREADED_TEST | ( | ScavengeExternalAsciiString | ) |
Definition at line 623 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, Utils::OpenHandle(), and v8::internal::StrDup().
THREADED_TEST | ( | StringConcat | ) |
Definition at line 711 of file test-api.cc.
References CHECK, CHECK_EQ, v8::internal::DeleteArray(), HEAP, Heap::kNoGCFlags, and v8::internal::StrDup().
THREADED_TEST | ( | GlobalProperties | ) |
Definition at line 757 of file test-api.cc.
References CHECK_EQ, Object::Get(), Context::Global(), and Object::Set().
THREADED_TEST | ( | FunctionTemplate | ) |
Definition at line 786 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ExternalWrap | ) |
Definition at line 854 of file test-api.cc.
References foo.
THREADED_TEST | ( | FindInstanceInPrototypeChain | ) |
Definition at line 900 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | TinyInteger | ) |
Definition at line 947 of file test-api.cc.
References CHECK_EQ, and Integer::New().
THREADED_TEST | ( | BigSmiInteger | ) |
Definition at line 956 of file test-api.cc.
References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, v8::internal::kSmiValueSize, and Integer::New().
THREADED_TEST | ( | BigInteger | ) |
Definition at line 970 of file test-api.cc.
References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, v8::internal::kSmiValueSize, and Integer::New().
THREADED_TEST | ( | TinyUnsignedInteger | ) |
Definition at line 987 of file test-api.cc.
References CHECK_EQ, and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedSmiInteger | ) |
Definition at line 996 of file test-api.cc.
References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedInteger | ) |
Definition at line 1007 of file test-api.cc.
References CHECK, CHECK_EQ, Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | OutOfSignedRangeUnsignedInteger | ) |
Definition at line 1018 of file test-api.cc.
References CHECK, CHECK_EQ, Integer::NewFromUnsigned(), and v8::internal::U.
THREADED_TEST | ( | IsNativeError | ) |
Definition at line 1029 of file test-api.cc.
References CHECK, and Value::IsNativeError().
THREADED_TEST | ( | StringObject | ) |
Definition at line 1042 of file test-api.cc.
References Handle< T >::As(), CHECK, Value::IsStringObject(), Object::New(), and StringObject::StringValue().
THREADED_TEST | ( | NumberObject | ) |
Definition at line 1067 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Value::IsNumberObject(), Object::New(), and NumberObject::NumberValue().
THREADED_TEST | ( | BooleanObject | ) |
Definition at line 1088 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Value::IsBooleanObject(), and Object::New().
THREADED_TEST | ( | Number | ) |
Definition at line 1113 of file test-api.cc.
References CHECK_EQ, and Number::New().
THREADED_TEST | ( | ToNumber | ) |
Definition at line 1122 of file test-api.cc.
References CHECK_EQ, v8::False(), and v8::True().
THREADED_TEST | ( | Date | ) |
Definition at line 1134 of file test-api.cc.
References CHECK_EQ, Object::Get(), Integer::New(), and Object::New().
THREADED_TEST | ( | Boolean | ) |
Definition at line 1145 of file test-api.cc.
References CHECK, v8::False(), Number::New(), v8::Null(), v8::True(), v8::Undefined(), and Boolean::Value().
THREADED_TEST | ( | GlobalPrototype | ) |
Definition at line 1180 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Value::NumberValue(), FunctionTemplate::PrototypeTemplate(), Script::Run(), Template::Set(), and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | ObjectTemplate | ) |
Definition at line 1198 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | DescriptorInheritance | ) |
Definition at line 1234 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::Inherit(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), and FunctionTemplate::PrototypeTemplate().
THREADED_TEST | ( | EmptyInterceptorDoesNotShadowAccessors | ) |
Definition at line 1365 of file test-api.cc.
References AddAccessor(), AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | EmptyInterceptorDoesNotShadowJSAccessors | ) |
Definition at line 1382 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | EmptyInterceptorDoesNotAffectJSProperties | ) |
Definition at line 1402 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | SwitchFromInterceptorToAccessor | ) |
Definition at line 1421 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptor | ) |
Definition at line 1438 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToAccessorWithInheritance | ) |
Definition at line 1455 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptorWithInheritance | ) |
Definition at line 1474 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToJSAccessor | ) |
Definition at line 1493 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromJSAccessorToInterceptor | ) |
Definition at line 1517 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToProperty | ) |
Definition at line 1541 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromPropertyToInterceptor | ) |
Definition at line 1558 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | NamedPropertyHandlerGetter | ) |
Definition at line 1575 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | IndexedPropertyHandlerGetter | ) |
Definition at line 1611 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | PropertyHandlerInPrototype | ) |
Definition at line 1712 of file test-api.cc.
References CheckThisIndexedPropertyDeleter(), CheckThisIndexedPropertyEnumerator(), CheckThisIndexedPropertyQuery(), CheckThisIndexedPropertySetter(), CheckThisNamedPropertyDeleter(), CheckThisNamedPropertyEnumerator(), CheckThisNamedPropertyQuery(), CheckThisNamedPropertySetter(), FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), and Object::Set().
THREADED_TEST | ( | PrePropertyHandler | ) |
Definition at line 1781 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::InstanceTemplate(), Handle< T >::IsEmpty(), FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | UndefinedIsNotEnumerable | ) |
Definition at line 1799 of file test-api.cc.
References CHECK, and Value::IsFalse().
THREADED_TEST | ( | DeepCrossLanguageRecursion | ) |
Definition at line 1836 of file test-api.cc.
References Context::Global(), Integer::New(), FunctionTemplate::New(), NULL, Script::Run(), and Template::Set().
THREADED_TEST | ( | CallbackExceptionRegression | ) |
Definition at line 1870 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | FunctionPrototype | ) |
Definition at line 1886 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InternalFields | ) |
Definition at line 1897 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | GlobalObjectInternalFields | ) |
Definition at line 1912 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetInternalField(), Object::GetPrototype(), Context::Global(), Object::InternalFieldCount(), ObjectTemplate::New(), NULL, and Object::SetInternalField().
THREADED_TEST | ( | InternalFieldsNativePointers | ) |
Definition at line 1926 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | InternalFieldsNativePointersAndExternal | ) |
Definition at line 1958 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, FunctionTemplate::New(), NULL, External::Unwrap(), and External::Wrap().
THREADED_TEST | ( | IdentityHash | ) |
Definition at line 1996 of file test-api.cc.
References CHECK_EQ, CHECK_NE, HEAP, Heap::kNoGCFlags, and Object::New().
THREADED_TEST | ( | HiddenProperties | ) |
Definition at line 2040 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), Object::DeleteHiddenValue(), Object::Get(), Object::GetHiddenValue(), Object::Has(), HEAP, Heap::kNoGCFlags, Integer::New(), Object::New(), Object::Set(), and Object::SetHiddenValue().
THREADED_TEST | ( | Regress97784 | ) |
Definition at line 2088 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetHiddenValue(), Integer::New(), Object::New(), and Object::SetHiddenValue().
THREADED_TEST | ( | HiddenPropertiesWithInterceptors | ) |
Definition at line 2124 of file test-api.cc.
References CHECK, CHECK_EQ, Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | External | ) |
Definition at line 2144 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, v8::internal::DeleteArray(), Context::Global(), External::New(), v8::internal::StrDup(), External::Unwrap(), External::Value(), External::Wrap(), and v8::internal::zero.
THREADED_TEST | ( | GlobalHandle | ) |
Definition at line 2176 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), and Persistent< T >::New().
THREADED_TEST | ( | ApiObjectGroups | ) |
Definition at line 2208 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, and WeakCallCounter::NumberOfWeakCalls().
THREADED_TEST | ( | ApiObjectGroupsCycle | ) |
Definition at line 2293 of file test-api.cc.
References CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, and WeakCallCounter::NumberOfWeakCalls().
THREADED_TEST | ( | ScriptException | ) |
Definition at line 2375 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), and TryCatch::HasCaught().
THREADED_TEST | ( | MessageHandlerData | ) |
Definition at line 2400 of file test-api.cc.
References V8::AddMessageListener(), CHECK, V8::RemoveMessageListeners(), Script::Run(), and Script::SetData().
THREADED_TEST | ( | GetSetProperty | ) |
Definition at line 2418 of file test-api.cc.
References CHECK_EQ, foo, Context::Global(), and Integer::New().
THREADED_TEST | ( | PropertyAttributes | ) |
Definition at line 2445 of file test-api.cc.
References CHECK, CHECK_EQ, v8::DontDelete, v8::DontEnum, Context::Global(), v8::None, and v8::ReadOnly.
THREADED_TEST | ( | Array | ) |
Definition at line 2489 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | Vector | ) |
Definition at line 2527 of file test-api.cc.
References CHECK_EQ, HandleF(), and FunctionTemplate::New().
THREADED_TEST | ( | FunctionCall | ) |
Definition at line 2565 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and NULL.
THREADED_TEST | ( | ConstructCall | ) |
Definition at line 2720 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and NULL.
THREADED_TEST | ( | ConversionNumber | ) |
Definition at line 2780 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | isNumberType | ) |
Definition at line 2828 of file test-api.cc.
References CHECK, and Context::Global().
THREADED_TEST | ( | ConversionException | ) |
Definition at line 2879 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_NE, Context::Global(), TryCatch::HasCaught(), TryCatch::Reset(), and v8::Undefined().
THREADED_TEST | ( | APICatch | ) |
Definition at line 2949 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | APIThrowTryCatch | ) |
Definition at line 2967 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | ExternalScriptException | ) |
Definition at line 3113 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), TryCatch::HasCaught(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | EvalInTryFinally | ) |
Definition at line 3180 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | ThrowValues | ) |
Definition at line 3279 of file test-api.cc.
References Handle< T >::Cast(), CHECK, CHECK_EQ, Object::Get(), Array::Length(), Integer::New(), FunctionTemplate::New(), and ThrowValue().
THREADED_TEST | ( | CatchZero | ) |
Definition at line 3305 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), TryCatch::HasCaught(), and TryCatch::Reset().
THREADED_TEST | ( | CatchExceptionFromWith | ) |
Definition at line 3321 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | TryCatchAndFinallyHidingException | ) |
Definition at line 3331 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | TryCatchAndFinally | ) |
Definition at line 3348 of file test-api.cc.
References CHECK, Context::Global(), TryCatch::HasCaught(), FunctionTemplate::New(), and WithTryCatch().
THREADED_TEST | ( | Equality | ) |
Definition at line 3366 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_NE, Persistent< T >::Dispose(), v8::False(), OS::nan_value(), Persistent< T >::New(), Object::New(), and v8::Undefined().
THREADED_TEST | ( | MultiRun | ) |
Definition at line 3398 of file test-api.cc.
THREADED_TEST | ( | SimplePropertyRead | ) |
Definition at line 3416 of file test-api.cc.
References CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefinePropertyOnAPIAccessor | ) |
Definition at line 3429 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefinePropertyOnDefineGetterSetter | ) |
Definition at line 3476 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefineAPIAccessorOnObject | ) |
Definition at line 3528 of file test-api.cc.
References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().
THREADED_TEST | ( | DontDeleteAPIAccessorsCannotBeOverriden | ) |
Definition at line 3602 of file test-api.cc.
References CHECK, CHECK_EQ, v8::DEFAULT, v8::DontDelete, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), NULL, and v8::internal::SetAccessor().
THREADED_TEST | ( | ElementAPIAccessor | ) |
Definition at line 3658 of file test-api.cc.
References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().
THREADED_TEST | ( | SimplePropertyWrite | ) |
Definition at line 3696 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), Context::Global(), and Handle< T >::IsEmpty().
THREADED_TEST | ( | NamedInterceptorPropertyRead | ) |
Definition at line 3721 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | NamedInterceptorDictionaryIC | ) |
Definition at line 3735 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | NamedInterceptorDictionaryICMultipleContext | ) |
Definition at line 3765 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), and Context::Global().
THREADED_TEST | ( | NamedInterceptorMapTransitionRead | ) |
Definition at line 3819 of file test-api.cc.
References CHECK_EQ, Context::Global(), v8::internal::instance_template, and FunctionTemplate::New().
THREADED_TEST | ( | IndexedInterceptorWithIndexedAccessor | ) |
Definition at line 3856 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | IndexedInterceptorUnboxedDoubleWithIndexedAccessor | ) |
Definition at line 3923 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and UnboxedDoubleIndexedPropertyEnumerator().
THREADED_TEST | ( | IndexedInterceptorNonStrictArgsWithIndexedAccessor | ) |
Definition at line 3975 of file test-api.cc.
References CHECK_EQ, Context::Global(), and NonStrictArgsIndexedPropertyEnumerator().
THREADED_TEST | ( | IndexedInterceptorWithGetOwnPropertyDescriptor | ) |
Definition at line 4001 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNoSetter | ) |
Definition at line 4022 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithAccessorCheck | ) |
Definition at line 4045 of file test-api.cc.
References Context::Global(), and Object::TurnOnAccessCheck().
THREADED_TEST | ( | IndexedInterceptorWithAccessorCheckSwitchedOn | ) |
Definition at line 4069 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithDifferentIndices | ) |
Definition at line 4099 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNegativeIndices | ) |
Definition at line 4122 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNotSmiLookup | ) |
Definition at line 4161 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorGoingMegamorphic | ) |
Definition at line 4190 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorReceiverTurningSmi | ) |
Definition at line 4220 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorOnProto | ) |
Definition at line 4250 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | MultiContexts | ) |
Definition at line 4274 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Object::Get(), Context::Global(), FunctionTemplate::New(), Object::Set(), Template::Set(), and Context::SetSecurityToken().
THREADED_TEST | ( | FunctionPrototypeAcrossContexts | ) |
Definition at line 4307 of file test-api.cc.
References CHECK, Object::Get(), Context::Global(), and Object::Set().
THREADED_TEST | ( | Regress892105 | ) |
Definition at line 4337 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | UndetectableObject | ) |
Definition at line 4360 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | VoidLiteral | ) |
Definition at line 4404 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ExtensibleOnUndetectable | ) |
Definition at line 4448 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | UndetectableString | ) |
Definition at line 4481 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | GlobalObjectTemplate | ) |
Definition at line 4578 of file test-api.cc.
References Persistent< T >::Dispose(), and FunctionTemplate::New().
THREADED_TEST | ( | SimpleExtensions | ) |
Definition at line 4596 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionMissingSourceLength | ) |
Definition at line 4614 of file test-api.cc.
References CHECK_EQ, and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionWithSourceLength | ) |
Definition at line 4625 of file test-api.cc.
References CHECK_EQ, Integer::New(), v8::RegisterExtension(), OS::SNPrintF(), and Vector< T >::start().
THREADED_TEST | ( | UseEvalFromExtension | ) |
Definition at line 4666 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | UseWithFromExtension | ) |
Definition at line 4699 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | AutoExtensions | ) |
Definition at line 4714 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | SyntaxErrorExtensions | ) |
Definition at line 4732 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | ExceptionExtensions | ) |
Definition at line 4749 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeCallInExtensions | ) |
Definition at line 4770 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclaration | ) |
Definition at line 4805 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclarationError | ) |
Definition at line 4819 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclarationErrorEscape | ) |
Definition at line 4832 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionDependency | ) |
Definition at line 4862 of file test-api.cc.
References CHECK_EQ, Context::Global(), and v8::RegisterExtension().
THREADED_TEST | ( | FunctionLookup | ) |
Definition at line 4929 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionConstructCall | ) |
Definition at line 4942 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | ErrorWithMissingScriptInfo | ) |
Definition at line 5025 of file test-api.cc.
References V8::AddMessageListener(), and V8::RemoveMessageListeners().
THREADED_TEST | ( | WeakReference | ) |
Definition at line 5088 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), External::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Value::NumberValue(), ObjectTemplate::SetNamedPropertyHandler(), and WhammyPropertyGetter().
THREADED_TEST | ( | IndependentWeakHandle | ) |
Definition at line 5125 of file test-api.cc.
References CHECK, HEAP, Persistent< T >::MakeWeak(), Persistent< T >::MarkIndependent(), Persistent< T >::New(), and Object::New().
THREADED_TEST | ( | GCFromWeakCallbacks | ) |
Definition at line 5170 of file test-api.cc.
References CHECK, Persistent< T >::New(), and Object::New().
THREADED_TEST | ( | IndependentHandleRevival | ) |
Definition at line 5204 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Persistent< T >::New(), Integer::New(), and Object::New().
THREADED_TEST | ( | Arguments | ) |
Definition at line 5248 of file test-api.cc.
References Local< T >::As(), Context::Global(), FunctionTemplate::New(), NULL, and Template::Set().
THREADED_TEST | ( | Deleter | ) |
Definition at line 5289 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), NULL, ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | Enumerators | ) |
Definition at line 5352 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Get(), Context::Global(), Array::Length(), Integer::New(), ObjectTemplate::NewInstance(), NULL, ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | GetterHolders | ) |
Definition at line 5466 of file test-api.cc.
References CHECK_EQ, and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | PreInterceptorHolders | ) |
Definition at line 5479 of file test-api.cc.
References CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | ObjectInstantiation | ) |
Definition at line 5489 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Context::Global(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and v8::True().
THREADED_TEST | ( | StringWrite | ) |
Definition at line 5540 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Object::Get(), GetUtf8Length(), String::Length(), String::Write(), String::WriteAscii(), and String::WriteUtf8().
THREADED_TEST | ( | Utf16 | ) |
Definition at line 5859 of file test-api.cc.
THREADED_TEST | ( | Utf16Symbol | ) |
Definition at line 5925 of file test-api.cc.
References CHECK, Object::Get(), Context::Global(), String::NewSymbol(), v8::internal::s0, v8::internal::s3, and v8::internal::s4.
THREADED_TEST | ( | ToArrayIndex | ) |
Definition at line 5978 of file test-api.cc.
References CHECK, CHECK_EQ, Handle< T >::IsEmpty(), Number::New(), Object::New(), Value::ToArrayIndex(), and Value::Uint32Value().
THREADED_TEST | ( | ErrorConstruction | ) |
Definition at line 6009 of file test-api.cc.
References Handle< T >::As(), CHECK, Exception::Error(), foo, Object::Get(), Value::IsObject(), Exception::RangeError(), Exception::ReferenceError(), Exception::SyntaxError(), and Exception::TypeError().
THREADED_TEST | ( | DeleteAccessor | ) |
Definition at line 6049 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and Value::Uint32Value().
THREADED_TEST | ( | TypeSwitch | ) |
Definition at line 6062 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), TypeSwitch::match(), Object::New(), FunctionTemplate::New(), and TypeSwitch::New().
THREADED_TEST | ( | SecurityChecks | ) |
Definition at line 6292 of file test-api.cc.
References bar, CHECK, Persistent< T >::Dispose(), foo, Context::Global(), TryCatch::HasCaught(), NULL, and Context::SetSecurityToken().
THREADED_TEST | ( | SecurityChecksForPrototypeChain | ) |
Definition at line 6337 of file test-api.cc.
References CHECK, Persistent< T >::Dispose(), and Context::Global().
THREADED_TEST | ( | CrossDomainDelete | ) |
Definition at line 6405 of file test-api.cc.
References bar, CHECK, CHECK_EQ, Persistent< T >::Dispose(), foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CrossDomainIsPropertyEnumerable | ) |
Definition at line 6438 of file test-api.cc.
References bar, CHECK, Persistent< T >::Dispose(), foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CrossDomainForIn | ) |
Definition at line 6473 of file test-api.cc.
References bar, CHECK, Persistent< T >::Dispose(), foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | AccessControlGetOwnPropertyNames | ) |
Definition at line 7026 of file test-api.cc.
References CHECK, Persistent< T >::Dispose(), Value::IsTrue(), Integer::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), NULL, Object::Set(), Template::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | GetOwnPropertyNamesWithInterceptor | ) |
Definition at line 7076 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), NULL, Object::Set(), Template::Set(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | CrossDomainAccessors | ) |
Definition at line 7100 of file test-api.cc.
References v8::ALL_CAN_READ, CHECK, CHECK_EQ, v8::DEFAULT, Persistent< T >::Dispose(), FunctionTemplate::InstanceTemplate(), Value::Int32Value(), Value::IsNumber(), FunctionTemplate::New(), NULL, FunctionTemplate::PrototypeTemplate(), Object::Set(), and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | AccessControlFlatten | ) |
Definition at line 7324 of file test-api.cc.
References Persistent< T >::Dispose(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | AccessControlInterceptorIC | ) |
Definition at line 7388 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), Value::Int32Value(), Value::IsNumber(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), ObjectTemplate::SetAccessCheckCallbacks(), ObjectTemplate::SetIndexedPropertyHandler(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | Version | ) |
Definition at line 7455 of file test-api.cc.
References V8::GetVersion().
THREADED_TEST | ( | InstanceProperties | ) |
Definition at line 7466 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | GlobalObjectInstanceProperties | ) |
Definition at line 7495 of file test-api.cc.
References CHECK_EQ, Context::Global(), v8::internal::instance_template, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | CallKnownGlobalReceiver | ) |
Definition at line 7551 of file test-api.cc.
References foo, Context::Global(), v8::internal::instance_template, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | ShadowObject | ) |
Definition at line 7628 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), FunctionTemplate::New(), ObjectTemplate::New(), Signature::New(), and NULL.
THREADED_TEST | ( | HiddenPrototype | ) |
Definition at line 7673 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Get(), and FunctionTemplate::New().
THREADED_TEST | ( | SetPrototype | ) |
Definition at line 7717 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | Regress91517 | ) |
Definition at line 7777 of file test-api.cc.
References CHECK, Context::Global(), Object::New(), FunctionTemplate::New(), OS::SNPrintF(), and Vector< T >::start().
THREADED_TEST | ( | FunctionReadOnlyPrototype | ) |
Definition at line 7828 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | SetPrototypeThrows | ) |
Definition at line 7859 of file test-api.cc.
References ASSERT, CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | GetterSetterExceptions | ) |
Definition at line 7880 of file test-api.cc.
References Context::Global(), and Integer::New().
THREADED_TEST | ( | Constructor | ) |
Definition at line 7903 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), and Utils::OpenHandle().
THREADED_TEST | ( | ConstructorForObject | ) |
Definition at line 7944 of file test-api.cc.
References Local< Object >::Cast(), CHECK, CHECK_EQ, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), v8::internal::instance_template, v8::Null(), TryCatch::Reset(), ThrowValue(), v8::True(), and v8::Undefined().
THREADED_TEST | ( | FunctionDescriptorException | ) |
Definition at line 8111 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | EvalAliasedDynamic | ) |
Definition at line 8136 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | CrossEval | ) |
Definition at line 8172 of file test-api.cc.
References CHECK, CHECK_EQ, foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | EvalInDetachedGlobal | ) |
Definition at line 8255 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), TryCatch::HasCaught(), Value::Int32Value(), and Handle< T >::IsEmpty().
THREADED_TEST | ( | CrossLazyLoad | ) |
Definition at line 8290 of file test-api.cc.
References CHECK_EQ, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CallAsFunction | ) |
Definition at line 8325 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), v8::internal::instance_template, FunctionTemplate::New(), TryCatch::Reset(), and ThrowValue().
THREADED_TEST | ( | CallableObject | ) |
Definition at line 8438 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), and v8::internal::instance_template.
THREADED_TEST | ( | HandleIteration | ) |
Definition at line 8495 of file test-api.cc.
References CHECK_EQ, and Integer::New().
THREADED_TEST | ( | InterceptorHasOwnProperty | ) |
Definition at line 8530 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InterceptorHasOwnPropertyCausingGC | ) |
Definition at line 8562 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InterceptorLoadIC | ) |
Definition at line 8620 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithFieldOnHolder | ) |
Definition at line 8642 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithSubstitutedProto | ) |
Definition at line 8653 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithPropertyOnProto | ) |
Definition at line 8664 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICUndefined | ) |
Definition at line 8675 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithOverride | ) |
Definition at line 8685 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICFieldNotNeeded | ) |
Definition at line 8705 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICInvalidatedField | ) |
Definition at line 8725 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICPostInterceptor | ) |
Definition at line 8756 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | InterceptorLoadICInvalidatedFieldViaGlobal | ) |
Definition at line 8781 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithCallbackOnHolder | ) |
Definition at line 8806 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICWithCallbackOnProto | ) |
Definition at line 8835 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICForCallbackWithOverride | ) |
Definition at line 8868 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICCallbackNotNeeded | ) |
Definition at line 8896 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICInvalidatedCallback | ) |
Definition at line 8924 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorLoadICInvalidatedCallbackViaGlobal | ) |
Definition at line 8956 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorReturningZero | ) |
Definition at line 8992 of file test-api.cc.
THREADED_TEST | ( | InterceptorStoreIC | ) |
Definition at line 9008 of file test-api.cc.
References Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorStoreICWithNoSetter | ) |
Definition at line 9023 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallIC | ) |
Definition at line 9053 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICSeesOthers | ) |
Definition at line 9072 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCacheableNotNeeded | ) |
Definition at line 9100 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedCacheable | ) |
Definition at line 9120 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionUsed | ) |
Definition at line 9147 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeeded | ) |
Definition at line 9179 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeededWrapped | ) |
Definition at line 9212 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunction | ) |
Definition at line 9243 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunctionViaGlobal | ) |
Definition at line 9273 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCachedFromGlobal | ) |
Definition at line 9298 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | CallICFastApi_DirectCall_GCMoveStub | ) |
Definition at line 9380 of file test-api.cc.
References DirectApiCallback(), Context::Global(), FunctionTemplate::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and Template::Set().
THREADED_TEST | ( | CallICFastApi_DirectCall_Throw | ) |
Definition at line 9404 of file test-api.cc.
References CHECK_EQ, Context::Global(), FunctionTemplate::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Template::Set(), and ThrowingDirectApiCallback().
THREADED_TEST | ( | LoadICFastApi_DirectCall_GCMoveStub | ) |
Definition at line 9435 of file test-api.cc.
References CHECK_EQ, DirectGetterCallback(), Context::Global(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | LoadICFastApi_DirectCall_Throw | ) |
Definition at line 9457 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and ThrowingDirectGetterCallback().
THREADED_TEST | ( | InterceptorCallICFastApi_TrivialSignature | ) |
Definition at line 9473 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | InterceptorCallICFastApi_SimpleSignature | ) |
Definition at line 9500 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss1 | ) |
Definition at line 9530 of file test-api.cc.
References CHECK_EQ, CHECK_GE, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss2 | ) |
Definition at line 9566 of file test-api.cc.
References CHECK_EQ, CHECK_GE, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_Miss3 | ) |
Definition at line 9602 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, TryCatch::Exception(), FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | InterceptorCallICFastApi_SimpleSignature_TypeError | ) |
Definition at line 9641 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, TryCatch::Exception(), FunctionTemplate::GetFunction(), Context::Global(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), NULL, FunctionTemplate::PrototypeTemplate(), Template::Set(), ObjectTemplate::SetNamedPropertyHandler(), and External::Wrap().
THREADED_TEST | ( | CallICFastApi_TrivialSignature | ) |
Definition at line 9680 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), and Template::Set().
THREADED_TEST | ( | CallICFastApi_SimpleSignature | ) |
Definition at line 9704 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), and Template::Set().
THREADED_TEST | ( | CallICFastApi_SimpleSignature_Miss1 | ) |
Definition at line 9731 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), and Template::Set().
THREADED_TEST | ( | CallICFastApi_SimpleSignature_Miss2 | ) |
Definition at line 9763 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), FunctionTemplate::GetFunction(), TryCatch::HasCaught(), FunctionTemplate::InstanceTemplate(), FunctionTemplate::New(), Signature::New(), Function::NewInstance(), FunctionTemplate::PrototypeTemplate(), and Template::Set().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChange1 | ) |
Definition at line 9813 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChange2 | ) |
Definition at line 9837 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChangeOnGlobal | ) |
Definition at line 9864 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICFromGlobal | ) |
Definition at line 9889 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeBefore | ) |
Definition at line 9913 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeAfter | ) |
Definition at line 9935 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICReferenceErrors | ) |
Definition at line 9971 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICGetterExceptions | ) |
Definition at line 10017 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICSetterExceptions | ) |
Definition at line 10060 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | NullNamedInterceptor | ) |
Definition at line 10079 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::Int32Value(), Value::IsInt32(), ObjectTemplate::NewInstance(), Template::Set(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | NullIndexedInterceptor | ) |
Definition at line 10094 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::Int32Value(), Value::IsInt32(), ObjectTemplate::NewInstance(), Template::Set(), and ObjectTemplate::SetIndexedPropertyHandler().
THREADED_TEST | ( | NamedPropertyHandlerGetterAttributes | ) |
Definition at line 10108 of file test-api.cc.
References FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | VariousGetPropertiesAndThrowingCallbacks | ) |
Definition at line 10128 of file test-api.cc.
References CHECK, Object::GetRealNamedProperty(), and v8::internal::Object.
THREADED_TEST | ( | ExceptionsDoNotPropagatePastTryCatch | ) |
Definition at line 10219 of file test-api.cc.
References Context::Global(), NULL, and WithTryCatch().
THREADED_TEST | ( | Overriding | ) |
Definition at line 10262 of file test-api.cc.
References CHECK_EQ, v8::DEFAULT, Context::Global(), FunctionTemplate::New(), and v8::ReadOnly.
THREADED_TEST | ( | IsConstructCall | ) |
Definition at line 10326 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ObjectProtoToString | ) |
Definition at line 10343 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ObjectGetConstructorName | ) |
Definition at line 10377 of file test-api.cc.
References CHECK, and Context::Global().
THREADED_TEST | ( | RecursiveLocking | ) |
Definition at line 10642 of file test-api.cc.
References CHECK, and Locker::IsLocked().
THREADED_TEST | ( | LockUnlockLock | ) |
Definition at line 10658 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | NewPersistentHandleFromWeakCallback | ) |
Definition at line 10760 of file test-api.cc.
References Persistent< T >::Dispose(), HEAP, Heap::kNoGCFlags, Persistent< T >::MakeWeak(), Persistent< T >::New(), Object::New(), NewPersistentHandleCallback(), and NULL.
THREADED_TEST | ( | DoNotUseDeletedNodesInSecondLevelGc | ) |
Definition at line 10789 of file test-api.cc.
References DisposeAndForceGcCallback(), HEAP, Heap::kNoGCFlags, Persistent< T >::MakeWeak(), Persistent< T >::New(), Object::New(), and NULL.
THREADED_TEST | ( | NoGlobalHandlesOrphaningDueToWeakCallback | ) |
Definition at line 10814 of file test-api.cc.
References DisposingCallback(), HandleCreatingCallback(), HEAP, Heap::kNoGCFlags, Persistent< T >::MakeWeak(), Persistent< T >::New(), Object::New(), and NULL.
THREADED_TEST | ( | CheckForCrossContextObjectLiterals | ) |
Definition at line 10830 of file test-api.cc.
References V8::Initialize().
THREADED_TEST | ( | NestedHandleScopeAndContexts | ) |
Definition at line 10863 of file test-api.cc.
References CHECK, Persistent< T >::Dispose(), and Value::ToString().
THREADED_TEST | ( | ExternalAllocatedMemory | ) |
Definition at line 10878 of file test-api.cc.
References V8::AdjustAmountOfExternalAllocatedMemory(), CHECK, CHECK_EQ, and Handle< T >::IsEmpty().
THREADED_TEST | ( | DisposeEnteredContext | ) |
Definition at line 10890 of file test-api.cc.
References Handle< T >::Clear(), Persistent< T >::Dispose(), and Context::New().
THREADED_TEST | ( | Regress54 | ) |
Definition at line 10905 of file test-api.cc.
References CHECK_EQ, HandleScope::Close(), Object::InternalFieldCount(), Handle< T >::IsEmpty(), Persistent< T >::New(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetInternalFieldCount().
THREADED_TEST | ( | TryCatchSourceInfo | ) |
Definition at line 10959 of file test-api.cc.
References Script::Compile(), String::New(), and Integer::New().
THREADED_TEST | ( | CompilationCache | ) |
Definition at line 10995 of file test-api.cc.
References CHECK_EQ, Script::Compile(), String::New(), and Script::Run().
THREADED_TEST | ( | CallbackFunctionName | ) |
Definition at line 11018 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::IsString(), and FunctionTemplate::New().
THREADED_TEST | ( | DateAccess | ) |
Definition at line 11031 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Value::IsDate(), Object::New(), and Date::NumberValue().
THREADED_TEST | ( | PropertyEnumeration | ) |
Definition at line 11064 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, CheckOwnProperties(), CheckProperties(), Script::Compile(), Object::Get(), Array::Length(), String::New(), Integer::New(), and NULL.
THREADED_TEST | ( | PropertyEnumeration2 | ) |
Definition at line 11098 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, CheckProperties(), Script::Compile(), Object::Get(), Array::Length(), String::New(), Integer::New(), and NULL.
THREADED_TEST | ( | DisableAccessChecksWhileConfiguring | ) |
Definition at line 11140 of file test-api.cc.
References CHECK, Context::Global(), and v8::True().
THREADED_TEST | ( | AccessChecksReenabledCorrectly | ) |
Definition at line 11171 of file test-api.cc.
References CHECK, Context::Global(), and Number::New().
THREADED_TEST | ( | AccessControlRepeatedContextCreation | ) |
Definition at line 11210 of file test-api.cc.
References FunctionTemplateInfo::cast(), CHECK, ObjectTemplate::New(), NULL, Utils::OpenHandle(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | TurnOnAccessCheck | ) |
Definition at line 11227 of file test-api.cc.
References CHECK, v8::internal::f1, v8::internal::f2, ObjectTemplate::New(), NULL, and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | TurnOnAccessCheckAndRecompile | ) |
Definition at line 11307 of file test-api.cc.
References CHECK, v8::internal::f1, v8::internal::f2, ObjectTemplate::New(), NULL, and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | DictionaryICLoadedFunction | ) |
Definition at line 11555 of file test-api.cc.
References Context::Global(), and v8::True().
THREADED_TEST | ( | CrossContextNew | ) |
Definition at line 11576 of file test-api.cc.
References CHECK, CHECK_EQ, and Persistent< T >::Dispose().
THREADED_TEST | ( | MorphCompositeStringTest | ) |
Definition at line 11923 of file test-api.cc.
References CHECK, CHECK_EQ, v8::internal::DeleteArray(), FACTORY, Context::Global(), Utils::OpenHandle(), v8::internal::StrLength(), and Utils::ToLocal().
THREADED_TEST | ( | ForceDelete | ) |
Definition at line 12292 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), v8::DontDelete, Object::ForceDelete(), Object::Get(), Context::Global(), String::New(), Integer::New(), ObjectTemplate::New(), NULL, and Object::Set().
THREADED_TEST | ( | ForceDeleteWithInterceptor | ) |
Definition at line 12327 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Delete(), v8::DontDelete, Object::ForceDelete(), Object::Get(), Context::Global(), String::New(), Integer::New(), ObjectTemplate::New(), NULL, Object::Set(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | ForceDeleteIC | ) |
Definition at line 12362 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | GetCallingContext | ) |
Definition at line 12439 of file test-api.cc.
References Handle< T >::Clear(), Persistent< T >::Dispose(), and FunctionTemplate::New().
THREADED_TEST | ( | InitGlobalVarInProtoChain | ) |
Definition at line 12488 of file test-api.cc.
References CHECK, CHECK_EQ, Value::Int32Value(), and Value::IsUndefined().
THREADED_TEST | ( | ReplaceConstantFunction | ) |
Definition at line 12505 of file test-api.cc.
References CHECK, Object::Clone(), Object::Get(), FunctionTemplate::GetFunction(), String::New(), Object::New(), FunctionTemplate::New(), and Object::Set().
THREADED_TEST | ( | Regress16276 | ) |
Definition at line 12519 of file test-api.cc.
References CHECK_EQ, and Context::DetachGlobal().
THREADED_TEST | ( | PixelArray | ) |
Definition at line 12536 of file test-api.cc.
References ASSERT, Handle< T >::cast(), Smi::cast(), Object::Cast(), CHECK_EQ, FACTORY, Smi::FromInt(), Object::Get(), Context::Global(), HEAP, Value::Int32Value(), Handle< T >::is_null(), v8::kExternalPixelArray, Heap::kNoGCFlags, v8::internal::kNonStrictMode, Integer::New(), Object::New(), NONE, Utils::OpenHandle(), Object::Set(), JSObject::SetElement(), and Object::SetIndexedPropertiesToPixelData().
THREADED_TEST | ( | PixelArrayInfo | ) |
Definition at line 12925 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetIndexedPropertiesPixelData(), Object::GetIndexedPropertiesPixelDataLength(), Object::HasIndexedPropertiesInPixelData(), Object::New(), and Object::SetIndexedPropertiesToPixelData().
THREADED_TEST | ( | PixelArrayWithInterceptor | ) |
Definition at line 12957 of file test-api.cc.
References Handle< T >::cast(), CHECK, CHECK_EQ, FACTORY, Context::Global(), Value::Int32Value(), v8::kExternalPixelArray, ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::SetIndexedPropertiesToPixelData(), and ObjectTemplate::SetIndexedPropertyHandler().
THREADED_TEST | ( | ExternalByteArray | ) |
Definition at line 13509 of file test-api.cc.
References v8::kExternalByteArray.
THREADED_TEST | ( | ExternalUnsignedByteArray | ) |
Definition at line 13517 of file test-api.cc.
References v8::kExternalUnsignedByteArray.
THREADED_TEST | ( | ExternalPixelArray | ) |
Definition at line 13525 of file test-api.cc.
References v8::kExternalPixelArray.
THREADED_TEST | ( | ExternalShortArray | ) |
Definition at line 13533 of file test-api.cc.
References v8::kExternalShortArray.
THREADED_TEST | ( | ExternalUnsignedShortArray | ) |
Definition at line 13541 of file test-api.cc.
References v8::kExternalUnsignedShortArray.
THREADED_TEST | ( | ExternalIntArray | ) |
Definition at line 13549 of file test-api.cc.
References v8::kExternalIntArray.
THREADED_TEST | ( | ExternalUnsignedIntArray | ) |
Definition at line 13557 of file test-api.cc.
References v8::kExternalUnsignedIntArray.
THREADED_TEST | ( | ExternalFloatArray | ) |
Definition at line 13565 of file test-api.cc.
References v8::kExternalFloatArray.
THREADED_TEST | ( | ExternalDoubleArray | ) |
Definition at line 13573 of file test-api.cc.
References v8::kExternalDoubleArray.
THREADED_TEST | ( | ExternalArrays | ) |
Definition at line 13581 of file test-api.cc.
THREADED_TEST | ( | ExternalArrayInfo | ) |
Definition at line 13610 of file test-api.cc.
References ExternalArrayInfoTestHelper(), v8::kExternalByteArray, v8::kExternalDoubleArray, v8::kExternalFloatArray, v8::kExternalIntArray, v8::kExternalPixelArray, v8::kExternalShortArray, v8::kExternalUnsignedByteArray, v8::kExternalUnsignedIntArray, and v8::kExternalUnsignedShortArray.
THREADED_TEST | ( | ScriptContextDependence | ) |
Definition at line 13623 of file test-api.cc.
References CHECK_EQ, Script::Compile(), Context::Global(), Script::New(), String::New(), Integer::New(), and Script::Run().
THREADED_TEST | ( | StackTrace | ) |
Definition at line 13639 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), Script::New(), String::New(), NULL, and TryCatch::StackTrace().
THREADED_TEST | ( | GetHeapStatistics | ) |
Definition at line 14174 of file test-api.cc.
References CHECK_EQ, CHECK_NE, V8::GetHeapStatistics(), HeapStatistics::total_heap_size(), and HeapStatistics::used_heap_size().
THREADED_TEST | ( | QuietSignalingNaNs | ) |
Definition at line 14272 of file test-api.cc.
References CHECK_EQ, Number::New(), Object::New(), and Value::NumberValue().
THREADED_TEST | ( | SpaghettiStackReThrow | ) |
Definition at line 14369 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), Context::Global(), TryCatch::HasCaught(), String::New(), and FunctionTemplate::New().
THREADED_TEST | ( | ScriptOrigin | ) |
Definition at line 14484 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetScriptOrigin(), Context::Global(), Value::Int32Value(), and String::New().
THREADED_TEST | ( | FunctionGetInferredName | ) |
Definition at line 14505 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetInferredName(), Context::Global(), and String::New().
THREADED_TEST | ( | ScriptLineNumber | ) |
Definition at line 14517 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetScriptLineNumber(), Context::Global(), and String::New().
THREADED_TEST | ( | ScriptColumnNumber | ) |
Definition at line 14533 of file test-api.cc.
References bar, Local< T >::Cast(), CHECK_EQ, Script::Compile(), foo, Function::GetScriptColumnNumber(), Context::Global(), String::New(), and Integer::New().
THREADED_TEST | ( | FunctionGetScriptId | ) |
Definition at line 14550 of file test-api.cc.
References bar, Local< T >::Cast(), CHECK_EQ, Script::Compile(), foo, Function::GetScriptId(), Context::Global(), Script::Id(), String::New(), Integer::New(), and Script::Run().
THREADED_TEST | ( | InterceptorOnConstructorPrototype | ) |
Definition at line 14631 of file test-api.cc.
References Handle< T >::Cast(), CHECK_EQ, Script::Compile(), Object::Get(), Context::Global(), and Script::Run().
THREADED_TEST | ( | AddToJSFunctionResultCache | ) |
Definition at line 14765 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | FillJSFunctionResultCache | ) |
Definition at line 14792 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | RoundRobinGetFromCache | ) |
Definition at line 14814 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | ReverseGetFromCache | ) |
Definition at line 14839 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | TestEviction | ) |
Definition at line 14864 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | TwoByteStringInAsciiCons | ) |
Definition at line 14882 of file test-api.cc.
References ConsString::cast(), CHECK, CHECK_EQ, v8::internal::FlattenGetString(), v8::internal::FlattenString(), Utils::OpenHandle(), and String::WriteToFlat().
THREADED_TEST | ( | Equals | ) |
Definition at line 15681 of file test-api.cc.
References CHECK, Value::Equals(), Object::GetPrototype(), Context::Global(), and Value::StrictEquals().
THREADED_TEST | ( | CreationContext | ) |
Definition at line 15756 of file test-api.cc.
References CHECK, and FunctionTemplate::New().
THREADED_TEST | ( | CreationContextOfJsFunction | ) |
Definition at line 15843 of file test-api.cc.
References CHECK, and v8::internal::Object.
THREADED_TEST | ( | AllowCodeGenFromStrings | ) |
Definition at line 16016 of file test-api.cc.
References Context::AllowCodeGenerationFromStrings(), CHECK, CheckCodeGenerationAllowed(), CheckCodeGenerationDisallowed(), CodeGenerationAllowed(), CodeGenerationDisallowed(), and Context::IsCodeGenerationFromStringsAllowed().
THREADED_TEST | ( | CallAPIFunctionOnNonObject | ) |
Definition at line 16051 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ReadOnlyIndexedProperties | ) |
Definition at line 16063 of file test-api.cc.
References CHECK_EQ, Context::Global(), and v8::ReadOnly.
THREADED_TEST | ( | Regress1516 | ) |
Definition at line 16084 of file test-api.cc.
References MapCache::cast(), CHECK_GT, CHECK_LE, and HashTable< Shape, Key >::NumberOfElements().
THREADED_TEST | ( | Regress93759 | ) |
Definition at line 16127 of file test-api.cc.
References CHECK, FunctionTemplate::New(), ObjectTemplate::New(), Context::New(), NULL, and v8::Undefined().
THREADED_TEST | ( | Regress125988 | ) |
Definition at line 16218 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | ForeignFunctionReceiver | ) |
Definition at line 16252 of file test-api.cc.
References CHECK, Context::Global(), Context::New(), and Context::SetSecurityToken().
THREADED_TEST | ( | InstanceCheckOnInstanceAccessor | ) |
Definition at line 16680 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | InstanceCheckOnInstanceAccessorWithInterceptor | ) |
Definition at line 16708 of file test-api.cc.
References AddInterceptor(), CHECK, v8::DEFAULT, EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | InstanceCheckOnPrototypeAccessor | ) |
Definition at line 16737 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.
v8::Handle<Value> ThrowFromC | ( | const v8::Arguments & | args | ) |
Definition at line 2933 of file test-api.cc.
References ApiTestFuzzer::Fuzz(), and v8::ThrowException().
Referenced by TEST(), and THREADED_TEST().
v8::Handle<v8::Value> ThrowingDirectApiCallback | ( | const v8::Arguments & | args | ) |
Definition at line 9399 of file test-api.cc.
References v8::ThrowException().
Referenced by THREADED_TEST().
v8::Handle<v8::Value> ThrowingDirectGetterCallback | ( | Local< String > | name, |
const v8::AccessorInfo & | info | ||
) |
Definition at line 9451 of file test-api.cc.
References v8::ThrowException().
Referenced by THREADED_TEST().
v8::Handle<Value> ThrowValue | ( | const v8::Arguments & | args | ) |
Definition at line 3272 of file test-api.cc.
References CHECK_EQ, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::ThrowException().
Referenced by THREADED_TEST().
Handle<v8::Array> UnboxedDoubleIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 3909 of file test-api.cc.
References Array::Cast().
Referenced by THREADED_TEST().
v8::Handle<Value> WhammyPropertyGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 5069 of file test-api.cc.
References Handle< T >::Cast(), Handle< T >::Clear(), Whammy::cursor_, Whammy::getScript(), Handle< T >::IsEmpty(), Whammy::kObjectCount, Persistent< T >::MakeWeak(), Persistent< T >::New(), Object::New(), Whammy::objects_, and Script::Run().
Referenced by THREADED_TEST().
v8::Handle<v8::Value> WithTryCatch | ( | const v8::Arguments & | args | ) |
Definition at line 3342 of file test-api.cc.
References v8::Undefined().
Referenced by THREADED_TEST().
v8::Handle<Function> args_fun |
Definition at line 5231 of file test-api.cc.
v8::Persistent<v8::Object> bad_handle |
Definition at line 10751 of file test-api.cc.
v8::Handle<v8::Object> bottom |
Definition at line 1625 of file test-api.cc.
Referenced by CharacterRange::AddCaseEquivalents().
v8::Handle<Value> call_ic_function |
Definition at line 9040 of file test-api.cc.
v8::Handle<Value> call_ic_function2 |
Definition at line 9041 of file test-api.cc.
v8::Handle<Value> call_ic_function3 |
Definition at line 9042 of file test-api.cc.
v8::Handle<Script> call_recursively_script |
Definition at line 1808 of file test-api.cc.
uint8_t callback_fired = 0 |
Definition at line 16346 of file test-api.cc.
v8::Persistent<Context> calling_context0 |
Definition at line 12422 of file test-api.cc.
v8::Persistent<Context> calling_context1 |
Definition at line 12423 of file test-api.cc.
v8::Persistent<Context> calling_context2 |
Definition at line 12424 of file test-api.cc.
int echo_indexed_call_count = 0 |
Definition at line 1599 of file test-api.cc.
int echo_named_call_count |
Definition at line 1290 of file test-api.cc.
int epilogue_call_count = 0 |
Definition at line 14711 of file test-api.cc.
Referenced by EpilogueCallback().
int epilogue_call_count_second = 0 |
Definition at line 14713 of file test-api.cc.
Referenced by EpilogueCallbackSecond().
int global_index = 0 |
Definition at line 5034 of file test-api.cc.
v8::Handle<Value> keyed_call_ic_function |
Definition at line 9799 of file test-api.cc.
bool message_received |
Definition at line 2388 of file test-api.cc.
int p_getter_count |
Definition at line 5409 of file test-api.cc.
int p_getter_count2 |
Definition at line 5410 of file test-api.cc.
bool pass_on_get = false |
Definition at line 12178 of file test-api.cc.
int prologue_call_count = 0 |
Definition at line 14710 of file test-api.cc.
Referenced by PrologueCallback().
int prologue_call_count_second = 0 |
Definition at line 14712 of file test-api.cc.
Referenced by PrologueCallbackSecond().
v8::Persistent<v8::Object> some_object |
Definition at line 10750 of file test-api.cc.
v8::Persistent<v8::Object> to_be_disposed |
Definition at line 10780 of file test-api.cc.
v8::Persistent<Value> xValue |
Definition at line 3682 of file test-api.cc.