Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1109)

Unified Diff: src/isolate.cc

Issue 2748503002: [inspector] changed a way of preserving stepping between tasks (Closed)
Patch Set: removed willExecuteScript from tests Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index de330d138655940d3d382b61f538d2770ae1d902..c4c4e2fbbb80d38b37a6352da416ee90c3305041 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -3284,8 +3284,7 @@ void Isolate::FireCallCompletedCallback() {
v8::MicrotasksPolicy::kAuto;
if (run_microtasks) RunMicrotasks();
- // Prevent stepping from spilling into the next call made by the embedder.
- if (debug()->is_active()) debug()->ClearStepping();
+ if (debug()->is_active()) debug()->HandleCallCompleted();
if (call_completed_callbacks_.is_empty()) return;
// Fire callbacks. Increase call depth to prevent recursive callbacks.

Powered by Google App Engine
This is Rietveld 408576698