Index: test/inspector/protocol-test.js |
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js |
index 37e6447f79235410871e23ffebe0d79bb5832674..9cc72ed862276996ae4013c0ca71b23a0cc0c1a6 100644 |
--- a/test/inspector/protocol-test.js |
+++ b/test/inspector/protocol-test.js |
@@ -20,7 +20,8 @@ Protocol = new Proxy({}, { |
var eventName = match[2]; |
eventName = eventName.charAt(0).toLowerCase() + eventName.slice(1); |
if (match[1]) |
- return (args) => InspectorTest._waitForEventPromise(`${agentName}.${eventName}`, args || {}); |
+ return () => InspectorTest._waitForEventPromise( |
+ `${agentName}.${eventName}`); |
else |
return (listener) => { InspectorTest._eventHandler[`${agentName}.${eventName}`] = listener }; |
} |