* inspector/front-end/DOMAgent.js:
(WebInspector.DOMDocument):
(WebInspector.DOMModelResourceBinding.prototype.setContent.setOuterHTML):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105268
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-01-18 Pavel Feldman <pfeldman@google.com>
+
+ Not reviewed: follow up to r105262, fixing front-end compilation.
+
+ * inspector/front-end/DOMAgent.js:
+ (WebInspector.DOMDocument):
+ (WebInspector.DOMModelResourceBinding.prototype.setContent.setOuterHTML):
+
2012-01-17 Pavel Feldman <pfeldman@google.com>
Web Inspector: track HTML revisions when editing DOM and / or upon free flow edits.
WebInspector.DOMDocument = function(domAgent, payload)
{
WebInspector.DOMNode.call(this, domAgent, this, payload);
- this.documentURL = payload.documentURL;
+ this.documentURL = payload.documentURL || "";
this.xmlVersion = payload.xmlVersion;
domAgent._idToDOMNode[this.id] = this;
-
- /**
- * @type {string} Document nodes always have documentURL
- */
- this.documentURL;
this._listeners = {};
}
return true;
}
if (reportError)
- callback("No document with given URL found");
+ userCallback("No document with given URL found");
return false;
}