Skip to Content
V8-wasm
API Reference

V8 Enumerations

All 93 V8 and v8_inspector TypeScript enums generated from upstream V8 C++ headers

All 93 enumerations exported by @browser-ports/v8-wasm (and available on the v8 namespace), generated directly from upstream V8 C++ headers.

AccessType

Access type specification.

Upstream C++: v8::AccessType (v8-callbacks.h)

MemberValueDescription
ACCESS_DELETE3—
ACCESS_GET0—
ACCESS_HAS2—
ACCESS_KEYS4—
ACCESS_SET1—

ActivityControlControlOption

Upstream V8 C++ enum v8::ActivityControl::ControlOption (v8-profiler.h).

MemberValueDescription
kAbort1—
kContinue0—

ArrayBufferAllocatorAllocationMode

ArrayBuffer allocation mode. kNormal is a malloc/free style allocation, while kReservation is for larger allocations with the ability to set access permissions.

Upstream C++: v8::ArrayBuffer::Allocator::AllocationMode (v8-array-buffer.h)

MemberValueDescription
kNormal0ArrayBuffer allocation mode. kNormal is a malloc/free style allocation, while kReservation is for larger allocations with the ability to set access permissions.
kReservation1ArrayBuffer allocation mode. kNormal is a malloc/free style allocation, while kReservation is for larger allocations with the ability to set access permissions.

ArrayBufferCreationMode

Upstream V8 C++ enum v8::ArrayBufferCreationMode (v8-array-buffer.h).

MemberValueDescription
kExternalized1—
kInternalized0—

ArrayCallbackResult

Upstream V8 C++ enum v8::Array::CallbackResult (v8-container.h).

MemberValueDescription
kBreak1—
kContinue2—
kException0—

BackingStoreInitializationMode

Upstream V8 C++ enum v8::BackingStoreInitializationMode (v8-array-buffer.h).

MemberValueDescription
kUninitialized1—
kZeroInitialized0—

BackingStoreOnFailureMode

Upstream V8 C++ enum v8::BackingStoreOnFailureMode (v8-array-buffer.h).

MemberValueDescription
kOutOfMemory1—
kReturnNull0—

BlockingType

BlockingType indicates the likelihood that a blocking call will actually block.

Upstream C++: v8::BlockingType (v8-platform.h)

MemberValueDescription
kMayBlock0The call might block (e.g. file I/O that might hit in memory cache).
kWillBlock1The call will definitely block (e.g. cache already checked and now pinging server synchronously).

CodeEventType

Note that this enum may be extended in the future. Please include a default case if this enum is used in a switch statement.

Upstream C++: v8::CodeEventType (v8-profiler.h)

MemberValueDescription
kBuiltinType1—
kBytecodeHandlerType7—
kCallbackType2—
kEvalType3—
kFunctionType4—
kHandlerType6—
kInterpretedFunctionType5—
kLazyCompileType8—
kRegExpType9—
kRelocationType12—
kScriptType10—
kStubType11—
kUnknownType0—

ConstructorBehavior

Upstream V8 C++ enum v8::ConstructorBehavior (v8-template.h).

MemberValueDescription
kAllow1—
kThrow0—

ContextDependants

Signal for dependants of contexts. Useful for ContextDisposedNotification() to implement different strategies.

Upstream C++: v8::ContextDependants (v8-isolate.h)

MemberValueDescription
kNoDependants0Context has no dependants. These are usually top-level contexts.
kSomeDependants1Context has some dependants, i.e., it may depend on other contexts. This is usually the case for inner contexts.

ContextEmbedderDataFields

The field at kDebugIdIndex used to be reserved for the inspector. It now serves no purpose.

Upstream C++: v8::Context::EmbedderDataFields (v8-context.h)

MemberValueDescription
kDebugIdIndex0The field at kDebugIdIndex used to be reserved for the inspector. It now serves no purpose.

CppHeapPointerTag

A pointer tag used for wrapping and unwrapping CppHeap pointers as used with JS API wrapper objects that rely on Object.Wrap() and Object.Unwrap().

The CppHeapPointers use a range-based type checking scheme, where on access to a pointer, the actual type of the pointer is checked to be within a specified range of types. This allows supporting type hierarchies, where a type check for a supertype must succeed for any subtype.

The tag is currently in practice limited to 15 bits since it needs to fit together with a marking bit into the unused parts of a pointer.

Upstream C++: v8::CppHeapPointerTag (v8-sandbox.h)

MemberValueDescription
kCppGCManagedTag9—
kDefaultTag11Embedders that use the sandbox should use specific tags for each type.
kEvacuationEntryTag14—
kFirstObjectWrappableTag2—
kFirstTag0—
kFirstV8InternalTag3—
kFreeEntryTag15—
kInspectorTaskInfoTag6—
kInspectorV8ConsoleTag5—
kLastObjectWrappableTag12—
kLastTag16The tags are limited to 15 bits, so the last tag is 0x7fff.
kLastV8InternalTag10—
kMicrotaskQueueTag7—
kNullTag1—
kTagForTesting4V8-internal Oilpan objects that use Object.Wrap() should go here.
kWasmMemoryMapDescriptorTag8—
kZappedEntryTag13—

CpuProfileNodeSourceType

An annotation hinting at the source of a CpuProfileNode.

Upstream C++: v8::CpuProfileNode::SourceType (v8-profiler.h)

MemberValueDescription
kBuiltin1Native scripts and provided builtins.
kCallback2Callbacks into native code.
kInternal3VM-internal functions or state.
kScript0User-supplied script with associated resource information.
kUnresolved4A node that failed to symbolize.

CpuProfileSerializationFormat

Upstream V8 C++ enum v8::CpuProfile::SerializationFormat (v8-profiler.h).

MemberValueDescription
kJSON0See format description near 'Serialize' method.

CpuProfileSource

Identifies which component initiated CPU profiling for proper attribution.

Upstream C++: v8::CpuProfileSource (v8-profiler.h)

MemberValueDescription
kInspector1Profiling initiated via the DevTools Inspector protocol.
kInternal3Profiling initiated internally by V8 (e.g., tracing CPU profiler).
kSelfProfiling2Profiling initiated by the embedder (e.g., Blink) via self-profiling API.
kUnspecified0Default value when no explicit source is specified.

CpuProfilingLoggingMode

Upstream V8 C++ enum v8::CpuProfilingLoggingMode (v8-profiler.h).

MemberValueDescription
kEagerLogging1Enables logging for the lifetime of the CpuProfiler. Calls to StartRecording are faster, at the expense of runtime overhead.
kLazyLogging0Enables logging when a profile is active, and disables logging when all profiles are detached.

CpuProfilingMode

Upstream V8 C++ enum v8::CpuProfilingMode (v8-profiler.h).

