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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h

Issue 2219393003: DevTools: Runtime.compileScript with persistScript = false should not report script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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: third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h b/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h
index c7ce2b3c71b4df611f198bf08fbe071a8448cc8c..3ec68a8708bee471e11fb9e8acf3e52d0a671e0a 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.h
@@ -85,6 +85,9 @@ public:
void asyncTaskFinished(void* task);
void allAsyncTasksCanceled();
+ void muteScriptParsedEvents();
+ void unmuteScriptParsedEvents();
+
private:
void compileDebuggerScript();
v8::MaybeLocal<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Local<v8::Value> argv[]);
@@ -112,6 +115,7 @@ private:
v8::Local<v8::Object> m_executionState;
v8::Local<v8::Context> m_pausedContext;
bool m_runningNestedMessageLoop;
+ int m_ignoreScriptParsedEventsCounter;
using AsyncTaskToStackTrace = protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>;
AsyncTaskToStackTrace m_asyncTaskStacks;

Powered by Google App Engine
This is Rietveld 408576698