[Webkit-unassigned] [Bug 17719] Qt, Cairo and wx require toDataURL implementations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 16 00:04:39 PDT 2008


------- Comment #4 from oliver at apple.com  2008-09-16 00:04 PDT -------
(From update of attachment 23463)
This patch basically looks correct the issue is that you ignore the mimeType
argument to toDataURL, and always encode as image/png, but do not report this

i think you could get away with:
+    ASSERT(mimeType == "image/png");
+    return String::format("data:image/png;base64,%s", out.data());

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

More information about the webkit-unassigned mailing list