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

Unified Diff: test/inspector/protocol-test.js

Issue 2663973002: [inspector] added experimental is_module flag for script parsed events (Closed)
Patch Set: rebased Created 3 years, 11 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: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index d04d951d5976ddfcd1ce72c975878deb0b1aa073..d62c2e0c29fc940965c91e1efe14768b1e442a55 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -233,6 +233,8 @@ InspectorTest._dispatchMessage = function(messageObject)
var eventHandler = InspectorTest._eventHandler[eventName];
if (InspectorTest._scriptMap && eventName === "Debugger.scriptParsed")
InspectorTest._scriptMap.set(messageObject.params.scriptId, JSON.parse(JSON.stringify(messageObject.params)));
+ if (eventName === "Debugger.scriptParsed" && messageObject.params.url === "wait-pending-tasks.js")
+ return;
if (eventHandler)
eventHandler(messageObject);
}
« no previous file with comments | « test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt ('k') | test/inspector/runtime/es6-module.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698