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 .. |