V8 API Reference Guide generated from the header files
Public Types | Public Member Functions
v8::Isolate::DisallowJavascriptExecutionScope Class Reference

#include <v8.h>

Public Types

enum  OnFailure { CRASH_ON_FAILURE, THROW_ON_FAILURE }
 

Public Member Functions

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

Detailed Description

Assert that no Javascript code is invoked.


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