Index: third_party/WebKit/Source/devtools/front_end/main/Main.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
index 5ba641dd25c941a8cb67763e814a84351bb65c33..28e0ec6bfd39e37f7bbaea11a3e1965f3115b5d3 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js |
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
@@ -839,10 +839,10 @@ Main.Main.InspectedNodeRevealer = class { |
*/ |
Main.sendOverProtocol = function(method, params) { |
return new Promise((resolve, reject) => { |
- Protocol.InspectorBackend.sendRawMessageForTesting(method, params, (err, result) => { |
+ Protocol.InspectorBackend.sendRawMessageForTesting(method, params, (err, ...results) => { |
if (err) |
return reject(err); |
- return resolve(result); |
+ return resolve(results); |
}); |
}); |
}; |