[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:47:06 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76706
--- Comment #10 from Konrad Piascik <kpiascik at rim.com> 2012-01-23 08:47:05 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);
copy not callback right?
DOMAgent.getOuterHTML(this.id, copy);
--
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