Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
v8::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.

Member Enumeration Documentation

◆ OnFailure

Enumerator
CRASH_ON_FAILURE 
THROW_ON_FAILURE 
DUMP_ON_FAILURE 

Constructor & Destructor Documentation

◆ DisallowJavascriptExecutionScope() [1/2]

v8::Isolate::DisallowJavascriptExecutionScope::DisallowJavascriptExecutionScope ( Isolate isolate,
OnFailure  on_failure 
)

◆ ~DisallowJavascriptExecutionScope()

v8::Isolate::DisallowJavascriptExecutionScope::~DisallowJavascriptExecutionScope ( )

◆ DisallowJavascriptExecutionScope() [2/2]

v8::Isolate::DisallowJavascriptExecutionScope::DisallowJavascriptExecutionScope ( const DisallowJavascriptExecutionScope )
delete

Member Function Documentation

◆ operator=()

DisallowJavascriptExecutionScope & v8::Isolate::DisallowJavascriptExecutionScope::operator= ( const DisallowJavascriptExecutionScope )
delete

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