MemberValueDescription
kCallerLineNumbers1In the resulting CpuProfile tree, nodes are separated based on the line number of their callsite in their parent.
kLeafNodeLineNumbers0In the resulting CpuProfile tree, intermediate nodes in a stack trace (from the root to a leaf) will have line numbers that point to the start line of the function, rather than the line of the callsite of the child.

CpuProfilingNamingMode

Determines how names are derived for functions sampled.

Upstream C++: v8::CpuProfilingNamingMode (v8-profiler.h)

MemberValueDescription
kDebugNaming1Use more verbose naming for functions without names, inferred from scope where possible.
kStandardNaming0Use the immediate name of functions at compilation time.

CpuProfilingStatus

Enum for returning profiling status. Once StartProfiling is called, we want to return to clients whether the profiling was able to start correctly, or return a descriptive error.

Upstream C++: v8::CpuProfilingStatus (v8-profiler.h)

MemberValueDescription
kAlreadyStarted1—
kErrorTooManyProfilers2—
kStarted0—

CrashKeyId

--- Crashkeys Callback ---

Upstream C++: v8::CrashKeyId (v8-callbacks.h)

MemberValueDescription
kCodeRangeBaseAddress4—
kCodeSpaceFirstPageAddress5—
kDumpType6—
kIsolateAddress0—
kMapSpaceFirstPageAddress2—
kOldSpaceFirstPageAddress3—
kReadonlySpaceFirstPageAddress1—
kSnapshotChecksumCalculated7—
kSnapshotChecksumExpected8—

CrashKeySize

Upstream V8 C++ enum v8::CrashKeySize (v8-callbacks.h).

MemberValueDescription
Size10243—
Size2562—
Size320—
Size641—

EmbedderGraphNodeDetachedness

Detachedness specifies whether an object is attached or detached from the main application state. While unkown in general, there may be objects that specifically know their state. V8 passes this information along in the snapshot. Users of the snapshot may use it to annotate the object graph.

Upstream C++: v8::EmbedderGraph::Node::Detachedness (v8-profiler.h)

MemberValueDescription
kAttached1—
kDetached2—
kUnknown0—

EmbedderStateTag

A StateTag represents a possible state of the embedder.

Upstream C++: v8::EmbedderStateTag (v8-embedder-state-scope.h)

MemberValueDescription
EMPTY0reserved
OTHER1—

ExceptionContext

This is a part of experimental Api and might be changed without further notice. Do not use it.

Upstream C++: v8::ExceptionContext (v8-exception.h)

MemberValueDescription
kAttributeGet3—
kAttributeSet4—
kConstructor1—
kIndexedDefiner9—
kIndexedDeleter10—
kIndexedDescriptor7—
kIndexedGetter6—
kIndexedQuery5—
kIndexedSetter8—
kNamedDefiner15—
kNamedDeleter16—
kNamedDescriptor13—
kNamedEnumerator17—
kNamedGetter12—
kNamedQuery11—
kNamedSetter14—
kOperation2—
kUnknown0—

GCCallbackFlags

GCCallbackFlags is used to notify additional information about the GC callback.

  • kGCCallbackFlagConstructRetainedObjectInfos: The GC callback is for constructing retained object infos.
  • kGCCallbackFlagForced: The GC callback is for a forced GC for testing.
  • kGCCallbackFlagSynchronousPhantomCallbackProcessing: The GC callback is called synchronously without getting posted to an idle task.
  • kGCCallbackFlagCollectAllAvailableGarbage: The GC callback is called in a phase where V8 is trying to collect all available garbage (e.g., handling a low memory notification).
  • kGCCallbackScheduleIdleGarbageCollection: The GC callback is called to trigger an idle garbage collection.

Upstream C++: v8::GCCallbackFlags (v8-callbacks.h)

MemberValueDescription
kGCCallbackFlagCollectAllAvailableGarbage4—
kGCCallbackFlagCollectAllExternalMemory5—
kGCCallbackFlagConstructRetainedObjectInfos1—
kGCCallbackFlagForced2—
kGCCallbackFlagLastResort7—
kGCCallbackFlagSynchronousPhantomCallbackProcessing3—
kGCCallbackScheduleIdleGarbageCollection6—
kNoGCCallbackFlags0—

GCType

Applications can register callback functions which will be called before and after certain garbage collection operations. Allocations are not allowed in the callback functions, you therefore cannot manipulate objects (set or delete properties for example) since it is possible such operations will result in the allocation of objects. TODO(v8:12612): Deprecate kGCTypeMinorMarkSweep after updating blink.

Upstream C++: v8::GCType (v8-callbacks.h)

MemberValueDescription
kGCTypeAll5—
kGCTypeIncrementalMarking3—
kGCTypeMarkSweepCompact2—
kGCTypeMinorMarkSweep1—
kGCTypeProcessWeakCallbacks4—
kGCTypeScavenge0—

HeapGraphEdgeType

Upstream V8 C++ enum v8::HeapGraphEdge::Type (v8-profiler.h).

MemberValueDescription
kContextVariable0A variable from a function context.
kElement1An element of an array.
kHidden4thus, its name isn't a real property name (e.g. parts of a ConsString).
kInternal3A link that can't be accessed from JS,
kProperty2A named object property.
kShortcut5calculation, but may be hidden from user.
kWeak6sizes calculation.

HeapGraphNodeType

Upstream V8 C++ enum v8::HeapGraphNode::Type (v8-profiler.h).

