| Index: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| index f5b6c16e44ce3cefd61652c24f0da75ac5d27640..caa9c046f57fed1d0a03b76b967faf1edac49819 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| @@ -579,7 +579,8 @@ WebInspector.EventListener = function(target, type, useCapture, handler, origina
|
| this._handler = handler;
|
| this._originalHandler = originalHandler || handler;
|
| this._location = location;
|
| - this._sourceURL = location.script().contentURL();
|
| + var script = location.script();
|
| + this._sourceURL = script ? script.contentURL() : "";
|
| this._removeFunction = removeFunction;
|
| this._listenerType = listenerType || "normal";
|
| }
|
|
|