Skip to content

Commit

Permalink
Merged: [debug] allow JS execution in ProcessCompileEvent callbacks
Browse files Browse the repository at this point in the history
Revision: 6751db2

NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
R=hablich@chromium.org

Bug: v8:7096
Change-Id: If1e1a15e1a073b5ab781e1dfe6699b873a33ecdb
Reviewed-on: https://chromium-review.googlesource.com/783910
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Myles Borins <mborins@google.com>
Cr-Commit-Position: refs/branch-heads/6.2@{#94}
Cr-Branched-From: efa2ac4-refs/heads/6.2.414@{#1}
Cr-Branched-From: a861ebb-refs/heads/master@{#47693}
  • Loading branch information
MylesBorins authored and Commit Bot committed Nov 22, 2017
1 parent 6f52e76 commit 1f13631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/debug/debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,7 @@ void Debug::ProcessCompileEvent(v8::DebugEvent event, Handle<Script> script) {
HandleScope scope(isolate_);
PostponeInterruptsScope postpone(isolate_);
DisableBreak no_recursive_break(this);
AllowJavascriptExecution allow_script(isolate_);
debug_delegate_->ScriptCompiled(ToApiHandle<debug::Script>(script),
live_edit_enabled(),
event != v8::AfterCompile);
Expand Down

0 comments on commit 1f13631

Please sign in to comment.