[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 17:47:27 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit ab06f27fd9c3a35f25690b218bcd2d58ab16b004
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 30 11:12:01 2010 +0000

    2010-11-30  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Yury Semikhatsky.
    
            Web Inspector: make copy(node) work in console.
            https://bugs.webkit.org/show_bug.cgi?id=50180
    
            * inspector/front-end/InjectedScript.js:
            (injectedScriptConstructor.):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index eda0ba3..697fd84 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-11-30  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Yury Semikhatsky.
+
+        Web Inspector: make copy(node) work in console.
+        https://bugs.webkit.org/show_bug.cgi?id=50180
+
+        * inspector/front-end/InjectedScript.js:
+        (injectedScriptConstructor.):
+
 2010-11-30  Mario Sanchez Prada  <msanchez at igalia.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/inspector/front-end/InjectedScript.js b/WebCore/inspector/front-end/InjectedScript.js
index 106668f..fb6b796 100644
--- a/WebCore/inspector/front-end/InjectedScript.js
+++ b/WebCore/inspector/front-end/InjectedScript.js
@@ -700,11 +700,9 @@ CommandLineAPI.prototype = {
 
     copy: function(object)
     {
-        if (injectedScript._type(object) === "node") {
-            var nodeId = InjectedScriptHost.pushNodePathToFrontend(object, false, false);
-            InjectedScriptHost.copyNode(nodeId);
-        } else
-            InjectedScriptHost.copyText(object);
+        if (injectedScript._type(object) === "node")
+            object = object.outerHTML;
+        InjectedScriptHost.copyText(object);
     },
 
     clear: function()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list