summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/inspector/front-end/Script.js
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/front-end/Script.js')
-rw-r--r--Source/WebCore/inspector/front-end/Script.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/inspector/front-end/Script.js b/Source/WebCore/inspector/front-end/Script.js
index 3f27485..805e191 100644
--- a/Source/WebCore/inspector/front-end/Script.js
+++ b/Source/WebCore/inspector/front-end/Script.js
@@ -115,8 +115,10 @@ WebInspector.Script.prototype = {
return;
}
- function didGetScriptSource(source)
+ function didGetScriptSource(error, source)
{
+ if (error)
+ return;
this._source = source;
callback(this._source);
}