| Index: WebCore/inspector/front-end/InjectedScript.js
|
| ===================================================================
|
| --- WebCore/inspector/front-end/InjectedScript.js (revision 73030)
|
| +++ WebCore/inspector/front-end/InjectedScript.js (working copy)
|
| @@ -700,11 +700,9 @@
|
|
|
| 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()
|
|
|