| Index: third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| index 15a0ec04fe1669d26b04fef20c0ca4e5950a67aa..9b48adf7ba115910643b4f43ee2e1eca48ea7cf2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| @@ -514,7 +514,7 @@ WebInspector.RemoteObjectImpl.prototype = {
|
| }
|
|
|
| if (!this._objectId) {
|
| - reject(null);
|
| + reject(new Error("No object id specified"));
|
| return;
|
| }
|
|
|
| @@ -528,7 +528,7 @@ WebInspector.RemoteObjectImpl.prototype = {
|
| function mycallback(error, payloads)
|
| {
|
| if (error) {
|
| - reject(null);
|
| + reject(new Error(error));
|
| return;
|
| }
|
| fulfill(payloads.map(createEventListener.bind(this)));
|
|
|