From 3e49ac1d3f3fbe20159d07f3c8b5c498334b9a18 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Wed, 18 Jan 2012 13:52:02 +0000 Subject: [PATCH] Not reviewed: follow up to r105262, fixing front-end compilation. * 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 --- Source/WebCore/ChangeLog | 8 ++++++++ Source/WebCore/inspector/front-end/DOMAgent.js | 9 ++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 2334491..4fb9276f7 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,11 @@ +2012-01-18 Pavel Feldman + + 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 Web Inspector: track HTML revisions when editing DOM and / or upon free flow edits. diff --git a/Source/WebCore/inspector/front-end/DOMAgent.js b/Source/WebCore/inspector/front-end/DOMAgent.js index 9f0f826..b768eb1 100644 --- a/Source/WebCore/inspector/front-end/DOMAgent.js +++ b/Source/WebCore/inspector/front-end/DOMAgent.js @@ -500,14 +500,9 @@ WebInspector.DOMNode.prototype = { 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 = {}; } @@ -1152,7 +1147,7 @@ WebInspector.DOMModelResourceBinding.prototype = { return true; } if (reportError) - callback("No document with given URL found"); + userCallback("No document with given URL found"); return false; } -- 2.7.4