v8  5.1.281 (node 6.17.1)
V8 is Google's open source JavaScript engine
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 ()
 

Detailed Description

Assert that no Javascript code is invoked.

Definition at line 5507 of file v8.h.

Member Enumeration Documentation

◆ OnFailure

enum OnFailure
Enumerator
CRASH_ON_FAILURE 
THROW_ON_FAILURE 

Definition at line 5509 of file v8.h.

Constructor & Destructor Documentation

◆ DisallowJavascriptExecutionScope()

DisallowJavascriptExecutionScope ( Isolate isolate,
OnFailure  on_failure 
)

◆ ~DisallowJavascriptExecutionScope()


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