[Webkit-unassigned] [Bug 76706] Web Inspector: Make "Copy as HTML" use the same copy functions as other copy methods.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 23 08:42:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76706





--- Comment #7 from Pavel Feldman <pfeldman at chromium.org>  2012-01-23 08:42:42 PST ---
(From update of attachment 123563)
View in context: https://bugs.webkit.org/attachment.cgi?id=123563&action=review

> Source/WebCore/inspector/front-end/DOMAgent.js:274
> +        var copy = function (errorString, text)

As I mentioned earlier, we only use named functions. It should be:

function copy(error, text)
{
    if (!error)
        InspectorFrontendHost.copyText(text);
}
DOMAgent.getOuterHTML(this.id, callback);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list