Title: [105268] trunk/Source/WebCore
Revision
105268
Author
[email protected]
Date
2012-01-18 05:52:02 -0800 (Wed, 18 Jan 2012)

Log Message

Not reviewed: follow up to r105262, fixing front-end compilation.

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMDocument):
(WebInspector.DOMModelResourceBinding.prototype.setContent.setOuterHTML):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (105267 => 105268)


--- trunk/Source/WebCore/ChangeLog	2012-01-18 13:35:57 UTC (rev 105267)
+++ trunk/Source/WebCore/ChangeLog	2012-01-18 13:52:02 UTC (rev 105268)
@@ -1,3 +1,11 @@
+2012-01-18  Pavel Feldman  <[email protected]>
+
+        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  <[email protected]>
 
         Web Inspector: track HTML revisions when editing DOM and / or upon free flow edits.

Modified: trunk/Source/WebCore/inspector/front-end/DOMAgent.js (105267 => 105268)


--- trunk/Source/WebCore/inspector/front-end/DOMAgent.js	2012-01-18 13:35:57 UTC (rev 105267)
+++ trunk/Source/WebCore/inspector/front-end/DOMAgent.js	2012-01-18 13:52:02 UTC (rev 105268)
@@ -500,14 +500,9 @@
 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 @@
                 return true;
             }
             if (reportError)
-                callback("No document with given URL found");
+                userCallback("No document with given URL found");
             return false;
         }
     
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to