MemberValueDescription
kArray1An array of elements.
kBigInt13BigInt.
kClosure5Function closure.
kCode4Compiled code.
kConsString10snapshot items together.
kHeapNumber7Number stored in the heap.
kHidden0Hidden node, may be filtered when shown to user.
kNative8Native object (not from V8 heap).
kObject3A JS object (except for arrays and strings).
kObjectShape14Internal data used for tracking the shapes (or
kRegExp6RegExp.
kSlicedString11Sliced string. A fragment of another string.
kString2A string.
kSymbol12A Symbol (ES6).
kSynthetic9Synthetic object, usually used for grouping

HeapProfilerHeapSnapshotMode

Upstream V8 C++ enum v8::HeapProfiler::HeapSnapshotMode (v8-profiler.h).

MemberValueDescription
kExposeInternals1Heap snapshot is exposing internals that may be useful for experts.
kRegular0Heap snapshot for regular developers.

HeapProfilerNumericsMode

Upstream V8 C++ enum v8::HeapProfiler::NumericsMode (v8-profiler.h).

MemberValueDescription
kExposeNumericValues1Numeric values are exposed in artificial fields.
kHideNumericValues0Numeric values are hidden as they are values of the corresponding objects.

HeapProfilerSamplingFlags

Upstream V8 C++ enum v8::HeapProfiler::SamplingFlags (v8-profiler.h).

MemberValueDescription
kSamplingForceGC1—
kSamplingIncludeObjectsCollectedByMajorGC2—
kSamplingIncludeObjectsCollectedByMinorGC3—
kSamplingNoFlags0—

HeapSnapshotSerializationFormat

Upstream V8 C++ enum v8::HeapSnapshot::SerializationFormat (v8-profiler.h).

MemberValueDescription
kJSON0See format description near 'Serialize' method.

IdleTaskSupport

Upstream V8 C++ enum v8::platform::IdleTaskSupport (libplatform.h).

MemberValueDescription
kDisabled0—
kEnabled1—

IndexFilter

kIncludesIndices allows for integer indices to be collected, while kSkipIndices will exclude integer indices from being collected.

Upstream C++: v8::IndexFilter (v8-object.h)

MemberValueDescription
kIncludeIndices0kIncludesIndices allows for integer indices to be collected, while kSkipIndices will exclude integer indices from being collected.
kSkipIndices1kIncludesIndices allows for integer indices to be collected, while kSkipIndices will exclude integer indices from being collected.

InProcessStackDumping

Upstream V8 C++ enum v8::platform::InProcessStackDumping (libplatform.h).

MemberValueDescription
kDisabled0—
kEnabled1—

IntegrityLevel

Integrity level for objects.

Upstream C++: v8::IntegrityLevel (v8-object.h)

MemberValueDescription
kFrozen0Integrity level for objects.
kSealed1Integrity level for objects.

Intercepted

Interceptor callbacks use this value to indicate whether the request was intercepted or not.

The values for constants and type are chosen this way for better performance.

Upstream C++: v8::Intercepted (v8-template.h)

MemberValueDescription
kNo0Interceptor callbacks use this value to indicate whether the request was intercepted or not. The values for constants and type are chosen this way for better performance.
kYes1Interceptor callbacks use this value to indicate whether the request was intercepted or not. The values for constants and type are chosen this way for better performance.

InternalExternalPointerTypeTag

Upstream V8 C++ enum v8::InternalExternalPointerTypeTag (v8-external.h).

MemberValueDescription
kDictionaryValueTag1—
kFirstInternalExternalPointerTypeTag0—
kLastInternalExternalPointerTypeTag2—

Intrinsic

Upstream V8 C++ enum v8::Intrinsic (v8-template.h).

MemberValueDescription
kArrayProto_entries0—
kArrayProto_forEach1—
kArrayProto_keys2—
kArrayProto_values3—
kArrayPrototype4—
kAsyncIteratorPrototype5—
kErrorPrototype6—
kIteratorPrototype7—
kMapIteratorPrototype8—
kObjProto_valueOf9—
kSetIteratorPrototype10—

IsolateGarbageCollectionType

Types of garbage collections that can be requested via RequestGarbageCollectionForTesting.

Upstream C++: v8::Isolate::GarbageCollectionType (v8-isolate.h)

MemberValueDescription
kFullGarbageCollection0—
kMinorGarbageCollection1—

IsolateMessageErrorLevel

Upstream V8 C++ enum v8::Isolate::MessageErrorLevel (v8-isolate.h).

MemberValueDescription
kMessageAll5—
kMessageDebug1—
kMessageError3—
kMessageInfo2—
kMessageLog0—
kMessageWarning4—

IsolatePriority

The different priorities that an isolate can have.

Upstream C++: v8::Isolate::Priority (v8-isolate.h)

MemberValueDescription
kBestEffort0The isolate does not relate to content that is currently important to the user. Lowest priority.
kUserBlocking2The isolate contributes to content that is of the utmost importance to the user, like visible content in the focused window. Highest priority.
kUserVisible1The isolate contributes to content that is visible to the user, like a visible iframe that's not interacted directly with. High priority.

IsolateTimeZoneDetection

Time zone redetection indicator for DateTimeConfigurationChangeNotification.

kSkip indicates V8 that the notification should not trigger redetecting host time zone. kRedetect indicates V8 that host time zone should be redetected, and used to set the default time zone.

The host time zone detection may require file system access or similar operations unlikely to be available inside a sandbox. If v8 is run inside a sandbox, the host time zone has to be detected outside the sandbox before calling DateTimeConfigurationChangeNotification function.

Upstream C++: v8::Isolate::TimeZoneDetection (v8-isolate.h)

MemberValueDescription
kRedetect1Time zone redetection indicator for DateTimeConfigurationChangeNotification. kSkip indicates V8 that the notification should not trigger redetecting host time zone. kRedetect indicates V8 that host time zone should be redetected, and used to set the default time zone. The host time zone detection may require file system access or similar operations unlikely to be available inside a sandbox. If v8 is run inside a sandbox, the host time zone has to be detected outside the sandbox before calling DateTimeConfigurationChangeNotification function.
kSkip0Time zone redetection indicator for DateTimeConfigurationChangeNotification. kSkip indicates V8 that the notification should not trigger redetecting host time zone. kRedetect indicates V8 that host time zone should be redetected, and used to set the default time zone. The host time zone detection may require file system access or similar operations unlikely to be available inside a sandbox. If v8 is run inside a sandbox, the host time zone has to be detected outside the sandbox before calling DateTimeConfigurationChangeNotification function.

IsolateUseCounterFeature

Features reported via the SetUseCounterCallback callback. Do not change assigned numbers of existing items; add new features to the end of this list. Dead features can be marked V8_DEPRECATE_SOON, then V8_DEPRECATED, and then finally be renamed to kOBSOLETE_... to stop embedders from using them.

Upstream C++: v8::Isolate::UseCounterFeature (v8-isolate.h)

MemberValueDescription
kArrayBufferTransfer154—
kArrayByCopy147—
kArrayFindLast152—
kArrayFromAsync148—
kArrayGroup153—
kArrayInstanceConstructorModified28—
kArrayPrototypeConstructorModified26—
kArrayPrototypeHasElements83—
kArraySpeciesModified25—
kAssigmentExpressionLHSIsCallInSloppy36—
kAssigmentExpressionLHSIsCallInStrict37—
kAsyncStackTaggingCreateTaskCall116—
kAtomicsPause170—
kAtomicsWaitAsync156—
kAttemptOverrideReadOnlyOnPrototypeSloppy69—
kAttemptOverrideReadOnlyOnPrototypeStrict70—
kBreakIterator1—
kBreakIteratorTypeLine89—
kBreakIteratorTypeWord88—
kCallSiteAPIGetFunctionSloppyCall76—
kCallSiteAPIGetThisSloppyCall77—
kCollator54—
kCompileHintsMagicAll123—
kConsoleContext143—
kDateTimeFormat56—
kDateTimeFormatDateTimeStyle87—
kDateTimeFormatRange86—
kDateToLocaleDateString67—
kDateToLocaleString66—
kDateToLocaleTimeString68—
kDecimalWithLeadingZeroInStrictMode32—
kDefineGetterOrSetterWouldThrow34—
kDeoptimizerDisableSpeculation47—
kDisplayNames81—
kDocumentAllLegacyCall141—
kDocumentAllLegacyConstruct142—
kDurationFormat117—
kErrorCaptureStackTrace43—
kErrorIsError162—
kErrorPrepareStackTrace44—
kErrorStackTraceLimit45—
kExplicitResourceManagement166—
kExtendingNonExtensibleWithPrivate157—
kFloat16Array165—
kForcedGC7—
kForInInitializer23—
kFunctionConstructorReturnedUndefined35—
kFunctionPrototypeArguments113—
kFunctionPrototypeCaller114—
kFunctionTokenOffsetTooLongForToString49—
kGrowableSharedArrayBuffer146—
kHoleyArrayReadthrough185—
kHtmlComment21—
kHtmlCommentInExternalScript20—
kHtmlWrapperMethods181—
kIndexAccessor42—
kInvalidatedArrayBufferDetachingProtector90—
kInvalidatedArrayBufferMutableProtector184—
kInvalidatedArrayConstructorProtector91—
kInvalidatedArrayIteratorLookupChainProtector92—
kInvalidatedArraySpeciesLookupChainProtector93—
kInvalidatedIsConcatSpreadableLookupChainProtector94—
kInvalidatedMapIteratorLookupChainProtector95—
kInvalidatedMegaDOMProtector112—
kInvalidatedNoDateTimeConfigurationChangeProtector174—
kInvalidatedNoElementsProtector96—
kInvalidatedNoProfilingProtector124—
kInvalidatedNoUndetectableObjectsProtector132—
kInvalidatedNumberStringNotRegexpLikeProtector118—
kInvalidatedPromiseHookProtector97—
kInvalidatedPromiseResolveLookupChainProtector98—
kInvalidatedPromiseSpeciesLookupChainProtector99—
kInvalidatedPromiseThenLookupChainProtector100—
kInvalidatedRegExpSpeciesLookupChainProtector101—
kInvalidatedSetIteratorLookupChainProtector102—
kInvalidatedStringIteratorLookupChainProtector103—
kInvalidatedStringLengthOverflowLookupChainProtector104—
kInvalidatedStringWrapperToPrimitiveProtector140—
kInvalidatedTypedArrayLengthLookupChainProtector163—
kInvalidatedTypedArraySpeciesLookupChainProtector105—
kIteratorMethods149—
kLegacyDateParser33—
kListFormat60—
kLocale59—
kLocaleInfoFunctions122—
kLocaleInfoObsoletedGetters121—
kLogicalAssignment172—
kModuleNamespaceMissingDefaultWithStarExport187—
kNullishCoalescing173—
kNumberFormat55—
kNumberFormatStyleUnit85—
kNumberToLocaleString65—
kObjectPrototypeHasElements84—
kOBSOLETE_ArrayInstanceProtoModified27—
kOBSOLETE_ArrayProtectorDirtied24—
kOBSOLETE_ArrayPrototypeSortJSArrayModifiedPrototype48—
kOBSOLETE_AtomicsNotify52—
kOBSOLETE_AtomicsWake53—
kOBSOLETE_ConstructorNonUndefinedPrimitiveReturn39—
kOBSOLETE_DateGetTimezoneOffset74—
kOBSOLETE_ImportAssertionDeprecatedSyntax120—
kOBSOLETE_IntlPattern15—
kOBSOLETE_IntlResolved16—
kOBSOLETE_IntlV8Parse14—
kOBSOLETE_LabeledExpressionStatement40—
kOBSOLETE_LegacyConst2—
kOBSOLETE_LegacyFunctionDeclaration29—
kOBSOLETE_LineOrParagraphSeparatorAsLineTerminator41—
kOBSOLETE_MarkDequeOverflow3—
kOBSOLETE_ObjectObserve6—
kOBSOLETE_OptimizedFunctionWithOneShotBytecode71—
kOBSOLETE_PromiseAccept18—
kOBSOLETE_PromiseChain17—
kOBSOLETE_PromiseDefer19—
kOBSOLETE_RegExpMatchAllWithNonGlobalRegExp78—
kOBSOLETE_RegExpPrototypeOldFlagGetter31—
kOBSOLETE_RegExpPrototypeSourceGetter30—
kOBSOLETE_RegExpUnicodeSetIncompatibilitiesWithUnicodeMode119—
kOBSOLETE_SlotsBufferOverflow5—
kOBSOLETE_StoreBufferOverflow4—
kOBSOLETE_StringToLocaleUpperCase63—
kOBSOLETE_StrongMode10—
kOBSOLETE_WasmResizableBuffers183—
kPluralRules57—
kPromiseAny150—
kPromiseConstructorReturnedUndefined38—
kPromiseTry158—
kPromiseWithResolvers155—
kRegExpCompile177—
kRegExpCustomSpecies189—
kRegExpEscape164—
kRegExpExecCalledOnSlowRegExp79—
kRegExpMatcherFlagsMismatch188—
kRegExpMatchIsFalseishOnJSRegExp73—
kRegExpMatchIsTrueishOnNonJSRegExp72—
kRegExpPrototypeStickyGetter11—
kRegExpPrototypeToString12—
kRegExpPrototypeUnicodeGetter13—
kRegExpReplaceCalledOnSlowRegExp80—
kRegExpStaticProperties178—
kRegExpStaticPropertiesWithLastMatch179—
kRelativeTimeFormat58—
kResizableArrayBuffer145—
kSegmenter61—
kSetMethods151—
kSharedArrayBufferConstructed82—
kSloppyMode8—
kSloppyModeBlockScopedFunctionRedefinition22—
kSourceMappingUrlMagicCommentAtSign129—
kStrictMode9—
kStringLocaleCompare62—
kStringNormalize75—
kStringReplaceAll159—
kStringToLocaleLowerCase64—
kStringWellFormed160—
kTemporalObject130—
kTopLevelAwait171—
kTurboFanOsrCompileStarted115—
kUint8ArrayToFromBase64AndHex169—
kUseAsm0—
kUseCounterFeatureCount190If you add new values here, you'll also need to update Chromium's: web_feature.mojom, use_counter_callback.cc, and enums.xml. V8 changes to this list need to be landed first, then changes on the Chromium side.
kVarRedeclaredCatchBinding107—
kWasmBranchHinting167—
kWasmBulkMemory109—
kWasmCustomDescriptors182—
kWasmExceptionHandling111—
kWasmExnRef138—
kWasmExtendedConst135—
kWasmGC127—
kWasmGCAllocation186—
kWasmImportedStrings128—
kWasmImportedStringsUtf8144—
kWasmJavaScriptPromiseIntegration133—
kWasmMemory64125—
kWasmModuleCompilation131—
kWasmMultiMemory126—
kWasmMultiValue110—
kWasmMutableGlobals168—
kWasmNonTrappingFloatToInt175—
kWasmRefTypes108—
kWasmRelaxedSimd136—
kWasmReturnCall134—
kWasmSharedMemory50—
kWasmSignExtensionOps176—
kWasmSimdOpcodes106—
kWasmThreadOpcodes51—
kWasmTypedFuncRef139—
kWasmTypeReflection137—
kWeakReferences161—
kWebAssemblyInstantiation46—
kWithStatement180—

JitCodeEventCodeType

There are three different kinds of CodeType, one for JIT code generated by the optimizing compiler, one for byte code generated for the interpreter, and one for code generated from Wasm. For JIT_CODE and WASM_CODE, code_start points to the beginning of jitted assembly code, while for BYTE_CODE events, code_start points to the first bytecode of the interpreted function.

Upstream C++: v8::JitCodeEvent::CodeType (v8-callbacks.h)

MemberValueDescription
BYTE_CODE0There are three different kinds of CodeType, one for JIT code generated by the optimizing compiler, one for byte code generated for the interpreter, and one for code generated from Wasm. For JIT_CODE and WASM_CODE, code_start points to the beginning of jitted assembly code, while for BYTE_CODE events, code_start points to the first bytecode of the interpreted function.
JIT_CODE1There are three different kinds of CodeType, one for JIT code generated by the optimizing compiler, one for byte code generated for the interpreter, and one for code generated from Wasm. For JIT_CODE and WASM_CODE, code_start points to the beginning of jitted assembly code, while for BYTE_CODE events, code_start points to the first bytecode of the interpreted function.
WASM_CODE2There are three different kinds of CodeType, one for JIT code generated by the optimizing compiler, one for byte code generated for the interpreter, and one for code generated from Wasm. For JIT_CODE and WASM_CODE, code_start points to the beginning of jitted assembly code, while for BYTE_CODE events, code_start points to the first bytecode of the interpreted function.

JitCodeEventEventType

Upstream V8 C++ enum v8::JitCodeEvent::EventType (v8-callbacks.h).

MemberValueDescription
CODE_ADD_LINE_POS_INFO3—
CODE_ADDED0—
CODE_END_LINE_INFO_RECORDING5—
CODE_MOVED1—
CODE_REMOVED2—
CODE_START_LINE_INFO_RECORDING4—

JitCodeEventOptions

Option flags passed to the SetJitCodeEventHandler function.

Upstream C++: v8::JitCodeEventOptions (v8-callbacks.h)

MemberValueDescription
kJitCodeEventDefault0—
kJitCodeEventEnumExisting1Generate callbacks for already existent code.
kLastJitCodeEventOption2—

JitCodeEventPositionType

Definition of the code position type. The "POSITION" type means the place in the source code which are of interest when making stack traces to pin-point the source location of a stack frame as close as possible. The "STATEMENT_POSITION" means the place at the beginning of each statement, and is used to indicate possible break locations.

Upstream C++: v8::JitCodeEvent::PositionType (v8-callbacks.h)

MemberValueDescription
POSITION0Definition of the code position type. The "POSITION" type means the place in the source code which are of interest when making stack traces to pin-point the source location of a stack frame as close as possible. The "STATEMENT_POSITION" means the place at the beginning of each statement, and is used to indicate possible break locations.
STATEMENT_POSITION1Definition of the code position type. The "POSITION" type means the place in the source code which are of interest when making stack traces to pin-point the source location of a stack frame as close as possible. The "STATEMENT_POSITION" means the place at the beginning of each statement, and is used to indicate possible break locations.

KeyCollectionMode

Keys/Properties filter enums:

KeyCollectionMode limits the range of collected properties. kOwnOnly limits the collected properties to the given Object only. kIncludesPrototypes will include all keys of the objects's prototype chain as well.

Upstream C++: v8::KeyCollectionMode (v8-object.h)

MemberValueDescription
kIncludePrototypes1Keys/Properties filter enums: KeyCollectionMode limits the range of collected properties. kOwnOnly limits the collected properties to the given Object only. kIncludesPrototypes will include all keys of the objects's prototype chain as well.
kOwnOnly0Keys/Properties filter enums: KeyCollectionMode limits the range of collected properties. kOwnOnly limits the collected properties to the given Object only. kIncludesPrototypes will include all keys of the objects's prototype chain as well.

KeyConversionMode

kConvertToString will convert integer indices to strings. kKeepNumbers will return numbers for integer indices.

Upstream C++: v8::KeyConversionMode (v8-object.h)

MemberValueDescription
kConvertToString0kConvertToString will convert integer indices to strings. kKeepNumbers will return numbers for integer indices.
kKeepNumbers1kConvertToString will convert integer indices to strings. kKeepNumbers will return numbers for integer indices.
kNoNumbers2kConvertToString will convert integer indices to strings. kKeepNumbers will return numbers for integer indices.

LogEventStatus

Upstream V8 C++ enum v8::LogEventStatus (v8-callbacks.h).

MemberValueDescription
kEnd1—
kLog2—
kStart0—

MeasureMemoryExecution

Controls how promptly a memory measurement request is executed. By default the measurement is folded with the next scheduled GC which may happen after a while and is forced after some timeout. The kEager mode starts incremental GC right away and is useful for testing. The kLazy mode does not force GC.

Upstream C++: v8::MeasureMemoryExecution (v8-statistics.h)

MemberValueDescription
kDefault0Controls how promptly a memory measurement request is executed. By default the measurement is folded with the next scheduled GC which may happen after a while and is forced after some timeout. The kEager mode starts incremental GC right away and is useful for testing. The kLazy mode does not force GC.
kEager1Controls how promptly a memory measurement request is executed. By default the measurement is folded with the next scheduled GC which may happen after a while and is forced after some timeout. The kEager mode starts incremental GC right away and is useful for testing. The kLazy mode does not force GC.
kLazy2Controls how promptly a memory measurement request is executed. By default the measurement is folded with the next scheduled GC which may happen after a while and is forced after some timeout. The kEager mode starts incremental GC right away and is useful for testing. The kLazy mode does not force GC.

MeasureMemoryMode

Controls how the default MeasureMemoryDelegate reports the result of the memory measurement to JS. With kSummary only the total size is reported. With kDetailed the result includes the size of each native context.

Upstream C++: v8::MeasureMemoryMode (v8-statistics.h)

MemberValueDescription
kDetailed1Controls how the default MeasureMemoryDelegate reports the result of the memory measurement to JS. With kSummary only the total size is reported. With kDetailed the result includes the size of each native context.
kSummary0Controls how the default MeasureMemoryDelegate reports the result of the memory measurement to JS. With kSummary only the total size is reported. With kDetailed the result includes the size of each native context.

MemoryPressureLevel

Memory pressure level for the MemoryPressureNotification. kNone hints V8 that there is no memory pressure. kModerate hints V8 to speed up incremental garbage collection at the cost of of higher latency due to garbage collection pauses. kCritical hints V8 to free memory as soon as possible. Garbage collection pauses at this level will be large.

Upstream C++: v8::MemoryPressureLevel (v8-isolate.h)

MemberValueDescription
kCritical2Memory pressure level for the MemoryPressureNotification. kNone hints V8 that there is no memory pressure. kModerate hints V8 to speed up incremental garbage collection at the cost of of higher latency due to garbage collection pauses. kCritical hints V8 to free memory as soon as possible. Garbage collection pauses at this level will be large.
kModerate1Memory pressure level for the MemoryPressureNotification. kNone hints V8 that there is no memory pressure. kModerate hints V8 to speed up incremental garbage collection at the cost of of higher latency due to garbage collection pauses. kCritical hints V8 to free memory as soon as possible. Garbage collection pauses at this level will be large.
kNone0Memory pressure level for the MemoryPressureNotification. kNone hints V8 that there is no memory pressure. kModerate hints V8 to speed up incremental garbage collection at the cost of of higher latency due to garbage collection pauses. kCritical hints V8 to free memory as soon as possible. Garbage collection pauses at this level will be large.

MessageLoopBehavior

Upstream V8 C++ enum v8::platform::MessageLoopBehavior (libplatform.h).

MemberValueDescription
kDoNotWait0—
kWaitForWork1—

MicrotasksPolicy

Policy for running microtasks:

  • explicit: microtasks are invoked with the Isolate.PerformMicrotaskCheckpoint() method;
  • scoped: microtasks invocation is controlled by MicrotasksScope objects;
  • auto: microtasks are invoked when the script call depth decrements to zero.

Upstream C++: v8::MicrotasksPolicy (v8-microtask.h)

MemberValueDescription
kAuto2Policy for running microtasks: - explicit: microtasks are invoked with the Isolate.PerformMicrotaskCheckpoint() method; - scoped: microtasks invocation is controlled by MicrotasksScope objects; - auto: microtasks are invoked when the script call depth decrements to zero.
kExplicit0Policy for running microtasks: - explicit: microtasks are invoked with the Isolate.PerformMicrotaskCheckpoint() method; - scoped: microtasks invocation is controlled by MicrotasksScope objects; - auto: microtasks are invoked when the script call depth decrements to zero.
kScoped1Policy for running microtasks: - explicit: microtasks are invoked with the Isolate.PerformMicrotaskCheckpoint() method; - scoped: microtasks invocation is controlled by MicrotasksScope objects; - auto: microtasks are invoked when the script call depth decrements to zero.

ModuleImportPhase

Import phases in import requests.

Upstream C++: v8::ModuleImportPhase (v8-callbacks.h)

MemberValueDescription
kDefer1—
kEvaluation2—
kSource0—

ModuleStatus

The different states a module can be in.

This corresponds to the states used in ECMAScript except that "evaluated" is split into kEvaluated and kErrored, indicating success and failure, respectively.

Upstream C++: v8::Module::Status (v8-script.h)

MemberValueDescription
kErrored5—
kEvaluated4—
kEvaluating3—
kInstantiated2—
kInstantiating1—
kUninstantiated0—

NewStringType

A flag describing different modes of string creation.

Aside from performance implications there are no differences between the two creation modes.

Upstream C++: v8::NewStringType (v8-primitive.h)

MemberValueDescription
kInternalized1Acts as a hint that the string should be created in the old generation heap space and be deduplicated if an identical string already exists.
kNormal0Create a new string, always allocating new storage memory.

OutputStreamWriteResult

Upstream V8 C++ enum v8::OutputStream::WriteResult (v8-profiler.h).

MemberValueDescription
kAbort1—
kContinue0—

PagePermissions

Possible permissions for memory pages.

Upstream C++: v8::PagePermissions (v8-platform.h)

MemberValueDescription
kExecute3—
kNoAccess0—
kRead1—
kReadExecute5—
kReadWrite4—
kReadWriteExecute7—
kWrite2—
kWriteExecute6—

PriorityMode

Upstream V8 C++ enum v8::platform::PriorityMode (libplatform.h).

MemberValueDescription
kApply1—
kDontApply0—

PromiseHookType

PromiseHook with type kInit is called when a new promise is created. When a new promise is created as part of the chain in the case of Promise.then or in the intermediate promises created by Promise.{race, all}/AsyncFunctionAwait, we pass the parent promise otherwise we pass undefined.

PromiseHook with type kResolve is called at the beginning of resolve or reject function defined by CreateResolvingFunctions.

PromiseHook with type kBefore is called at the beginning of the PromiseReactionJob.

PromiseHook with type kAfter is called right at the end of the PromiseReactionJob.

Upstream C++: v8::PromiseHookType (v8-promise.h)

MemberValueDescription
kAfter3PromiseHook with type kInit is called when a new promise is created. When a new promise is created as part of the chain in the case of Promise.then or in the intermediate promises created by Promise.{race, all}/AsyncFunctionAwait, we pass the parent promise otherwise we pass undefined. PromiseHook with type kResolve is called at the beginning of resolve or reject function defined by CreateResolvingFunctions. PromiseHook with type kBefore is called at the beginning of the PromiseReactionJob. PromiseHook with type kAfter is called right at the end of the PromiseReactionJob.
kBefore2PromiseHook with type kInit is called when a new promise is created. When a new promise is created as part of the chain in the case of Promise.then or in the intermediate promises created by Promise.{race, all}/AsyncFunctionAwait, we pass the parent promise otherwise we pass undefined. PromiseHook with type kResolve is called at the beginning of resolve or reject function defined by CreateResolvingFunctions. PromiseHook with type kBefore is called at the beginning of the PromiseReactionJob. PromiseHook with type kAfter is called right at the end of the PromiseReactionJob.
kInit0PromiseHook with type kInit is called when a new promise is created. When a new promise is created as part of the chain in the case of Promise.then or in the intermediate promises created by Promise.{race, all}/AsyncFunctionAwait, we pass the parent promise otherwise we pass undefined. PromiseHook with type kResolve is called at the beginning of resolve or reject function defined by CreateResolvingFunctions. PromiseHook with type kBefore is called at the beginning of the PromiseReactionJob. PromiseHook with type kAfter is called right at the end of the PromiseReactionJob.
kResolve1PromiseHook with type kInit is called when a new promise is created. When a new promise is created as part of the chain in the case of Promise.then or in the intermediate promises created by Promise.{race, all}/AsyncFunctionAwait, we pass the parent promise otherwise we pass undefined. PromiseHook with type kResolve is called at the beginning of resolve or reject function defined by CreateResolvingFunctions. PromiseHook with type kBefore is called at the beginning of the PromiseReactionJob. PromiseHook with type kAfter is called right at the end of the PromiseReactionJob.

PromisePromiseState

State of the promise. Each value corresponds to one of the possible values of the [[PromiseState]] field.

Upstream C++: v8::Promise::PromiseState (v8-promise.h)

MemberValueDescription
kFulfilled1State of the promise. Each value corresponds to one of the possible values of the [[PromiseState]] field.
kPending0State of the promise. Each value corresponds to one of the possible values of the [[PromiseState]] field.
kRejected2State of the promise. Each value corresponds to one of the possible values of the [[PromiseState]] field.

PromiseRejectEvent

--- Promise Reject Callback ---

Upstream C++: v8::PromiseRejectEvent (v8-promise.h)

MemberValueDescription
kDeprecatedPromiseRejectAfterResolved2—
kDeprecatedPromiseResolveAfterResolved3—
kPromiseHandlerAddedAfterReject1—
kPromiseRejectWithNoHandler0—

PropertyAttribute

PropertyAttribute.

Upstream C++: v8::PropertyAttribute (v8-object.h)

MemberValueDescription
DontDelete3DontDelete, i.e., not configurable. *
DontEnum2DontEnum, i.e., not enumerable. *
None0None. *
ReadOnly1ReadOnly, i.e., not writable. *

PropertyFilter

Property filter bits. They can be or'ed to build a composite filter.

Upstream C++: v8::PropertyFilter (v8-object.h)

MemberValueDescription
ALL_PROPERTIES0—
ONLY_CONFIGURABLE3—
ONLY_ENUMERABLE2—
ONLY_WRITABLE1—
SKIP_STRINGS4—
SKIP_SYMBOLS5—

PropertyHandlerFlags

Configuration flags for NamedPropertyHandlerConfiguration or IndexedPropertyHandlerConfiguration.

Upstream C++: v8::PropertyHandlerFlags (v8-template.h)

MemberValueDescription
kHasDontDeleteProperty4The interceptor may return non-configurable (PropertyAttribute.DontDelete) properties. When set on a global object's interceptor, it will be consulted during HasRestrictedGlobalProperty checks for lexical declarations.
kHasNoSideEffect3The getter, query, enumerator callbacks do not produce side effects.
kInternalNewCallbacksSignatures5This flag is used to distinguish which callbacks were provided - GenericNamedPropertyXXXCallback (old signature) or NamedPropertyXXXCallback (new signature). DO NOT use this flag, it'll be removed once embedders migrate to new callbacks signatures.
kNone0None.
kNonMasking1Will not call into interceptor for properties on the receiver or prototype chain, i.e., only call into interceptor for properties that do not exist. Currently only valid for named interceptors.
kOnlyInterceptStrings2Will not call into interceptor for symbol lookup. Only meaningful for named interceptors.

RegExpFlags

Regular expression flag bits. They can be or'ed to enable a set of flags. The kLinear value ('l') is experimental and can only be used with --enable-experimental-regexp-engine. RegExps with kLinear flag are guaranteed to be executed in asymptotic linear time wrt. the length of the subject string.

Upstream C++: v8::RegExp::Flags (v8-regexp.h)

MemberValueDescription
kDotAll6—
kGlobal1—
kHasIndices8—
kIgnoreCase2—
kLinear7—
kMultiline3—
kNone0—
kSticky4—
kUnicode5—
kUnicodeSets9—

ScriptCompilerCachedDataBufferPolicy

Upstream V8 C++ enum v8::ScriptCompiler::CachedData::BufferPolicy (v8-script.h).

MemberValueDescription
BufferNotOwned0—
BufferOwned1—

ScriptCompilerCachedDataCompatibilityCheckResult

Upstream V8 C++ enum v8::ScriptCompiler::CachedData::CompatibilityCheckResult (v8-script.h).

MemberValueDescription
kChecksumMismatch5—
kFlagsMismatch4—
kInvalidHeader6—
kLast9This should always point at the last real enum value.
kLengthMismatch7—
kMagicNumberMismatch1—
kReadOnlySnapshotChecksumMismatch8—
kSourceMismatch3—
kSuccess0Don't change order/existing values of this enum since it keys into the code_cache_reject_reason histogram. Append-only!
kVersionMismatch2—

ScriptCompilerCompileOptions

Upstream V8 C++ enum v8::ScriptCompiler::CompileOptions (v8-script.h).

MemberValueDescription
kConsumeCodeCache1—
kConsumeCompileHints4—
kEagerCompile2—
kFollowCompileHintsMagicComment5—
kFollowCompileHintsPerFunctionMagicComment6—
kNoCompileOptions0—
kProduceCompileHints3—

ScriptCompilerFlexibleExternalSourceStreamChunkEncoding

Upstream V8 C++ enum v8::ScriptCompiler::FlexibleExternalSourceStream::ChunkEncoding (v8-script.h).

MemberValueDescription
kOneByte0—
kTwoByte1—

ScriptCompilerInMemoryCacheResult

Upstream V8 C++ enum v8::ScriptCompiler::InMemoryCacheResult (v8-script.h).

MemberValueDescription
kHit1V8 found a previously compiled copy of this script in its in-memory cache. Any data generated by a streaming compilation or background deserialization was abandoned.
kMiss2V8 didn't have any previously compiled data for this script.
kNotAttempted0V8 did not attempt to find this script in its in-memory cache.
kPartial3V8 had some previously compiled data for an identical script, but the data was incomplete.

ScriptCompilerNoCacheReason

The reason for which we are not requesting or providing a code cache.

Upstream C++: v8::ScriptCompiler::NoCacheReason (v8-script.h)

MemberValueDescription
kNoCacheBecauseCacheTooCold8—
kNoCacheBecauseCachingDisabled1—
kNoCacheBecauseDeferredProduceCodeCache14—
kNoCacheBecauseExtensionModule10—
kNoCacheBecauseInDocumentWrite12—
kNoCacheBecauseInlineScript3—
kNoCacheBecauseInlineScriptCacheTooCold16—
kNoCacheBecauseInspector6—
kNoCacheBecauseModule4—
kNoCacheBecauseNoResource2—
kNoCacheBecausePacScript11—
kNoCacheBecauseResourceWithNoCacheHandler13—
kNoCacheBecauseScriptTooSmall7—
kNoCacheBecauseStaticCodeCache15—
kNoCacheBecauseStreamingSource5—
kNoCacheBecauseV8Extension9—
kNoCacheNoReason0—

ScriptCompilerStreamedSourceEncoding

Upstream V8 C++ enum v8::ScriptCompiler::StreamedSource::Encoding (v8-script.h).

MemberValueDescription
FLEXIBLE_UTF164—
ONE_BYTE0—
TWO_BYTE1—
UTF82—
WINDOWS_12523—

ScriptType

Upstream V8 C++ enum v8::ScriptType (v8-script.h).

MemberValueDescription
kClassic0—
kModule1—

SideEffectType

Options for marking whether callbacks may trigger JS-observable side effects. Side-effect-free callbacks are allowlisted during debug evaluation with throwOnSideEffect. It applies when calling a Function, FunctionTemplate, or an Accessor callback. For Interceptors, please see PropertyHandlerFlags's kHasNoSideEffect. Callbacks that only cause side effects to the receiver are allowlisted if invoked on receiver objects that are created within the same debug-evaluate call, as these objects are temporary and the side effect does not escape.

Upstream C++: v8::SideEffectType (v8-object.h)

MemberValueDescription
kHasNoSideEffect1—
kHasSideEffect0—
kHasSideEffectToReceiver2—

SnapshotCreatorFunctionCodeHandling

Upstream V8 C++ enum v8::SnapshotCreator::FunctionCodeHandling (v8-snapshot.h).

MemberValueDescription
kClear0—
kKeep1—

StackTraceStackTraceOptions

Flags that determine what information is placed captured for each StackFrame when grabbing the current stack trace. Note: these options are deprecated and we always collect all available information (kDetailed).

Upstream C++: v8::StackTrace::StackTraceOptions (v8-debug.h)

MemberValueDescription
kColumnOffset1—
kDetailed10—
kExposeFramesAcrossSecurityOrigins8—
kFunctionName3—
kIsConstructor5—
kIsEval4—
kLineNumber0—
kOverview9—
kScriptId7—
kScriptName2—
kScriptNameOrSourceURL6—

StateTag

A StateTag represents a possible state of the VM. This enum is append-only to preserve compatibility with historical logs. Add new states only at the end and do not reorder or remove existing values. LINT.IfChange

Upstream C++: v8::StateTag (v8-unwinder.h)

MemberValueDescription
ATOMICS_WAIT7—
BYTECODE_COMPILER3—
COMPILER4—
EXTERNAL6—
GC1—
IDLE8—
IDLE_EXTERNAL10—
JS0—
LOGGING9—
OTHER5—
PARSER2—

StringEncoding

Upstream V8 C++ enum v8::String::Encoding (v8-primitive.h).

MemberValueDescription
ONE_BYTE_ENCODING2—
TWO_BYTE_ENCODING1—
UNKNOWN_ENCODING0—

TaskPriority

Valid priorities supported by the task scheduling infrastructure.

Upstream C++: v8::TaskPriority (v8-platform.h)

MemberValueDescription
kBestEffort0Best effort tasks are not critical for performance of the application. The platform implementation should preempt such tasks if higher priority tasks arrive.
kMaxPriority3—
kUserBlocking2User blocking tasks are highest priority tasks that block the execution thread (e.g. major garbage collection). They must be finished as soon as possible.
kUserVisible1User visible tasks are long running background tasks that will improve performance and memory usage of the application upon completion. Example: background compilation and garbage collection.

V8ContextInfoNotNullTagEnum

Disallow copying and allocating this one.

Upstream C++: v8_inspector::V8ContextInfo::NotNullTagEnum (v8-inspector.h)

MemberValueDescription
NotNullLiteral0Disallow copying and allocating this one.

V8InspectorClientTrustLevel

Upstream V8 C++ enum v8_inspector::V8Inspector::ClientTrustLevel (v8-inspector.h).

MemberValueDescription
kFullyTrusted1—
kUntrusted0—

V8InspectorSessionEvaluateResultResultType

Upstream V8 C++ enum v8_inspector::V8InspectorSession::EvaluateResult::ResultType (v8-inspector.h).

MemberValueDescription
kException2—
kNotRun0—
kSuccess1—

V8InspectorSessionPauseState

Upstream V8 C++ enum v8_inspector::V8Inspector::SessionPauseState (v8-inspector.h).

MemberValueDescription
kNotWaitingForDebugger1—
kWaitingForDebugger0—

V8URLBreakpointSelectorType

Upstream V8 C++ enum v8_inspector::V8URLBreakpoint::SelectorType (v8-inspector.h).

MemberValueDescription
kScriptHash2—
kUrl0—
kUrlRegex1—

V8WasmMemoryType

Upstream V8 C++ enum v8::V8::WasmMemoryType (v8-initialization.h).

MemberValueDescription
kMemory320—
kMemory641—

ValueSerializerSharedImmutableArrayBufferMode

Upstream V8 C++ enum v8::ValueSerializer::SharedImmutableArrayBufferMode (v8-value-serializer.h).

MemberValueDescription
kDisabled0—
kEnabled1—

WasmAsyncSuccess

Upstream V8 C++ enum v8::WasmAsyncSuccess (v8-callbacks.h).

MemberValueDescription
kFail1—
kSuccess0—

WeakCallbackType

Weakness type for weak handles.

Upstream C++: v8::WeakCallbackType (v8-weak-callback-info.h)

MemberValueDescription
kInternalFields1Passes the first two internal fields of the object back to the callback.
kParameter0Passes a user-defined void* parameter back to the callback.

On this page

AccessTypeActivityControlControlOptionArrayBufferAllocatorAllocationModeArrayBufferCreationModeArrayCallbackResultBackingStoreInitializationModeBackingStoreOnFailureModeBlockingTypeCodeEventTypeConstructorBehaviorContextDependantsContextEmbedderDataFieldsCppHeapPointerTagCpuProfileNodeSourceTypeCpuProfileSerializationFormatCpuProfileSourceCpuProfilingLoggingModeCpuProfilingModeCpuProfilingNamingModeCpuProfilingStatusCrashKeyIdCrashKeySizeEmbedderGraphNodeDetachednessEmbedderStateTagExceptionContextGCCallbackFlagsGCTypeHeapGraphEdgeTypeHeapGraphNodeTypeHeapProfilerHeapSnapshotModeHeapProfilerNumericsModeHeapProfilerSamplingFlagsHeapSnapshotSerializationFormatIdleTaskSupportIndexFilterInProcessStackDumpingIntegrityLevelInterceptedInternalExternalPointerTypeTagIntrinsicIsolateGarbageCollectionTypeIsolateMessageErrorLevelIsolatePriorityIsolateTimeZoneDetectionIsolateUseCounterFeatureJitCodeEventCodeTypeJitCodeEventEventTypeJitCodeEventOptionsJitCodeEventPositionTypeKeyCollectionModeKeyConversionModeLogEventStatusMeasureMemoryExecutionMeasureMemoryModeMemoryPressureLevelMessageLoopBehaviorMicrotasksPolicyModuleImportPhaseModuleStatusNewStringTypeOutputStreamWriteResultPagePermissionsPriorityModePromiseHookTypePromisePromiseStatePromiseRejectEventPropertyAttributePropertyFilterPropertyHandlerFlagsRegExpFlagsScriptCompilerCachedDataBufferPolicyScriptCompilerCachedDataCompatibilityCheckResultScriptCompilerCompileOptionsScriptCompilerFlexibleExternalSourceStreamChunkEncodingScriptCompilerInMemoryCacheResultScriptCompilerNoCacheReasonScriptCompilerStreamedSourceEncodingScriptTypeSideEffectTypeSnapshotCreatorFunctionCodeHandlingStackTraceStackTraceOptionsStateTagStringEncodingTaskPriorityV8ContextInfoNotNullTagEnumV8InspectorClientTrustLevelV8InspectorSessionEvaluateResultResultTypeV8InspectorSessionPauseStateV8URLBreakpointSelectorTypeV8WasmMemoryTypeValueSerializerSharedImmutableArrayBufferModeWasmAsyncSuccessWeakCallbackType