v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <limits.h>
#include <signal.h>
#include <unistd.h>
#include "v8.h"
#include "api.h"
#include "isolate.h"
#include "compilation-cache.h"
#include "execution.h"
#include "objects.h"
#include "snapshot.h"
#include "platform.h"
#include "utils.h"
#include "cctest.h"
#include "parser.h"
#include "unicode-inl.h"
Go to the source code of this file.
Data Structures | |
class | TestResource |
class | TestAsciiResource |
class | TestAsciiResourceWithDisposeControl |
class | WeakCallCounter |
class | NativeFunctionExtension |
class | FunctionExtension |
class | Snorkel |
class | Whammy |
class | RegExpInterruptTest |
class | ApplyInterruptTest |
class | AsciiVectorResource |
class | UC16VectorResource |
class | RegExpStringModificationTest |
class | VisitorImpl |
class | IsolateThread |
class | InitDefaultIsolateThread |
class | Visitor42 |
class | ThreadInterruptTest |
Typedefs | |
typedef v8::Handle< Value >(* | NamedPropertyGetter )(Local< String > property, const AccessorInfo &info) |
Functions | |
THREADED_TEST (Handles) | |
THREADED_TEST (ReceiverSignature) | |
THREADED_TEST (ArgumentSignature) | |
THREADED_TEST (HulIgennem) | |
THREADED_TEST (Access) | |
THREADED_TEST (AccessElement) | |
THREADED_TEST (Script) | |
THREADED_TEST (ScriptUsingStringResource) | |
THREADED_TEST (ScriptUsingAsciiStringResource) | |
THREADED_TEST (ScriptMakingExternalString) | |
THREADED_TEST (ScriptMakingExternalAsciiString) | |
TEST (MakingExternalStringConditions) | |
TEST (MakingExternalAsciiStringConditions) | |
THREADED_TEST (UsingExternalString) | |
THREADED_TEST (UsingExternalAsciiString) | |
THREADED_TEST (ScavengeExternalString) | |
THREADED_TEST (ScavengeExternalAsciiString) | |
TEST (ExternalStringWithDisposeHandling) | |
THREADED_TEST (StringConcat) | |
THREADED_TEST (GlobalProperties) | |
THREADED_TEST (FunctionTemplate) | |
THREADED_TEST (ExternalWrap) | |
THREADED_TEST (FindInstanceInPrototypeChain) | |
THREADED_TEST (TinyInteger) | |
THREADED_TEST (BigSmiInteger) | |
THREADED_TEST (BigInteger) | |
THREADED_TEST (TinyUnsignedInteger) | |
THREADED_TEST (BigUnsignedSmiInteger) | |
THREADED_TEST (BigUnsignedInteger) | |
THREADED_TEST (OutOfSignedRangeUnsignedInteger) | |
THREADED_TEST (IsNativeError) | |
THREADED_TEST (StringObject) | |
THREADED_TEST (NumberObject) | |
THREADED_TEST (BooleanObject) | |
THREADED_TEST (Number) | |
THREADED_TEST (ToNumber) | |
THREADED_TEST (Date) | |
THREADED_TEST (Boolean) | |
THREADED_TEST (GlobalPrototype) | |
THREADED_TEST (ObjectTemplate) | |
THREADED_TEST (DescriptorInheritance) | |
Handle< Value > | SimpleAccessorGetter (Local< String > name, const AccessorInfo &info) |
void | SimpleAccessorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
Handle< Value > | EmptyInterceptorGetter (Local< String > name, const AccessorInfo &info) |
Handle< Value > | EmptyInterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
Handle< Value > | InterceptorGetter (Local< String > name, const AccessorInfo &info) |
Handle< Value > | InterceptorSetter (Local< String > name, Local< Value > value, const AccessorInfo &info) |
void | AddAccessor (Handle< FunctionTemplate > templ, Handle< String > name, v8::AccessorGetter getter, v8::AccessorSetter setter) |
void | AddInterceptor (Handle< FunctionTemplate > templ, v8::NamedPropertyGetter getter, v8::NamedPropertySetter setter) |
THREADED_TEST (EmptyInterceptorDoesNotShadowAccessors) | |
THREADED_TEST (EmptyInterceptorDoesNotShadowJSAccessors) | |
THREADED_TEST (EmptyInterceptorDoesNotAffectJSProperties) | |
THREADED_TEST (SwitchFromInterceptorToAccessor) | |
THREADED_TEST (SwitchFromAccessorToInterceptor) | |
THREADED_TEST (SwitchFromInterceptorToAccessorWithInheritance) | |
THREADED_TEST (SwitchFromAccessorToInterceptorWithInheritance) | |
THREADED_TEST (SwitchFromInterceptorToJSAccessor) | |
THREADED_TEST (SwitchFromJSAccessorToInterceptor) | |
THREADED_TEST (SwitchFromInterceptorToProperty) | |
THREADED_TEST (SwitchFromPropertyToInterceptor) | |
THREADED_TEST (NamedPropertyHandlerGetter) | |
THREADED_TEST (IndexedPropertyHandlerGetter) | |
v8::Handle< Value > | CheckThisIndexedPropertySetter (uint32_t index, Local< Value > value, const AccessorInfo &info) |
v8::Handle< Value > | CheckThisNamedPropertySetter (Local< String > property, Local< Value > value, const AccessorInfo &info) |
v8::Handle< v8::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 (MessageHandler0) | |
TEST (MessageHandler1) | |
TEST (MessageHandler2) | |
THREADED_TEST (GetSetProperty) | |
THREADED_TEST (PropertyAttributes) | |
THREADED_TEST (Array) | |
v8::Handle< Value > | HandleF (const v8::Arguments &args) |
THREADED_TEST (Vector) | |
THREADED_TEST (FunctionCall) | |
TEST (OutOfMemory) | |
v8::Handle< Value > | ProvokeOutOfMemory (const v8::Arguments &args) |
TEST (OutOfMemoryNested) | |
TEST (HugeConsStringOutOfMemory) | |
THREADED_TEST (ConstructCall) | |
THREADED_TEST (ConversionNumber) | |
THREADED_TEST (isNumberType) | |
THREADED_TEST (ConversionException) | |
v8::Handle< Value > | ThrowFromC (const v8::Arguments &args) |
v8::Handle< Value > | CCatcher (const v8::Arguments &args) |
THREADED_TEST (APICatch) | |
THREADED_TEST (APIThrowTryCatch) | |
TEST (TryCatchInTryFinally) | |
TEST (APIThrowMessageOverwrittenToString) | |
TEST (CustomErrorToString) | |
TEST (APIThrowMessage) | |
TEST (APIThrowMessageAndVerboseTryCatch) | |
TEST (APIStackOverflowAndVerboseTryCatch) | |
THREADED_TEST (ExternalScriptException) | |
v8::Handle< Value > | CThrowCountDown (const v8::Arguments &args) |
v8::Handle< Value > | JSCheck (const v8::Arguments &args) |
THREADED_TEST (EvalInTryFinally) | |
TEST (ExceptionOrder) | |
v8::Handle< Value > | ThrowValue (const v8::Arguments &args) |
THREADED_TEST (ThrowValues) | |
THREADED_TEST (CatchZero) | |
THREADED_TEST (CatchExceptionFromWith) | |
THREADED_TEST (TryCatchAndFinallyHidingException) | |
v8::Handle< v8::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 (SetterOnly) | |
THREADED_TEST (NoAccessors) | |
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 (NullExtensions) | |
THREADED_TEST (ExtensionMissingSourceLength) | |
THREADED_TEST (ExtensionWithSourceLength) | |
THREADED_TEST (UseEvalFromExtension) | |
THREADED_TEST (UseWithFromExtension) | |
THREADED_TEST (AutoExtensions) | |
THREADED_TEST (SyntaxErrorExtensions) | |
THREADED_TEST (ExceptionExtensions) | |
THREADED_TEST (NativeCallInExtensions) | |
THREADED_TEST (NativeFunctionDeclaration) | |
THREADED_TEST (NativeFunctionDeclarationError) | |
THREADED_TEST (NativeFunctionDeclarationErrorEscape) | |
THREADED_TEST (ExtensionDependency) | |
THREADED_TEST (FunctionLookup) | |
THREADED_TEST (NativeFunctionConstructCall) | |
void | StoringErrorCallback (const char *location, const char *message) |
TEST (ErrorReporting) | |
void | OOMCallback (const char *location, const char *message) |
TEST (RegexpOutOfMemory) | |
THREADED_TEST (ErrorWithMissingScriptInfo) | |
v8::Handle< Value > | WhammyPropertyGetter (Local< String > name, const AccessorInfo &info) |
THREADED_TEST (WeakReference) | |
THREADED_TEST (IndependentWeakHandle) | |
THREADED_TEST (GCFromWeakCallbacks) | |
THREADED_TEST (IndependentHandleRevival) | |
THREADED_TEST (Arguments) | |
THREADED_TEST (Deleter) | |
THREADED_TEST (Enumerators) | |
THREADED_TEST (GetterHolders) | |
THREADED_TEST (PreInterceptorHolders) | |
THREADED_TEST (ObjectInstantiation) | |
int | GetUtf8Length (Handle< String > str) |
THREADED_TEST (StringWrite) | |
THREADED_TEST (Utf16) | |
THREADED_TEST (Utf16Symbol) | |
THREADED_TEST (ToArrayIndex) | |
THREADED_TEST (ErrorConstruction) | |
THREADED_TEST (DeleteAccessor) | |
THREADED_TEST (TypeSwitch) | |
TEST (ApiUncaughtException) | |
TEST (ExceptionInNativeScript) | |
TEST (CompilationErrorUsingTryCatchHandler) | |
TEST (TryCatchFinallyUsingTryCatchHandler) | |
TEST (SecurityHandler) | |
THREADED_TEST (SecurityChecks) | |
THREADED_TEST (SecurityChecksForPrototypeChain) | |
THREADED_TEST (CrossDomainDelete) | |
THREADED_TEST (CrossDomainIsPropertyEnumerable) | |
THREADED_TEST (CrossDomainForIn) | |
TEST (ContextDetachGlobal) | |
TEST (DetachAndReattachGlobal) | |
TEST (AccessControl) | |
TEST (AccessControlES5) | |
THREADED_TEST (AccessControlGetOwnPropertyNames) | |
THREADED_TEST (GetOwnPropertyNamesWithInterceptor) | |
THREADED_TEST (CrossDomainAccessors) | |
TEST (AccessControlIC) | |
THREADED_TEST (AccessControlFlatten) | |
THREADED_TEST (AccessControlInterceptorIC) | |
THREADED_TEST (Version) | |
THREADED_TEST (InstanceProperties) | |
THREADED_TEST (GlobalObjectInstanceProperties) | |
THREADED_TEST (CallKnownGlobalReceiver) | |
THREADED_TEST (ShadowObject) | |
THREADED_TEST (HiddenPrototype) | |
THREADED_TEST (SetPrototype) | |
THREADED_TEST (Regress91517) | |
THREADED_TEST (FunctionReadOnlyPrototype) | |
THREADED_TEST (SetPrototypeThrows) | |
THREADED_TEST (GetterSetterExceptions) | |
THREADED_TEST (Constructor) | |
THREADED_TEST (ConstructorForObject) | |
THREADED_TEST (FunctionDescriptorException) | |
THREADED_TEST (EvalAliasedDynamic) | |
THREADED_TEST (CrossEval) | |
THREADED_TEST (EvalInDetachedGlobal) | |
THREADED_TEST (CrossLazyLoad) | |
THREADED_TEST (CallAsFunction) | |
THREADED_TEST (CallableObject) | |
THREADED_TEST (HandleIteration) | |
THREADED_TEST (InterceptorHasOwnProperty) | |
THREADED_TEST (InterceptorHasOwnPropertyCausingGC) | |
THREADED_TEST (InterceptorLoadIC) | |
THREADED_TEST (InterceptorLoadICWithFieldOnHolder) | |
THREADED_TEST (InterceptorLoadICWithSubstitutedProto) | |
THREADED_TEST (InterceptorLoadICWithPropertyOnProto) | |
THREADED_TEST (InterceptorLoadICUndefined) | |
THREADED_TEST (InterceptorLoadICWithOverride) | |
THREADED_TEST (InterceptorLoadICFieldNotNeeded) | |
THREADED_TEST (InterceptorLoadICInvalidatedField) | |
THREADED_TEST (InterceptorLoadICPostInterceptor) | |
THREADED_TEST (InterceptorLoadICInvalidatedFieldViaGlobal) | |
THREADED_TEST (InterceptorLoadICWithCallbackOnHolder) | |
THREADED_TEST (InterceptorLoadICWithCallbackOnProto) | |
THREADED_TEST (InterceptorLoadICForCallbackWithOverride) | |
THREADED_TEST (InterceptorLoadICCallbackNotNeeded) | |
THREADED_TEST (InterceptorLoadICInvalidatedCallback) | |
THREADED_TEST (InterceptorLoadICInvalidatedCallbackViaGlobal) | |
THREADED_TEST (InterceptorReturningZero) | |
THREADED_TEST (InterceptorStoreIC) | |
THREADED_TEST (InterceptorStoreICWithNoSetter) | |
THREADED_TEST (InterceptorCallIC) | |
THREADED_TEST (InterceptorCallICSeesOthers) | |
THREADED_TEST (InterceptorCallICCacheableNotNeeded) | |
THREADED_TEST (InterceptorCallICInvalidatedCacheable) | |
THREADED_TEST (InterceptorCallICConstantFunctionUsed) | |
THREADED_TEST (InterceptorCallICConstantFunctionNotNeeded) | |
THREADED_TEST (InterceptorCallICConstantFunctionNotNeededWrapped) | |
THREADED_TEST (InterceptorCallICInvalidatedConstantFunction) | |
THREADED_TEST (InterceptorCallICInvalidatedConstantFunctionViaGlobal) | |
THREADED_TEST (InterceptorCallICCachedFromGlobal) | |
v8::Handle< v8::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) | |
TEST (SetFunctionEntryHook) | |
void | SimulateFullSpace (i::PagedSpace *space) |
TEST (SetJitCodeEventHandler) | |
THREADED_TEST (ExternalAllocatedMemory) | |
THREADED_TEST (DisposeEnteredContext) | |
THREADED_TEST (Regress54) | |
TEST (CatchStackOverflow) | |
THREADED_TEST (TryCatchSourceInfo) | |
THREADED_TEST (CompilationCache) | |
THREADED_TEST (CallbackFunctionName) | |
THREADED_TEST (DateAccess) | |
void | CheckProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[]) |
void | CheckOwnProperties (v8::Handle< v8::Value > val, int elmc, const char *elmv[]) |
THREADED_TEST (PropertyEnumeration) | |
THREADED_TEST (PropertyEnumeration2) | |
THREADED_TEST (DisableAccessChecksWhileConfiguring) | |
THREADED_TEST (AccessChecksReenabledCorrectly) | |
THREADED_TEST (AccessControlRepeatedContextCreation) | |
THREADED_TEST (TurnOnAccessCheck) | |
THREADED_TEST (TurnOnAccessCheckAndRecompile) | |
TEST (PreCompile) | |
TEST (PreCompileWithError) | |
TEST (Regress31661) | |
TEST (PreCompileSerialization) | |
TEST (PreCompileDeserializationError) | |
TEST (PreCompileInvalidPreparseDataError) | |
TEST (PreCompileAPIVariationsAreSame) | |
THREADED_TEST (DictionaryICLoadedFunction) | |
THREADED_TEST (CrossContextNew) | |
TEST (RegExpInterruption) | |
TEST (ApplyInterruption) | |
TEST (ObjectClone) | |
THREADED_TEST (MorphCompositeStringTest) | |
TEST (CompileExternalTwoByteSource) | |
TEST (RegExpStringModification) | |
TEST (ReadOnlyPropertyInGlobalProto) | |
TEST (ForceSet) | |
TEST (ForceSetWithInterceptor) | |
THREADED_TEST (ForceDelete) | |
THREADED_TEST (ForceDeleteWithInterceptor) | |
THREADED_TEST (ForceDeleteIC) | |
TEST (InlinedFunctionAcrossContexts) | |
THREADED_TEST (GetCallingContext) | |
THREADED_TEST (InitGlobalVarInProtoChain) | |
THREADED_TEST (ReplaceConstantFunction) | |
THREADED_TEST (Regress16276) | |
THREADED_TEST (PixelArray) | |
THREADED_TEST (PixelArrayInfo) | |
THREADED_TEST (PixelArrayWithInterceptor) | |
THREADED_TEST (ExternalByteArray) | |
THREADED_TEST (ExternalUnsignedByteArray) | |
THREADED_TEST (ExternalPixelArray) | |
THREADED_TEST (ExternalShortArray) | |
THREADED_TEST (ExternalUnsignedShortArray) | |
THREADED_TEST (ExternalIntArray) | |
THREADED_TEST (ExternalUnsignedIntArray) | |
THREADED_TEST (ExternalFloatArray) | |
THREADED_TEST (ExternalDoubleArray) | |
THREADED_TEST (ExternalArrays) | |
void | ExternalArrayInfoTestHelper (v8::ExternalArrayType array_type) |
THREADED_TEST (ExternalArrayInfo) | |
void | ExternalArrayLimitTestHelper (v8::ExternalArrayType array_type, int size) |
TEST (ExternalArrayLimits) | |
THREADED_TEST (ScriptContextDependence) | |
THREADED_TEST (StackTrace) | |
void | checkStackFrame (const char *expected_script_name, const char *expected_func_name, int expected_line_number, int expected_column, bool is_eval, bool is_constructor, v8::Handle< v8::StackFrame > frame) |
v8::Handle< Value > | AnalyzeStackInNativeCode (const v8::Arguments &args) |
TEST (CaptureStackTrace) | |
TEST (CaptureStackTraceForUncaughtException) | |
TEST (CaptureStackTraceForUncaughtExceptionAndSetters) | |
TEST (RethrowStackTrace) | |
TEST (RethrowPrimitiveStackTrace) | |
TEST (RethrowExistingStackTrace) | |
TEST (RethrowBogusErrorStackTrace) | |
v8::Handle< Value > | AnalyzeStackOfEvalWithSourceURL (const v8::Arguments &args) |
TEST (SourceURLInStackTrace) | |
v8::Handle< Value > | AnalyzeStackOfInlineScriptWithSourceURL (const v8::Arguments &args) |
TEST (InlineScriptWithSourceURLInStackTrace) | |
v8::Handle< Value > | AnalyzeStackOfDynamicScriptWithSourceURL (const v8::Arguments &args) |
TEST (DynamicWithSourceURLInStackTrace) | |
TEST (IdleNotification) | |
TEST (IdleNotificationWithSmallHint) | |
TEST (IdleNotificationWithLargeHint) | |
TEST (Regress2107) | |
TEST (SetResourceConstraints) | |
TEST (SetResourceConstraintsInThread) | |
THREADED_TEST (GetHeapStatistics) | |
TEST (VisitExternalStrings) | |
THREADED_TEST (QuietSignalingNaNs) | |
THREADED_TEST (SpaghettiStackReThrow) | |
TEST (Regress528) | |
THREADED_TEST (ScriptOrigin) | |
THREADED_TEST (FunctionGetInferredName) | |
THREADED_TEST (ScriptLineNumber) | |
THREADED_TEST (ScriptColumnNumber) | |
THREADED_TEST (FunctionGetScriptId) | |
Handle< Value > | FooGetInterceptor (Local< String > name, const AccessorInfo &info) |
Handle< Value > | FooSetInterceptor (Local< String > name, Local< Value > value, const AccessorInfo &info) |
TEST (SetterOnConstructorPrototype) | |
THREADED_TEST (InterceptorOnConstructorPrototype) | |
TEST (Bug618) | |
void | PrologueCallback (v8::GCType, v8::GCCallbackFlags) |
void | EpilogueCallback (v8::GCType, v8::GCCallbackFlags) |
void | PrologueCallbackSecond (v8::GCType, v8::GCCallbackFlags) |
void | EpilogueCallbackSecond (v8::GCType, v8::GCCallbackFlags) |
TEST (GCCallbacks) | |
THREADED_TEST (AddToJSFunctionResultCache) | |
THREADED_TEST (FillJSFunctionResultCache) | |
THREADED_TEST (RoundRobinGetFromCache) | |
THREADED_TEST (ReverseGetFromCache) | |
THREADED_TEST (TestEviction) | |
THREADED_TEST (TwoByteStringInAsciiCons) | |
void | FailedAccessCheckCallbackGC (Local< v8::Object > target, v8::AccessType type, Local< v8::Value > data) |
TEST (GCInFailedAccessCheckCallback) | |
TEST (DefaultIsolateGetCurrent) | |
TEST (IsolateNewDispose) | |
TEST (IsolateEnterExitDefault) | |
TEST (DisposeDefaultIsolate) | |
TEST (RunDefaultAndAnotherIsolate) | |
TEST (DisposeIsolateWhenInUse) | |
TEST (RunTwoIsolatesOnSingleThread) | |
TEST (MultipleIsolatesOnIndividualThreads) | |
TEST (IsolateDifferentContexts) | |
TEST (InitializeDefaultIsolateOnSecondaryThread1) | |
TEST (InitializeDefaultIsolateOnSecondaryThread2) | |
TEST (InitializeDefaultIsolateOnSecondaryThread3) | |
TEST (InitializeDefaultIsolateOnSecondaryThread4) | |
TEST (InitializeDefaultIsolateOnSecondaryThread5) | |
TEST (InitializeDefaultIsolateOnSecondaryThread6) | |
TEST (StringCheckMultipleContexts) | |
TEST (NumberCheckMultipleContexts) | |
TEST (BooleanCheckMultipleContexts) | |
TEST (DontDeleteCellLoadIC) | |
TEST (DontDeleteCellLoadICForceDelete) | |
TEST (DontDeleteCellLoadICAPI) | |
TEST (PersistentHandleVisitor) | |
TEST (RegExp) | |
THREADED_TEST (Equals) | |
TEST (NamedEnumeratorAndForIn) | |
TEST (DefinePropertyPostDetach) | |
THREADED_TEST (CreationContext) | |
THREADED_TEST (CreationContextOfJsFunction) | |
Handle< Value > | HasOwnPropertyIndexedPropertyGetter (uint32_t index, const AccessorInfo &info) |
Handle< Value > | HasOwnPropertyNamedPropertyGetter (Local< String > property, const AccessorInfo &info) |
Handle< v8::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) | |
TEST (SetErrorMessageForCodeGenFromStrings) | |
THREADED_TEST (CallAPIFunctionOnNonObject) | |
THREADED_TEST (ReadOnlyIndexedProperties) | |
THREADED_TEST (Regress1516) | |
THREADED_TEST (Regress93759) | |
THREADED_TEST (Regress125988) | |
THREADED_TEST (ForeignFunctionReceiver) | |
void | CallCompletedCallback1 () |
void | CallCompletedCallback2 () |
Handle< Value > | RecursiveCall (const Arguments &args) |
TEST (CallCompletedCallback) | |
void | CallCompletedCallbackNoException () |
void | CallCompletedCallbackException () |
TEST (CallCompletedCallbackOneException) | |
TEST (CallCompletedCallbackTwoExceptions) | |
TEST (SecondaryStubCache) | |
TEST (PrimaryStubCache) | |
TEST (StaticGetters) | |
TEST (IsolateEmbedderData) | |
TEST (StringEmpty) | |
THREADED_TEST (InstanceCheckOnInstanceAccessor) | |
THREADED_TEST (InstanceCheckOnInstanceAccessorWithInterceptor) | |
THREADED_TEST (InstanceCheckOnPrototypeAccessor) | |
TEST (TryFinallyMessage) | |
THREADED_TEST (Regress137002a) | |
THREADED_TEST (Regress137002b) | |
THREADED_TEST (Regress142088) | |
THREADED_TEST (Regress137496) | |
THREADED_TEST (Regress149912) | |
THREADED_TEST (Regress157124) | |
THREADED_TEST (SemaphoreInterruption) | |
Variables | |
int | echo_named_call_count |
int | echo_indexed_call_count = 0 |
v8::Handle< v8::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 8798 of file test-api.cc.
void AddAccessor | ( | Handle< FunctionTemplate > | templ, |
Handle< String > | name, | ||
v8::AccessorGetter | getter, | ||
v8::AccessorSetter | setter | ||
) |
Definition at line 1415 of file test-api.cc.
Referenced by THREADED_TEST().
void AddInterceptor | ( | Handle< FunctionTemplate > | templ, |
v8::NamedPropertyGetter | getter, | ||
v8::NamedPropertySetter | setter | ||
) |
Definition at line 1422 of file test-api.cc.
Referenced by THREADED_TEST().
v8::Handle<Value> AnalyzeStackInNativeCode | ( | const v8::Arguments & | args | ) |
Definition at line 14223 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> AnalyzeStackOfDynamicScriptWithSourceURL | ( | const v8::Arguments & | args | ) |
Definition at line 14591 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().
v8::Handle<Value> AnalyzeStackOfEvalWithSourceURL | ( | const v8::Arguments & | args | ) |
Definition at line 14510 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().
v8::Handle<Value> AnalyzeStackOfInlineScriptWithSourceURL | ( | const v8::Arguments & | args | ) |
Definition at line 14549 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 17136 of file test-api.cc.
Referenced by TEST().
void CallCompletedCallbackNoException | ( | ) |
Definition at line 17130 of file test-api.cc.
Referenced by TEST().
v8::Handle<Value> CCatcher | ( | const v8::Arguments & | args | ) |
Definition at line 3054 of file test-api.cc.
References CHECK, Script::Compile(), v8::False(), TryCatch::HasCaught(), Arguments::Length(), and Boolean::New().
Referenced by TEST().
void CheckCodeGenerationAllowed | ( | ) |
void CheckCodeGenerationDisallowed | ( | ) |
void CheckOwnProperties | ( | v8::Handle< v8::Value > | val, |
int | elmc, | ||
const char * | elmv[] | ||
) |
Definition at line 11564 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, Object::GetOwnPropertyNames(), and Integer::New().
Referenced by THREADED_TEST().
void CheckProperties | ( | v8::Handle< v8::Value > | val, |
int | elmc, | ||
const char * | elmv[] | ||
) |
Definition at line 11553 of file test-api.cc.
References Handle< T >::As(), CHECK_EQ, Object::GetPropertyNames(), and Integer::New().
Referenced by THREADED_TEST().
void checkStackFrame | ( | const char * | expected_script_name, |
const char * | expected_func_name, | ||
int | expected_line_number, | ||
int | expected_column, | ||
bool | is_eval, | ||
bool | is_constructor, | ||
v8::Handle< v8::StackFrame > | frame | ||
) |
Definition at line 14202 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 1741 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Array> CheckThisIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 1759 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Integer> CheckThisIndexedPropertyQuery | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Definition at line 1724 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<Value> CheckThisIndexedPropertySetter | ( | uint32_t | index, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1707 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Boolean> CheckThisNamedPropertyDeleter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 1750 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Array> CheckThisNamedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 1767 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<v8::Integer> CheckThisNamedPropertyQuery | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 1733 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
v8::Handle<Value> CheckThisNamedPropertySetter | ( | Local< String > | property, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1716 of file test-api.cc.
References CHECK, and ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
bool CodeGenerationAllowed | ( | Local< Context > | context | ) |
Definition at line 16702 of file test-api.cc.
References ApiTestFuzzer::Fuzz().
Referenced by THREADED_TEST().
bool CodeGenerationDisallowed | ( | Local< Context > | context | ) |
Definition at line 16708 of file test-api.cc.
References ApiTestFuzzer::Fuzz().
Referenced by TEST(), and THREADED_TEST().
v8::Handle<Value> CThrowCountDown | ( | const v8::Arguments & | args | ) |
Definition at line 3273 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 | ) |
Definition at line 9577 of file test-api.cc.
References HEAP, and Heap::kAbortIncrementalMarkingMask.
Referenced by THREADED_TEST().
v8::Handle<v8::Value> DirectGetterCallback | ( | Local< String > | name, |
const v8::AccessorInfo & | info | ||
) |
Definition at line 9633 of file test-api.cc.
References HEAP, and Heap::kAbortIncrementalMarkingMask.
Referenced by THREADED_TEST().
void DisposeAndForceGcCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10994 of file test-api.cc.
References Persistent< T >::Dispose(), HEAP, and Heap::kNoGCFlags.
Referenced by THREADED_TEST().
void DisposingCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 11015 of file test-api.cc.
References Persistent< T >::Dispose().
Referenced by THREADED_TEST().
Handle<Value> EmptyInterceptorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1378 of file test-api.cc.
Referenced by THREADED_TEST().
Handle<Value> EmptyInterceptorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1383 of file test-api.cc.
Referenced by THREADED_TEST().
void EpilogueCallback | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
void EpilogueCallbackSecond | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
Definition at line 15386 of file test-api.cc.
References epilogue_call_count_second.
Referenced by TEST().
void ExternalArrayInfoTestHelper | ( | v8::ExternalArrayType | array_type | ) |
Definition at line 14105 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 ExternalArrayLimitTestHelper | ( | v8::ExternalArrayType | array_type, |
int | size | ||
) |
Definition at line 14136 of file test-api.cc.
References CHECK, CHECK_NE, Object::HasIndexedPropertiesInExternalArrayData(), Object::New(), NULL, V8::SetFatalErrorHandler(), Object::SetIndexedPropertiesToExternalArrayData(), and StoringErrorCallback().
Referenced by TEST().
void FailedAccessCheckCallbackGC | ( | Local< v8::Object > | target, |
v8::AccessType | type, | ||
Local< v8::Value > | data | ||
) |
Definition at line 15630 of file test-api.cc.
References HEAP, and Heap::kNoGCFlags.
Referenced by TEST().
Handle<Value> FooGetInterceptor | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 15220 of file test-api.cc.
References CHECK.
Handle<Value> FooSetInterceptor | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 15229 of file test-api.cc.
References CHECK.
int GetUtf8Length | ( | Handle< String > | str | ) |
Definition at line 5713 of file test-api.cc.
References v8::internal::FlattenString().
Referenced by THREADED_TEST().
void HandleCreatingCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 11019 of file test-api.cc.
References Persistent< T >::Dispose(), Persistent< T >::New(), and Object::New().
Referenced by THREADED_TEST().
v8::Handle<Value> HandleF | ( | const v8::Arguments & | args | ) |
Definition at line 2632 of file test-api.cc.
References HandleScope::Close(), ApiTestFuzzer::Fuzz(), Arguments::Length(), and Object::New().
Referenced by THREADED_TEST().
Handle<Value> HasOwnPropertyAccessorGetter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 16594 of file test-api.cc.
Referenced by TEST().
Handle<Value> HasOwnPropertyIndexedPropertyGetter | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Definition at line 16559 of file test-api.cc.
Referenced by TEST().
Handle<v8::Integer> HasOwnPropertyIndexedPropertyQuery | ( | uint32_t | index, |
const AccessorInfo & | info | ||
) |
Handle<Value> HasOwnPropertyNamedPropertyGetter | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Definition at line 16566 of file test-api.cc.
Referenced by TEST().
Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Handle<v8::Integer> HasOwnPropertyNamedPropertyQuery2 | ( | Local< String > | property, |
const AccessorInfo & | info | ||
) |
Handle<Value> InterceptorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1389 of file test-api.cc.
Referenced by THREADED_TEST().
Handle<Value> InterceptorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1403 of file test-api.cc.
Referenced by THREADED_TEST().
v8::Handle<Value> JSCheck | ( | const v8::Arguments & | args | ) |
Definition at line 3306 of file test-api.cc.
References CHECK_EQ, CHECK_NE, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::Undefined().
Referenced by TEST().
void NewPersistentHandleCallback | ( | v8::Persistent< v8::Value > | handle, |
void * | |||
) |
Definition at line 10965 of file test-api.cc.
References Persistent< T >::Dispose(), and Persistent< T >::New().
Referenced by THREADED_TEST().
Handle<v8::Array> NonStrictArgsIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 4119 of file test-api.cc.
References Object::Cast().
Referenced by THREADED_TEST().
void OOMCallback | ( | const char * | location, |
const char * | message | ||
) |
Definition at line 5179 of file test-api.cc.
Referenced by TEST().
void PrologueCallback | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
void PrologueCallbackSecond | ( | v8::GCType | , |
v8::GCCallbackFlags | |||
) |
Definition at line 15382 of file test-api.cc.
References prologue_call_count_second.
Referenced by TEST().
v8::Handle<Value> ProvokeOutOfMemory | ( | const v8::Arguments & | args | ) |
Definition at line 2762 of file test-api.cc.
References CHECK, ApiTestFuzzer::Fuzz(), and Context::HasOutOfMemoryException().
Referenced by TEST().
Handle<Value> RecursiveCall | ( | const Arguments & | args | ) |
Definition at line 17078 of file test-api.cc.
References CHECK_EQ, OS::Print(), OS::SNPrintF(), Vector< T >::start(), and v8::Undefined().
Referenced by TEST().
Handle<Value> SimpleAccessorGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 1366 of file test-api.cc.
Referenced by THREADED_TEST().
void SimpleAccessorSetter | ( | Local< String > | name, |
Local< Value > | value, | ||
const AccessorInfo & | info | ||
) |
Definition at line 1372 of file test-api.cc.
Referenced by THREADED_TEST().
void SimulateFullSpace | ( | i::PagedSpace * | space | ) |
Definition at line 38 of file test-alloc.cc.
Referenced by TEST().
void StoringErrorCallback | ( | const char * | location, |
const char * | message | ||
) |
Definition at line 5146 of file test-api.cc.
Referenced by ExternalArrayLimitTestHelper(), and TEST().
TEST | ( | MakingExternalStringConditions | ) |
Definition at line 506 of file test-api.cc.
References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.
TEST | ( | MakingExternalAsciiStringConditions | ) |
Definition at line 552 of file test-api.cc.
References CHECK, v8::internal::DeleteArray(), HEAP, and v8::internal::NEW_SPACE.
TEST | ( | ExternalStringWithDisposeHandling | ) |
Definition at line 687 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, and v8::internal::StrDup().
TEST | ( | MessageHandler1 | ) |
Definition at line 2492 of file test-api.cc.
References V8::AddMessageListener(), CHECK, and V8::RemoveMessageListeners().
TEST | ( | MessageHandler2 | ) |
Definition at line 2516 of file test-api.cc.
References V8::AddMessageListener(), Object::Cast(), CHECK, Exception::Error(), Context::Global(), V8::RemoveMessageListeners(), and Object::SetHiddenValue().
TEST | ( | OutOfMemory | ) |
Definition at line 2738 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 2779 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 2808 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 3101 of file test-api.cc.
References CCatcher(), CHECK, and FunctionTemplate::New().
TEST | ( | APIThrowMessageOverwrittenToString | ) |
Definition at line 3136 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Value::Equals(), Fail(), FunctionTemplate::New(), NULL, and V8::RemoveMessageListeners().
TEST | ( | CustomErrorToString | ) |
Definition at line 3182 of file test-api.cc.
References V8::AddMessageListener(), and V8::RemoveMessageListeners().
TEST | ( | APIThrowMessage | ) |
Definition at line 3207 of file test-api.cc.
References V8::AddMessageListener(), CHECK, FunctionTemplate::New(), V8::RemoveMessageListeners(), and ThrowFromC().
TEST | ( | APIThrowMessageAndVerboseTryCatch | ) |
Definition at line 3221 of file test-api.cc.
References V8::AddMessageListener(), CHECK, TryCatch::HasCaught(), FunctionTemplate::New(), V8::RemoveMessageListeners(), TryCatch::SetVerbose(), and ThrowFromC().
TEST | ( | APIStackOverflowAndVerboseTryCatch | ) |
Definition at line 3239 of file test-api.cc.
References V8::AddMessageListener(), CHECK, TryCatch::HasCaught(), V8::RemoveMessageListeners(), and TryCatch::SetVerbose().
TEST | ( | ExceptionOrder | ) |
Definition at line 3356 of file test-api.cc.
References CThrowCountDown(), Context::Global(), JSCheck(), and FunctionTemplate::New().
TEST | ( | UndetectableOptimized | ) |
Definition at line 4692 of file test-api.cc.
References Context::Global().
TEST | ( | ErrorReporting | ) |
Definition at line 5157 of file test-api.cc.
References CHECK, CHECK_NE, Handle< T >::IsEmpty(), NULL, v8::RegisterExtension(), V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RegexpOutOfMemory | ) |
Definition at line 5184 of file test-api.cc.
References CHECK, NULL, OOMCallback(), and V8::SetFatalErrorHandler().
TEST | ( | ApiUncaughtException | ) |
Definition at line 6346 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 6386 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 6406 of file test-api.cc.
References CHECK, CHECK_NE, TryCatch::Exception(), TryCatch::HasCaught(), and NULL.
TEST | ( | TryCatchFinallyUsingTryCatchHandler | ) |
Definition at line 6416 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), and TryCatch::Reset().
TEST | ( | SecurityHandler | ) |
Definition at line 6437 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 6713 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 6777 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 6903 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 7147 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 7382 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 10735 of file test-api.cc.
References ApiTestFuzzer::FIRST_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading2 | ) |
Definition at line 10741 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SECOND_PART, ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | Threading3 | ) |
Definition at line 10747 of file test-api.cc.
References ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), ApiTestFuzzer::TearDown(), and ApiTestFuzzer::THIRD_PART.
TEST | ( | Threading4 | ) |
Definition at line 10753 of file test-api.cc.
References ApiTestFuzzer::FOURTH_PART, ApiTestFuzzer::RunAllTests(), ApiTestFuzzer::SetUp(), and ApiTestFuzzer::TearDown().
TEST | ( | NestedLockers | ) |
Definition at line 10808 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Locker::IsLocked(), and FunctionTemplate::New().
TEST | ( | NestedLockersNoTryCatch | ) |
Definition at line 10830 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
TEST | ( | DontLeakGlobalObjects | ) |
Definition at line 10924 of file test-api.cc.
References V8::ContextDisposedNotification(), and V8::Initialize().
TEST | ( | SetFunctionEntryHook | ) |
Definition at line 11155 of file test-api.cc.
References CHECK, CHECK_EQ, NULL, and V8::SetFunctionEntryHook().
TEST | ( | SetJitCodeEventHandler | ) |
Definition at line 11298 of file test-api.cc.
References CHECK_LE, CHECK_NE, code(), Isolate::Dispose(), Isolate::Enter(), Isolate::Exit(), HEAP, ISOLATE, v8::kJitCodeEventDefault, v8::kJitCodeEventEnumExisting, Isolate::New(), NULL, TemplateHashMapImpl< AllocationPolicy >::occupancy(), Script::Run(), and SimulateFullSpace().
TEST | ( | CatchStackOverflow | ) |
Definition at line 11435 of file test-api.cc.
References CHECK, Script::Compile(), Handle< T >::IsEmpty(), String::New(), and Script::Run().
TEST | ( | PreCompile | ) |
Definition at line 11909 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 11923 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | Regress31661 | ) |
Definition at line 11933 of file test-api.cc.
References CHECK, ScriptData::HasError(), V8::Initialize(), ScriptData::PreCompile(), and v8::internal::StrLength().
TEST | ( | PreCompileSerialization | ) |
Definition at line 11944 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 11970 of file test-api.cc.
References CHECK_EQ, V8::Initialize(), ScriptData::Length(), and ScriptData::New().
TEST | ( | PreCompileInvalidPreparseDataError | ) |
Definition at line 11983 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 12030 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 12222 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and RegExpInterruptTest::RunTest().
TEST | ( | ApplyInterruption | ) |
Definition at line 12331 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and ApplyInterruptTest::RunTest().
TEST | ( | ObjectClone | ) |
Definition at line 12353 of file test-api.cc.
References CHECK, CHECK_EQ, Integer::New(), sample, and Object::Set().
TEST | ( | CompileExternalTwoByteSource | ) |
Definition at line 12504 of file test-api.cc.
References Script::Compile(), v8::internal::DeleteArray(), String::NewExternal(), NULL, and v8::internal::StrLength().
TEST | ( | RegExpStringModification | ) |
Definition at line 12644 of file test-api.cc.
References CHECK, V8::Initialize(), LocalContext::local(), and RegExpStringModificationTest::RunTest().
TEST | ( | ReadOnlyPropertyInGlobalProto | ) |
Definition at line 12667 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 12717 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 12758 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 12895 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), Value::Int32Value(), String::New(), and Context::New().
TEST | ( | ExternalArrayLimits | ) |
Definition at line 14147 of file test-api.cc.
References ExternalArrayLimitTestHelper(), v8::kExternalByteArray, v8::kExternalDoubleArray, v8::kExternalFloatArray, v8::kExternalIntArray, v8::kExternalPixelArray, v8::kExternalShortArray, v8::kExternalUnsignedByteArray, v8::kExternalUnsignedIntArray, and v8::kExternalUnsignedShortArray.
TEST | ( | CaptureStackTrace | ) |
Definition at line 14278 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 14336 of file test-api.cc.
References V8::AddMessageListener(), CHECK, Object::Get(), Context::Global(), NULL, V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | CaptureStackTraceForUncaughtExceptionAndSetters | ) |
Definition at line 14359 of file test-api.cc.
References StackTrace::kDetailed, and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowStackTrace | ) |
Definition at line 14395 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowPrimitiveStackTrace | ) |
Definition at line 14437 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowExistingStackTrace | ) |
Definition at line 14471 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | RethrowBogusErrorStackTrace | ) |
Definition at line 14496 of file test-api.cc.
References V8::AddMessageListener(), V8::RemoveMessageListeners(), and V8::SetCaptureStackTraceForUncaughtExceptions().
TEST | ( | SourceURLInStackTrace | ) |
Definition at line 14526 of file test-api.cc.
References AnalyzeStackOfEvalWithSourceURL(), CHECK, and FunctionTemplate::New().
TEST | ( | InlineScriptWithSourceURLInStackTrace | ) |
Definition at line 14566 of file test-api.cc.
References AnalyzeStackOfInlineScriptWithSourceURL(), CHECK, and FunctionTemplate::New().
TEST | ( | DynamicWithSourceURLInStackTrace | ) |
Definition at line 14608 of file test-api.cc.
References AnalyzeStackOfDynamicScriptWithSourceURL(), CHECK, and FunctionTemplate::New().
TEST | ( | IdleNotification | ) |
Definition at line 14641 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | IdleNotificationWithSmallHint | ) |
Definition at line 14660 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | IdleNotificationWithLargeHint | ) |
Definition at line 14680 of file test-api.cc.
References CHECK, CHECK_GT, CHECK_LT, HEAP, V8::IdleNotification(), and v8::MB.
TEST | ( | Regress2107 | ) |
Definition at line 14699 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 14753 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | SetResourceConstraintsInThread | ) |
Definition at line 14775 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), ResourceConstraints::set_stack_limit(), and v8::SetResourceConstraints().
TEST | ( | VisitExternalStrings | ) |
Definition at line 14854 of file test-api.cc.
References CHECK, String::IsExternal(), String::NewExternal(), and V8::VisitExternalResources().
TEST | ( | Regress528 | ) |
Definition at line 15026 of file test-api.cc.
References CHECK, CHECK_EQ, CHECK_GE, V8::ContextDisposedNotification(), Persistent< T >::Dispose(), TryCatch::HasCaught(), HEAP, V8::Initialize(), Heap::kNoGCFlags, TryCatch::Message(), and String::New().
TEST | ( | SetterOnConstructorPrototype | ) |
Definition at line 15240 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 15324 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 15390 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 15637 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 15714 of file test-api.cc.
References CHECK, Isolate::GetCurrent(), and NULL.
TEST | ( | IsolateNewDispose | ) |
Definition at line 15721 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 15736 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::Enter(), Isolate::Exit(), Isolate::GetCurrent(), and NULL.
TEST | ( | DisposeDefaultIsolate | ) |
Definition at line 15754 of file test-api.cc.
References CHECK, CHECK_NE, Isolate::Dispose(), Isolate::GetCurrent(), NULL, V8::SetFatalErrorHandler(), and StoringErrorCallback().
TEST | ( | RunDefaultAndAnotherIsolate | ) |
Definition at line 15771 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 15813 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 15829 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 15964 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 15992 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::New(), and Context::New().
TEST | ( | InitializeDefaultIsolateOnSecondaryThread1 | ) |
Definition at line 16080 of file test-api.cc.
References InitDefaultIsolateThread::IgnoreOOM.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread2 | ) |
Definition at line 16084 of file test-api.cc.
References InitDefaultIsolateThread::SetResourceConstraints.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread3 | ) |
Definition at line 16088 of file test-api.cc.
References InitDefaultIsolateThread::SetFatalHandler.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread4 | ) |
Definition at line 16092 of file test-api.cc.
References InitDefaultIsolateThread::SetCounterFunction.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread5 | ) |
Definition at line 16096 of file test-api.cc.
References InitDefaultIsolateThread::SetCreateHistogramFunction.
TEST | ( | InitializeDefaultIsolateOnSecondaryThread6 | ) |
Definition at line 16100 of file test-api.cc.
References InitDefaultIsolateThread::SetAddHistogramSampleFunction.
TEST | ( | StringCheckMultipleContexts | ) |
Definition at line 16105 of file test-api.cc.
TEST | ( | NumberCheckMultipleContexts | ) |
Definition at line 16128 of file test-api.cc.
TEST | ( | BooleanCheckMultipleContexts | ) |
Definition at line 16151 of file test-api.cc.
TEST | ( | DontDeleteCellLoadIC | ) |
Definition at line 16174 of file test-api.cc.
References HEAP, and Heap::kNoGCFlags.
TEST | ( | DontDeleteCellLoadICForceDelete | ) |
Definition at line 16214 of file test-api.cc.
References CHECK, and Context::Global().
TEST | ( | DontDeleteCellLoadICAPI | ) |
Definition at line 16242 of file test-api.cc.
References CHECK, v8::DontDelete, and Context::Global().
TEST | ( | PersistentHandleVisitor | ) |
Definition at line 16292 of file test-api.cc.
References CHECK_EQ, Visitor42::counter_, Persistent< T >::New(), Object::New(), and V8::VisitHandlesWithClassIds().
TEST | ( | RegExp | ) |
Definition at line 16309 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 16411 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 16426 of file test-api.cc.
References Handle< T >::As(), Function::Call(), Context::DetachGlobal(), Context::Global(), and NULL.
TEST | ( | HasOwnProperty | ) |
Definition at line 16600 of file test-api.cc.
References CHECK, HasOwnPropertyAccessorGetter(), HasOwnPropertyIndexedPropertyGetter(), HasOwnPropertyIndexedPropertyQuery(), HasOwnPropertyNamedPropertyGetter(), HasOwnPropertyNamedPropertyQuery(), and HasOwnPropertyNamedPropertyQuery2().
TEST | ( | SetErrorMessageForCodeGenFromStrings | ) |
Definition at line 16744 of file test-api.cc.
References Context::AllowCodeGenerationFromStrings(), CHECK, CodeGenerationDisallowed(), and Context::SetErrorMessageForCodeGenerationFromStrings().
TEST | ( | CallCompletedCallback | ) |
Definition at line 17097 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 17142 of file test-api.cc.
References V8::AddCallCompletedCallback(), and CallCompletedCallbackNoException().
TEST | ( | CallCompletedCallbackTwoExceptions | ) |
Definition at line 17150 of file test-api.cc.
References V8::AddCallCompletedCallback(), and CallCompletedCallbackException().
TEST | ( | SecondaryStubCache | ) |
Definition at line 17216 of file test-api.cc.
TEST | ( | PrimaryStubCache | ) |
Definition at line 17221 of file test-api.cc.
TEST | ( | StaticGetters | ) |
Definition at line 17233 of file test-api.cc.
References CHECK, CHECK_EQ, FACTORY, v8::False(), Isolate::GetCurrent(), Internals::IsInitialized(), v8::Null(), Utils::ReportApiFailure(), V8::SetFatalErrorHandler(), v8::True(), and v8::Undefined().
TEST | ( | IsolateEmbedderData | ) |
Definition at line 17277 of file test-api.cc.
References CHECK_EQ, Isolate::GetCurrent(), Isolate::GetData(), ISOLATE, NULL, and Isolate::SetData().
TEST | ( | StringEmpty | ) |
Definition at line 17295 of file test-api.cc.
References CHECK, CHECK_EQ, String::Empty(), FACTORY, Isolate::GetCurrent(), Internals::IsInitialized(), Utils::ReportApiFailure(), and V8::SetFatalErrorHandler().
TEST | ( | TryFinallyMessage | ) |
Definition at line 17490 of file test-api.cc.
THREADED_TEST | ( | Handles | ) |
Definition at line 146 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 171 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 215 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 277 of file test-api.cc.
References CHECK_EQ, v8::internal::DeleteArray(), Value::ToString(), and v8::Undefined().
THREADED_TEST | ( | Access | ) |
Definition at line 289 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | AccessElement | ) |
Definition at line 304 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | Script | ) |
Definition at line 323 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | ScriptUsingStringResource | ) |
Definition at line 391 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, and Heap::kNoGCFlags.
THREADED_TEST | ( | ScriptUsingAsciiStringResource | ) |
Definition at line 420 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, and v8::internal::StrDup().
THREADED_TEST | ( | ScriptMakingExternalString | ) |
Definition at line 449 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and NULL.
THREADED_TEST | ( | ScriptMakingExternalAsciiString | ) |
Definition at line 480 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 589 of file test-api.cc.
References CHECK, FACTORY, HEAP, Heap::kNoGCFlags, and v8::internal::NEW_SPACE.
THREADED_TEST | ( | UsingExternalAsciiString | ) |
Definition at line 607 of file test-api.cc.
References CHECK, FACTORY, HEAP, Heap::kNoGCFlags, v8::internal::NEW_SPACE, and v8::internal::StrDup().
THREADED_TEST | ( | ScavengeExternalString | ) |
Definition at line 625 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, v8::internal::NEW_SPACE, and v8::internal::OLD_DATA_SPACE.
THREADED_TEST | ( | ScavengeExternalAsciiString | ) |
Definition at line 645 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, v8::internal::NEW_SPACE, v8::internal::OLD_DATA_SPACE, and v8::internal::StrDup().
THREADED_TEST | ( | StringConcat | ) |
Definition at line 733 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 779 of file test-api.cc.
References CHECK_EQ, Object::Get(), Context::Global(), and Object::Set().
THREADED_TEST | ( | FunctionTemplate | ) |
Definition at line 808 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ExternalWrap | ) |
Definition at line 876 of file test-api.cc.
References foo.
THREADED_TEST | ( | FindInstanceInPrototypeChain | ) |
Definition at line 922 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | TinyInteger | ) |
Definition at line 969 of file test-api.cc.
References CHECK_EQ, Isolate::GetCurrent(), and Integer::New().
THREADED_TEST | ( | BigSmiInteger | ) |
Definition at line 983 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::GetCurrent(), Smi::IsValid(), Smi::kMaxValue, v8::internal::kSmiValueSize, and Integer::New().
THREADED_TEST | ( | BigInteger | ) |
Definition at line 1003 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::GetCurrent(), Smi::IsValid(), Smi::kMaxValue, v8::internal::kSmiValueSize, and Integer::New().
THREADED_TEST | ( | TinyUnsignedInteger | ) |
Definition at line 1026 of file test-api.cc.
References CHECK_EQ, Isolate::GetCurrent(), and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedSmiInteger | ) |
Definition at line 1041 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::GetCurrent(), Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | BigUnsignedInteger | ) |
Definition at line 1058 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::GetCurrent(), Smi::IsValid(), Smi::kMaxValue, and Integer::NewFromUnsigned().
THREADED_TEST | ( | OutOfSignedRangeUnsignedInteger | ) |
Definition at line 1075 of file test-api.cc.
References CHECK, CHECK_EQ, Isolate::GetCurrent(), Integer::NewFromUnsigned(), and v8::internal::U.
THREADED_TEST | ( | IsNativeError | ) |
Definition at line 1092 of file test-api.cc.
References CHECK, and Value::IsNativeError().
THREADED_TEST | ( | StringObject | ) |
Definition at line 1105 of file test-api.cc.
References Handle< T >::As(), CHECK, Value::IsStringObject(), Object::New(), and StringObject::StringValue().
THREADED_TEST | ( | NumberObject | ) |
Definition at line 1130 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 1151 of file test-api.cc.
References Handle< T >::As(), CHECK, CHECK_EQ, Value::IsBooleanObject(), and Object::New().
THREADED_TEST | ( | Number | ) |
Definition at line 1176 of file test-api.cc.
References CHECK_EQ, and Number::New().
THREADED_TEST | ( | ToNumber | ) |
Definition at line 1185 of file test-api.cc.
References CHECK_EQ, v8::False(), and v8::True().
THREADED_TEST | ( | Date | ) |
Definition at line 1197 of file test-api.cc.
References CHECK_EQ, Object::Get(), Integer::New(), and Object::New().
THREADED_TEST | ( | Boolean | ) |
Definition at line 1208 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 1243 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 1261 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | DescriptorInheritance | ) |
Definition at line 1297 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 1428 of file test-api.cc.
References AddAccessor(), AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), Context::Global(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | EmptyInterceptorDoesNotShadowJSAccessors | ) |
Definition at line 1445 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | EmptyInterceptorDoesNotAffectJSProperties | ) |
Definition at line 1465 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | SwitchFromInterceptorToAccessor | ) |
Definition at line 1484 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptor | ) |
Definition at line 1501 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToAccessorWithInheritance | ) |
Definition at line 1518 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromAccessorToInterceptorWithInheritance | ) |
Definition at line 1537 of file test-api.cc.
References AddAccessor(), AddInterceptor(), Context::Global(), InterceptorGetter(), InterceptorSetter(), SimpleAccessorGetter(), and SimpleAccessorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToJSAccessor | ) |
Definition at line 1556 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromJSAccessorToInterceptor | ) |
Definition at line 1580 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromInterceptorToProperty | ) |
Definition at line 1604 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | SwitchFromPropertyToInterceptor | ) |
Definition at line 1621 of file test-api.cc.
References AddInterceptor(), Context::Global(), InterceptorGetter(), and InterceptorSetter().
THREADED_TEST | ( | NamedPropertyHandlerGetter | ) |
Definition at line 1638 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | IndexedPropertyHandlerGetter | ) |
Definition at line 1674 of file test-api.cc.
References CHECK_EQ, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | PropertyHandlerInPrototype | ) |
Definition at line 1775 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 1844 of file test-api.cc.
References CHECK, CHECK_EQ, FunctionTemplate::InstanceTemplate(), Handle< T >::IsEmpty(), FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | UndefinedIsNotEnumerable | ) |
Definition at line 1862 of file test-api.cc.
References CHECK, and Value::IsFalse().
THREADED_TEST | ( | DeepCrossLanguageRecursion | ) |
Definition at line 1899 of file test-api.cc.
References Context::Global(), Integer::New(), FunctionTemplate::New(), NULL, Script::Run(), and Template::Set().
THREADED_TEST | ( | CallbackExceptionRegression | ) |
Definition at line 1933 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | FunctionPrototype | ) |
Definition at line 1949 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InternalFields | ) |
Definition at line 1960 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | GlobalObjectInternalFields | ) |
Definition at line 1975 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 1989 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kNoGCFlags, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | InternalFieldsNativePointersAndExternal | ) |
Definition at line 2021 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 2059 of file test-api.cc.
References CHECK_EQ, CHECK_NE, HEAP, Heap::kNoGCFlags, and Object::New().
THREADED_TEST | ( | HiddenProperties | ) |
Definition at line 2103 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 2155 of file test-api.cc.
References CHECK, CHECK_EQ, Object::GetHiddenValue(), Integer::New(), Object::New(), and Object::SetHiddenValue().
THREADED_TEST | ( | HiddenPropertiesWithInterceptors | ) |
Definition at line 2191 of file test-api.cc.
References CHECK, CHECK_EQ, Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | External | ) |
Definition at line 2211 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 2243 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), and Persistent< T >::New().
THREADED_TEST | ( | ApiObjectGroups | ) |
Definition at line 2275 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, and WeakCallCounter::NumberOfWeakCalls().
THREADED_TEST | ( | ApiObjectGroupsCycle | ) |
Definition at line 2360 of file test-api.cc.
References CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, and WeakCallCounter::NumberOfWeakCalls().
THREADED_TEST | ( | ScriptException | ) |
Definition at line 2442 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), and TryCatch::HasCaught().
THREADED_TEST | ( | MessageHandler0 | ) |
Definition at line 2466 of file test-api.cc.
References V8::AddMessageListener(), CHECK, V8::RemoveMessageListeners(), Script::Run(), and Script::SetData().
THREADED_TEST | ( | GetSetProperty | ) |
Definition at line 2533 of file test-api.cc.
References CHECK_EQ, foo, Context::Global(), and Integer::New().
THREADED_TEST | ( | PropertyAttributes | ) |
Definition at line 2560 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 2604 of file test-api.cc.
References CHECK, CHECK_EQ, and Object::New().
THREADED_TEST | ( | Vector | ) |
Definition at line 2642 of file test-api.cc.
References CHECK_EQ, HandleF(), and FunctionTemplate::New().
THREADED_TEST | ( | FunctionCall | ) |
Definition at line 2680 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and NULL.
THREADED_TEST | ( | ConstructCall | ) |
Definition at line 2835 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and NULL.
THREADED_TEST | ( | ConversionNumber | ) |
Definition at line 2895 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | isNumberType | ) |
Definition at line 2943 of file test-api.cc.
References CHECK, and Context::Global().
THREADED_TEST | ( | ConversionException | ) |
Definition at line 2994 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 3064 of file test-api.cc.
References CHECK, Context::Global(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | APIThrowTryCatch | ) |
Definition at line 3082 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | ExternalScriptException | ) |
Definition at line 3254 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), TryCatch::HasCaught(), FunctionTemplate::New(), and ThrowFromC().
THREADED_TEST | ( | EvalInTryFinally | ) |
Definition at line 3321 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | ThrowValues | ) |
Definition at line 3420 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 3446 of file test-api.cc.
References CHECK, CHECK_EQ, TryCatch::Exception(), TryCatch::HasCaught(), and TryCatch::Reset().
THREADED_TEST | ( | CatchExceptionFromWith | ) |
Definition at line 3462 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | TryCatchAndFinallyHidingException | ) |
Definition at line 3472 of file test-api.cc.
References CHECK, and TryCatch::HasCaught().
THREADED_TEST | ( | TryCatchAndFinally | ) |
Definition at line 3489 of file test-api.cc.
References CHECK, Context::Global(), TryCatch::HasCaught(), FunctionTemplate::New(), and WithTryCatch().
THREADED_TEST | ( | Equality | ) |
Definition at line 3507 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 3539 of file test-api.cc.
THREADED_TEST | ( | SimplePropertyRead | ) |
Definition at line 3557 of file test-api.cc.
References CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefinePropertyOnAPIAccessor | ) |
Definition at line 3570 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefinePropertyOnDefineGetterSetter | ) |
Definition at line 3617 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and NULL.
THREADED_TEST | ( | DefineAPIAccessorOnObject | ) |
Definition at line 3669 of file test-api.cc.
References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().
THREADED_TEST | ( | DontDeleteAPIAccessorsCannotBeOverriden | ) |
Definition at line 3743 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 3799 of file test-api.cc.
References CHECK, Context::Global(), NULL, and v8::internal::SetAccessor().
THREADED_TEST | ( | SimplePropertyWrite | ) |
Definition at line 3837 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), Context::Global(), and Handle< T >::IsEmpty().
THREADED_TEST | ( | SetterOnly | ) |
Definition at line 3854 of file test-api.cc.
References CHECK, CHECK_EQ, Persistent< T >::Dispose(), Context::Global(), Handle< T >::IsEmpty(), and NULL.
THREADED_TEST | ( | NoAccessors | ) |
Definition at line 3871 of file test-api.cc.
References Context::Global(), and NULL.
THREADED_TEST | ( | NamedInterceptorPropertyRead | ) |
Definition at line 3892 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | NamedInterceptorDictionaryIC | ) |
Definition at line 3906 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | NamedInterceptorDictionaryICMultipleContext | ) |
Definition at line 3936 of file test-api.cc.
References CHECK_EQ, Persistent< T >::Dispose(), and Context::Global().
THREADED_TEST | ( | NamedInterceptorMapTransitionRead | ) |
Definition at line 3990 of file test-api.cc.
References CHECK_EQ, Context::Global(), v8::internal::instance_template, and FunctionTemplate::New().
THREADED_TEST | ( | IndexedInterceptorWithIndexedAccessor | ) |
Definition at line 4027 of file test-api.cc.
References CHECK_EQ, and Context::Global().
THREADED_TEST | ( | IndexedInterceptorUnboxedDoubleWithIndexedAccessor | ) |
Definition at line 4094 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), and UnboxedDoubleIndexedPropertyEnumerator().
THREADED_TEST | ( | IndexedInterceptorNonStrictArgsWithIndexedAccessor | ) |
Definition at line 4146 of file test-api.cc.
References CHECK_EQ, Context::Global(), and NonStrictArgsIndexedPropertyEnumerator().
THREADED_TEST | ( | IndexedInterceptorWithGetOwnPropertyDescriptor | ) |
Definition at line 4172 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNoSetter | ) |
Definition at line 4193 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithAccessorCheck | ) |
Definition at line 4216 of file test-api.cc.
References Context::Global(), and Object::TurnOnAccessCheck().
THREADED_TEST | ( | IndexedInterceptorWithAccessorCheckSwitchedOn | ) |
Definition at line 4240 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithDifferentIndices | ) |
Definition at line 4270 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNegativeIndices | ) |
Definition at line 4293 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorWithNotSmiLookup | ) |
Definition at line 4332 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorGoingMegamorphic | ) |
Definition at line 4361 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorReceiverTurningSmi | ) |
Definition at line 4391 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | IndexedInterceptorOnProto | ) |
Definition at line 4421 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | MultiContexts | ) |
Definition at line 4445 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 4478 of file test-api.cc.
References CHECK, Object::Get(), Context::Global(), and Object::Set().
THREADED_TEST | ( | Regress892105 | ) |
Definition at line 4508 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | UndetectableObject | ) |
Definition at line 4531 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | VoidLiteral | ) |
Definition at line 4575 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ExtensibleOnUndetectable | ) |
Definition at line 4619 of file test-api.cc.
References CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | UndetectableString | ) |
Definition at line 4652 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | GlobalObjectTemplate | ) |
Definition at line 4749 of file test-api.cc.
References Persistent< T >::Dispose(), and FunctionTemplate::New().
THREADED_TEST | ( | SimpleExtensions | ) |
Definition at line 4767 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NullExtensions | ) |
Definition at line 4779 of file test-api.cc.
References CHECK_EQ, Integer::New(), NULL, and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionMissingSourceLength | ) |
Definition at line 4797 of file test-api.cc.
References CHECK_EQ, and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionWithSourceLength | ) |
Definition at line 4808 of file test-api.cc.
References CHECK_EQ, Integer::New(), v8::RegisterExtension(), OS::SNPrintF(), and Vector< T >::start().
THREADED_TEST | ( | UseEvalFromExtension | ) |
Definition at line 4849 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | UseWithFromExtension | ) |
Definition at line 4882 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | AutoExtensions | ) |
Definition at line 4897 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | SyntaxErrorExtensions | ) |
Definition at line 4915 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | ExceptionExtensions | ) |
Definition at line 4932 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeCallInExtensions | ) |
Definition at line 4953 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclaration | ) |
Definition at line 4988 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclarationError | ) |
Definition at line 5002 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionDeclarationErrorEscape | ) |
Definition at line 5015 of file test-api.cc.
References CHECK, Handle< T >::IsEmpty(), and v8::RegisterExtension().
THREADED_TEST | ( | ExtensionDependency | ) |
Definition at line 5045 of file test-api.cc.
References CHECK_EQ, Context::Global(), and v8::RegisterExtension().
THREADED_TEST | ( | FunctionLookup | ) |
Definition at line 5112 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | NativeFunctionConstructCall | ) |
Definition at line 5125 of file test-api.cc.
References CHECK_EQ, Integer::New(), and v8::RegisterExtension().
THREADED_TEST | ( | ErrorWithMissingScriptInfo | ) |
Definition at line 5207 of file test-api.cc.
References V8::AddMessageListener(), and V8::RemoveMessageListeners().
THREADED_TEST | ( | WeakReference | ) |
Definition at line 5270 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 5307 of file test-api.cc.
References CHECK, HEAP, Persistent< T >::IsIndependent(), Persistent< T >::MakeWeak(), Persistent< T >::MarkIndependent(), Persistent< T >::New(), and Object::New().
THREADED_TEST | ( | GCFromWeakCallbacks | ) |
Definition at line 5354 of file test-api.cc.
References CHECK, Persistent< T >::New(), and Object::New().
THREADED_TEST | ( | IndependentHandleRevival | ) |
Definition at line 5388 of file test-api.cc.
References CHECK, CHECK_EQ, HEAP, Heap::kAbortIncrementalMarkingMask, Persistent< T >::New(), Integer::New(), and Object::New().
THREADED_TEST | ( | Arguments | ) |
Definition at line 5432 of file test-api.cc.
References Local< T >::As(), Context::Global(), FunctionTemplate::New(), NULL, and Template::Set().
THREADED_TEST | ( | Deleter | ) |
Definition at line 5473 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 5536 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 5650 of file test-api.cc.
References CHECK_EQ, and ObjectTemplate::SetAccessor().
THREADED_TEST | ( | PreInterceptorHolders | ) |
Definition at line 5663 of file test-api.cc.
References CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | ObjectInstantiation | ) |
Definition at line 5673 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 5724 of file test-api.cc.
References CHECK_EQ, CHECK_NE, Object::Get(), GetUtf8Length(), and String::New().
THREADED_TEST | ( | Utf16 | ) |
Definition at line 6066 of file test-api.cc.
THREADED_TEST | ( | Utf16Symbol | ) |
Definition at line 6132 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 6185 of file test-api.cc.
References CHECK, CHECK_EQ, Handle< T >::IsEmpty(), Number::New(), Object::New(), Value::ToArrayIndex(), Object::ToArrayIndex(), and Value::Uint32Value().
THREADED_TEST | ( | ErrorConstruction | ) |
Definition at line 6216 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 6256 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), ObjectTemplate::SetAccessor(), and Value::Uint32Value().
THREADED_TEST | ( | TypeSwitch | ) |
Definition at line 6269 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 6499 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 6544 of file test-api.cc.
References CHECK, Persistent< T >::Dispose(), and Context::Global().
THREADED_TEST | ( | CrossDomainDelete | ) |
Definition at line 6612 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 6645 of file test-api.cc.
References bar, CHECK, Persistent< T >::Dispose(), foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CrossDomainForIn | ) |
Definition at line 6680 of file test-api.cc.
References bar, CHECK, Persistent< T >::Dispose(), foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | AccessControlGetOwnPropertyNames | ) |
Definition at line 7233 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 7283 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 7307 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 7531 of file test-api.cc.
References Persistent< T >::Dispose(), ObjectTemplate::New(), ObjectTemplate::NewInstance(), Object::Set(), and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | AccessControlInterceptorIC | ) |
Definition at line 7595 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 7662 of file test-api.cc.
References V8::GetVersion().
THREADED_TEST | ( | InstanceProperties | ) |
Definition at line 7673 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | GlobalObjectInstanceProperties | ) |
Definition at line 7702 of file test-api.cc.
References CHECK_EQ, Context::Global(), v8::internal::instance_template, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | CallKnownGlobalReceiver | ) |
Definition at line 7758 of file test-api.cc.
References foo, Context::Global(), v8::internal::instance_template, FunctionTemplate::New(), and NULL.
THREADED_TEST | ( | ShadowObject | ) |
Definition at line 7835 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 7880 of file test-api.cc.
References CHECK, CHECK_EQ, Object::Get(), and FunctionTemplate::New().
THREADED_TEST | ( | SetPrototype | ) |
Definition at line 7924 of file test-api.cc.
References CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | Regress91517 | ) |
Definition at line 7984 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 8035 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Integer::New(), and FunctionTemplate::New().
THREADED_TEST | ( | SetPrototypeThrows | ) |
Definition at line 8066 of file test-api.cc.
References ASSERT, CHECK, CHECK_EQ, and FunctionTemplate::New().
THREADED_TEST | ( | GetterSetterExceptions | ) |
Definition at line 8087 of file test-api.cc.
References Context::Global(), and Integer::New().
THREADED_TEST | ( | Constructor | ) |
Definition at line 8110 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ConstructorForObject | ) |
Definition at line 8151 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 8318 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | EvalAliasedDynamic | ) |
Definition at line 8343 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | CrossEval | ) |
Definition at line 8379 of file test-api.cc.
References CHECK, CHECK_EQ, foo, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | EvalInDetachedGlobal | ) |
Definition at line 8462 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 8497 of file test-api.cc.
References CHECK_EQ, Context::Global(), and Context::SetSecurityToken().
THREADED_TEST | ( | CallAsFunction | ) |
Definition at line 8532 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 8645 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), and v8::internal::instance_template.
THREADED_TEST | ( | HandleIteration | ) |
Definition at line 8702 of file test-api.cc.
References CHECK_EQ, and Integer::New().
THREADED_TEST | ( | InterceptorHasOwnProperty | ) |
Definition at line 8737 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InterceptorHasOwnPropertyCausingGC | ) |
Definition at line 8769 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | InterceptorLoadIC | ) |
Definition at line 8827 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithFieldOnHolder | ) |
Definition at line 8849 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithSubstitutedProto | ) |
Definition at line 8860 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithPropertyOnProto | ) |
Definition at line 8871 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICUndefined | ) |
Definition at line 8882 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithOverride | ) |
Definition at line 8892 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICFieldNotNeeded | ) |
Definition at line 8912 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICInvalidatedField | ) |
Definition at line 8932 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICPostInterceptor | ) |
Definition at line 8963 of file test-api.cc.
References CHECK_EQ.
THREADED_TEST | ( | InterceptorLoadICInvalidatedFieldViaGlobal | ) |
Definition at line 8988 of file test-api.cc.
THREADED_TEST | ( | InterceptorLoadICWithCallbackOnHolder | ) |
Definition at line 9013 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 9042 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 9075 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 9103 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 9131 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 9163 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 9199 of file test-api.cc.
THREADED_TEST | ( | InterceptorStoreIC | ) |
Definition at line 9215 of file test-api.cc.
References Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorStoreICWithNoSetter | ) |
Definition at line 9230 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallIC | ) |
Definition at line 9260 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICSeesOthers | ) |
Definition at line 9279 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCacheableNotNeeded | ) |
Definition at line 9307 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedCacheable | ) |
Definition at line 9327 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionUsed | ) |
Definition at line 9354 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeeded | ) |
Definition at line 9386 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICConstantFunctionNotNeededWrapped | ) |
Definition at line 9419 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunction | ) |
Definition at line 9450 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICInvalidatedConstantFunctionViaGlobal | ) |
Definition at line 9480 of file test-api.cc.
References CHECK_EQ, Context::Global(), Value::Int32Value(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorCallICCachedFromGlobal | ) |
Definition at line 9505 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 9588 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 9612 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 9643 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 9665 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 9681 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 9708 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 9738 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 9774 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 9810 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 9849 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 9888 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 9912 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 9939 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 9971 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 10021 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChange2 | ) |
Definition at line 10045 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICKeyChangeOnGlobal | ) |
Definition at line 10072 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICFromGlobal | ) |
Definition at line 10097 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeBefore | ) |
Definition at line 10121 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorKeyedCallICMapChangeAfter | ) |
Definition at line 10143 of file test-api.cc.
References CHECK_EQ, Context::Global(), ObjectTemplate::NewInstance(), and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICReferenceErrors | ) |
Definition at line 10179 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICGetterExceptions | ) |
Definition at line 10225 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | InterceptorICSetterExceptions | ) |
Definition at line 10268 of file test-api.cc.
References Value::BooleanValue(), CHECK_EQ, and ObjectTemplate::SetNamedPropertyHandler().
THREADED_TEST | ( | NullNamedInterceptor | ) |
Definition at line 10287 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 10302 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 10316 of file test-api.cc.
References FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), and FunctionTemplate::New().
THREADED_TEST | ( | VariousGetPropertiesAndThrowingCallbacks | ) |
Definition at line 10336 of file test-api.cc.
References CHECK, Object::GetRealNamedProperty(), and v8::internal::Object.
THREADED_TEST | ( | ExceptionsDoNotPropagatePastTryCatch | ) |
Definition at line 10427 of file test-api.cc.
References Context::Global(), NULL, and WithTryCatch().
THREADED_TEST | ( | Overriding | ) |
Definition at line 10470 of file test-api.cc.
References CHECK_EQ, v8::DEFAULT, Context::Global(), FunctionTemplate::New(), and v8::ReadOnly.
THREADED_TEST | ( | IsConstructCall | ) |
Definition at line 10534 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ObjectProtoToString | ) |
Definition at line 10551 of file test-api.cc.
References CHECK, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ObjectGetConstructorName | ) |
Definition at line 10585 of file test-api.cc.
References CHECK, and Context::Global().
THREADED_TEST | ( | RecursiveLocking | ) |
Definition at line 10850 of file test-api.cc.
References CHECK, and Locker::IsLocked().
THREADED_TEST | ( | LockUnlockLock | ) |
Definition at line 10866 of file test-api.cc.
References CHECK_EQ, Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | NewPersistentHandleFromWeakCallback | ) |
Definition at line 10972 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 11001 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 11026 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 11042 of file test-api.cc.
References V8::Initialize().
THREADED_TEST | ( | NestedHandleScopeAndContexts | ) |
Definition at line 11075 of file test-api.cc.
References CHECK, Persistent< T >::Dispose(), and Value::ToString().
THREADED_TEST | ( | ExternalAllocatedMemory | ) |
Definition at line 11391 of file test-api.cc.
References V8::AdjustAmountOfExternalAllocatedMemory(), CHECK, CHECK_EQ, and Handle< T >::IsEmpty().
THREADED_TEST | ( | DisposeEnteredContext | ) |
Definition at line 11403 of file test-api.cc.
References Handle< T >::Clear(), Persistent< T >::Dispose(), and Context::New().
THREADED_TEST | ( | Regress54 | ) |
Definition at line 11418 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 11472 of file test-api.cc.
References Script::Compile(), String::New(), and Integer::New().
THREADED_TEST | ( | CompilationCache | ) |
Definition at line 11508 of file test-api.cc.
References CHECK_EQ, Script::Compile(), String::New(), and Script::Run().
THREADED_TEST | ( | CallbackFunctionName | ) |
Definition at line 11531 of file test-api.cc.
References CHECK, CHECK_EQ, Context::Global(), Value::IsString(), and FunctionTemplate::New().
THREADED_TEST | ( | DateAccess | ) |
Definition at line 11544 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 11577 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 11611 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 11653 of file test-api.cc.
References CHECK, Context::Global(), and v8::True().
THREADED_TEST | ( | AccessChecksReenabledCorrectly | ) |
Definition at line 11684 of file test-api.cc.
References CHECK, Context::Global(), and Number::New().
THREADED_TEST | ( | AccessControlRepeatedContextCreation | ) |
Definition at line 11723 of file test-api.cc.
References FunctionTemplateInfo::cast(), CHECK, ObjectTemplate::New(), NULL, and ObjectTemplate::SetAccessCheckCallbacks().
THREADED_TEST | ( | TurnOnAccessCheck | ) |
Definition at line 11740 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 11820 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 12068 of file test-api.cc.
References Context::Global(), and v8::True().
THREADED_TEST | ( | CrossContextNew | ) |
Definition at line 12089 of file test-api.cc.
References CHECK, CHECK_EQ, and Persistent< T >::Dispose().
THREADED_TEST | ( | MorphCompositeStringTest | ) |
Definition at line 12436 of file test-api.cc.
References CHECK, CHECK_EQ, v8::internal::DeleteArray(), FACTORY, Context::Global(), v8::internal::StrLength(), and Utils::ToLocal().
THREADED_TEST | ( | ForceDelete | ) |
Definition at line 12805 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 12840 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 12875 of file test-api.cc.
References CHECK, CHECK_EQ, and Context::Global().
THREADED_TEST | ( | GetCallingContext | ) |
Definition at line 12952 of file test-api.cc.
References Handle< T >::Clear(), Persistent< T >::Dispose(), and FunctionTemplate::New().
THREADED_TEST | ( | InitGlobalVarInProtoChain | ) |
Definition at line 13001 of file test-api.cc.
References CHECK, CHECK_EQ, Value::Int32Value(), and Value::IsUndefined().
THREADED_TEST | ( | ReplaceConstantFunction | ) |
Definition at line 13018 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 13032 of file test-api.cc.
References CHECK_EQ, and Context::DetachGlobal().
THREADED_TEST | ( | PixelArray | ) |
Definition at line 13049 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, Object::Set(), JSObject::SetElement(), and Object::SetIndexedPropertiesToPixelData().
THREADED_TEST | ( | PixelArrayInfo | ) |
Definition at line 13438 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 13470 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 14022 of file test-api.cc.
References v8::kExternalByteArray.
THREADED_TEST | ( | ExternalUnsignedByteArray | ) |
Definition at line 14030 of file test-api.cc.
References v8::kExternalUnsignedByteArray.
THREADED_TEST | ( | ExternalPixelArray | ) |
Definition at line 14038 of file test-api.cc.
References v8::kExternalPixelArray.
THREADED_TEST | ( | ExternalShortArray | ) |
Definition at line 14046 of file test-api.cc.
References v8::kExternalShortArray.
THREADED_TEST | ( | ExternalUnsignedShortArray | ) |
Definition at line 14054 of file test-api.cc.
References v8::kExternalUnsignedShortArray.
THREADED_TEST | ( | ExternalIntArray | ) |
Definition at line 14062 of file test-api.cc.
References v8::kExternalIntArray.
THREADED_TEST | ( | ExternalUnsignedIntArray | ) |
Definition at line 14070 of file test-api.cc.
References v8::kExternalUnsignedIntArray.
THREADED_TEST | ( | ExternalFloatArray | ) |
Definition at line 14078 of file test-api.cc.
References v8::kExternalFloatArray.
THREADED_TEST | ( | ExternalDoubleArray | ) |
Definition at line 14086 of file test-api.cc.
References v8::kExternalDoubleArray.
THREADED_TEST | ( | ExternalArrays | ) |
Definition at line 14094 of file test-api.cc.
THREADED_TEST | ( | ExternalArrayInfo | ) |
Definition at line 14123 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 14171 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 14187 of file test-api.cc.
References CHECK, TryCatch::HasCaught(), Script::New(), String::New(), NULL, and TryCatch::StackTrace().
THREADED_TEST | ( | GetHeapStatistics | ) |
Definition at line 14805 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 14903 of file test-api.cc.
References CHECK_EQ, Number::New(), Object::New(), and Value::NumberValue().
THREADED_TEST | ( | SpaghettiStackReThrow | ) |
Definition at line 15000 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 15119 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 15140 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 15152 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 15168 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetScriptColumnNumber(), Context::Global(), String::New(), and Integer::New().
THREADED_TEST | ( | FunctionGetScriptId | ) |
Definition at line 15185 of file test-api.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetScriptId(), Context::Global(), Script::Id(), String::New(), Integer::New(), and Script::Run().
THREADED_TEST | ( | InterceptorOnConstructorPrototype | ) |
Definition at line 15290 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 15424 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | FillJSFunctionResultCache | ) |
Definition at line 15451 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | RoundRobinGetFromCache | ) |
Definition at line 15473 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | ReverseGetFromCache | ) |
Definition at line 15498 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | TestEviction | ) |
Definition at line 15523 of file test-api.cc.
References HEAP.
THREADED_TEST | ( | TwoByteStringInAsciiCons | ) |
Definition at line 15541 of file test-api.cc.
References ConsString::cast(), CHECK, CHECK_EQ, v8::internal::FlattenGetString(), v8::internal::FlattenString(), and String::WriteToFlat().
THREADED_TEST | ( | Equals | ) |
Definition at line 16379 of file test-api.cc.
References CHECK, Value::Equals(), Object::GetPrototype(), Context::Global(), and Value::StrictEquals().
THREADED_TEST | ( | CreationContext | ) |
Definition at line 16454 of file test-api.cc.
References CHECK, and FunctionTemplate::New().
THREADED_TEST | ( | CreationContextOfJsFunction | ) |
Definition at line 16541 of file test-api.cc.
References CHECK, and v8::internal::Object.
THREADED_TEST | ( | AllowCodeGenFromStrings | ) |
Definition at line 16714 of file test-api.cc.
References Context::AllowCodeGenerationFromStrings(), CHECK, CheckCodeGenerationAllowed(), CheckCodeGenerationDisallowed(), CodeGenerationAllowed(), CodeGenerationDisallowed(), and Context::IsCodeGenerationFromStringsAllowed().
THREADED_TEST | ( | CallAPIFunctionOnNonObject | ) |
Definition at line 16767 of file test-api.cc.
References Context::Global(), and FunctionTemplate::New().
THREADED_TEST | ( | ReadOnlyIndexedProperties | ) |
Definition at line 16779 of file test-api.cc.
References CHECK_EQ, Context::Global(), and v8::ReadOnly.
THREADED_TEST | ( | Regress1516 | ) |
Definition at line 16800 of file test-api.cc.
References MapCache::cast(), CHECK_GT, CHECK_LE, Heap::kAbortIncrementalMarkingMask, and HashTable< Shape, Key >::NumberOfElements().
THREADED_TEST | ( | Regress93759 | ) |
Definition at line 16844 of file test-api.cc.
References CHECK, v8::internal::hidden_prototype, FunctionTemplate::New(), ObjectTemplate::New(), Context::New(), NULL, and v8::Undefined().
THREADED_TEST | ( | Regress125988 | ) |
Definition at line 16935 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | ForeignFunctionReceiver | ) |
Definition at line 16969 of file test-api.cc.
References CHECK, Context::Global(), Context::New(), and Context::SetSecurityToken().
THREADED_TEST | ( | InstanceCheckOnInstanceAccessor | ) |
Definition at line 17397 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | InstanceCheckOnInstanceAccessorWithInterceptor | ) |
Definition at line 17425 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 17454 of file test-api.cc.
References CHECK, v8::DEFAULT, Context::Global(), AccessorSignature::New(), and v8::None.
THREADED_TEST | ( | Regress137002a | ) |
Definition at line 17580 of file test-api.cc.
THREADED_TEST | ( | Regress137002b | ) |
Definition at line 17590 of file test-api.cc.
References CHECK, and Context::Global().
THREADED_TEST | ( | Regress142088 | ) |
Definition at line 17658 of file test-api.cc.
References Context::Global().
THREADED_TEST | ( | Regress137496 | ) |
Definition at line 17675 of file test-api.cc.
References CHECK.
THREADED_TEST | ( | Regress149912 | ) |
Definition at line 17689 of file test-api.cc.
References AddInterceptor(), EmptyInterceptorGetter(), EmptyInterceptorSetter(), and Context::Global().
THREADED_TEST | ( | Regress157124 | ) |
Definition at line 17699 of file test-api.cc.
References Object::GetIdentityHash().
THREADED_TEST | ( | SemaphoreInterruption | ) |
Definition at line 17768 of file test-api.cc.
References ThreadInterruptTest::RunTest().
v8::Handle<Value> ThrowFromC | ( | const v8::Arguments & | args | ) |
Definition at line 3048 of file test-api.cc.
References ApiTestFuzzer::Fuzz(), and v8::ThrowException().
Referenced by TEST(), and THREADED_TEST().
v8::Handle<v8::Value> ThrowingDirectApiCallback | ( | const v8::Arguments & | args | ) |
Definition at line 9607 of file test-api.cc.
References v8::ThrowException().
Referenced by THREADED_TEST().
v8::Handle<v8::Value> ThrowingDirectGetterCallback | ( | Local< String > | name, |
const v8::AccessorInfo & | info | ||
) |
Definition at line 9659 of file test-api.cc.
References v8::ThrowException().
Referenced by THREADED_TEST().
v8::Handle<Value> ThrowValue | ( | const v8::Arguments & | args | ) |
Definition at line 3413 of file test-api.cc.
References CHECK_EQ, ApiTestFuzzer::Fuzz(), Arguments::Length(), and v8::ThrowException().
Referenced by THREADED_TEST().
Handle<v8::Array> UnboxedDoubleIndexedPropertyEnumerator | ( | const AccessorInfo & | info | ) |
Definition at line 4080 of file test-api.cc.
References Array::Cast().
Referenced by THREADED_TEST().
v8::Handle<Value> WhammyPropertyGetter | ( | Local< String > | name, |
const AccessorInfo & | info | ||
) |
Definition at line 5251 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 3483 of file test-api.cc.
References v8::Undefined().
Referenced by THREADED_TEST().
v8::Handle<Function> args_fun |
Definition at line 5415 of file test-api.cc.
v8::Persistent<v8::Object> bad_handle |
Definition at line 10963 of file test-api.cc.
v8::Handle<v8::Object> bottom |
Definition at line 1688 of file test-api.cc.
Referenced by CharacterRange::AddCaseEquivalents().
v8::Handle<Value> call_ic_function |
Definition at line 9247 of file test-api.cc.
v8::Handle<Value> call_ic_function2 |
Definition at line 9248 of file test-api.cc.
v8::Handle<Value> call_ic_function3 |
Definition at line 9249 of file test-api.cc.
v8::Handle<Script> call_recursively_script |
Definition at line 1871 of file test-api.cc.
uint8_t callback_fired = 0 |
Definition at line 17063 of file test-api.cc.
v8::Persistent<Context> calling_context0 |
Definition at line 12935 of file test-api.cc.
v8::Persistent<Context> calling_context1 |
Definition at line 12936 of file test-api.cc.
v8::Persistent<Context> calling_context2 |
Definition at line 12937 of file test-api.cc.
int echo_indexed_call_count = 0 |
Definition at line 1662 of file test-api.cc.
int echo_named_call_count |
Definition at line 1353 of file test-api.cc.
int epilogue_call_count = 0 |
Definition at line 15370 of file test-api.cc.
Referenced by EpilogueCallback().
int epilogue_call_count_second = 0 |
Definition at line 15372 of file test-api.cc.
Referenced by EpilogueCallbackSecond().
int global_index = 0 |
Definition at line 5216 of file test-api.cc.
v8::Handle<Value> keyed_call_ic_function |
Definition at line 10007 of file test-api.cc.
bool message_received |
Definition at line 2455 of file test-api.cc.
int p_getter_count |
Definition at line 5593 of file test-api.cc.
int p_getter_count2 |
Definition at line 5594 of file test-api.cc.
bool pass_on_get = false |
Definition at line 12691 of file test-api.cc.
int prologue_call_count = 0 |
Definition at line 15369 of file test-api.cc.
Referenced by PrologueCallback().
int prologue_call_count_second = 0 |
Definition at line 15371 of file test-api.cc.
Referenced by PrologueCallbackSecond().
v8::Persistent<v8::Object> some_object |
Definition at line 10962 of file test-api.cc.
v8::Persistent<v8::Object> to_be_disposed |
Definition at line 10992 of file test-api.cc.
v8::Persistent<Value> xValue |
Definition at line 3823 of file test-api.cc.