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

Unified Diff: test/inspector/runtime/es6-module.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
« no previous file with comments | « test/inspector/protocol-test.js ('k') | test/inspector/runtime/es6-module-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/es6-module.js
diff --git a/test/inspector/runtime/es6-module.js b/test/inspector/runtime/es6-module.js
index 362ca3b72de0976edc37224ad3eb2f07043d953c..e4e468ee5d927a2338e92d9eba193b9dabd4d159 100644
--- a/test/inspector/runtime/es6-module.js
+++ b/test/inspector/runtime/es6-module.js
@@ -32,10 +32,7 @@ var module4 = '}';
InspectorTest.setupScriptMap();
// We get scriptParsed events for modules ..
-Protocol.Debugger.onScriptParsed(message => {
- if (message.params.url === 'wait-pending-tasks.js') return;
- InspectorTest.logMessage(message);
-});
+Protocol.Debugger.onScriptParsed(InspectorTest.logMessage);
// .. scriptFailed to parse for modules with syntax error ..
Protocol.Debugger.onScriptFailedToParse(InspectorTest.logMessage);
// .. API messages from modules contain correct stack trace ..
« no previous file with comments | « test/inspector/protocol-test.js ('k') | test/inspector/runtime/es6-module-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698