[Webkit-unassigned] [Bug 42324] WebKitTestRunner needs testRunner.dumpDOMAsWebArchive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 7 11:27:17 PDT 2013


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


Tim Horton <timothy_horton at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #200927|review?                     |review-
               Flag|                            |




--- Comment #9 from Tim Horton <timothy_horton at apple.com>  2013-05-07 11:25:41 PST ---
(From update of attachment 200927)
View in context: https://bugs.webkit.org/attachment.cgi?id=200927&action=review

> Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:850
> +    const unsigned char* bytes = WKDataGetBytes(wkData);
> +    size_t length = WKDataGetSize(wkData);
> +    CFDataRef cfData = CFDataCreate(0, bytes, length);

This could be all-in-one-line too.

Also, you're leaking the CFData object.

-- 
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