v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
Isolate::DisallowJavascriptExecutionScope Class Reference

#include <v8-isolate.h>

Public Types

enum  OnFailure { CRASH_ON_FAILURE , THROW_ON_FAILURE , DUMP_ON_FAILURE }
 

Public Member Functions

 DisallowJavascriptExecutionScope (Isolate *isolate, OnFailure on_failure)
 
 ~DisallowJavascriptExecutionScope ()
 
 DisallowJavascriptExecutionScope (const DisallowJavascriptExecutionScope &)=delete
 
DisallowJavascriptExecutionScopeoperator= (const DisallowJavascriptExecutionScope &)=delete
 

Detailed Description

Assert that no Javascript code is invoked.

Definition at line 328 of file v8-isolate.h.

Member Enumeration Documentation

◆ OnFailure

enum OnFailure
Enumerator
CRASH_ON_FAILURE 
THROW_ON_FAILURE 
DUMP_ON_FAILURE 

Definition at line 330 of file v8-isolate.h.

Constructor & Destructor Documentation

◆ DisallowJavascriptExecutionScope() [1/2]

DisallowJavascriptExecutionScope ( Isolate isolate,
OnFailure  on_failure 
)

◆ ~DisallowJavascriptExecutionScope()

◆ DisallowJavascriptExecutionScope() [2/2]

Member Function Documentation

◆ operator=()


The documentation for this class was generated from the following file: