Avoid re-encoding action menu image data
Created attachment 241756 [details] Patch
Do we want to mimic any of this in WK1 code? WebActionMenuController also still hardcodes jpg even though it probably already have enough information to avoid that.
(In reply to comment #2) > Do we want to mimic any of this in WK1 code? WebActionMenuController also > still hardcodes jpg even though it probably already have enough information > to avoid that. This patch fixes both WebKits.
Comment on attachment 241756 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241756&action=review > Source/WebKit/mac/WebView/WebActionMenuController.mm:415 > + RefPtr<SharedBuffer> buffer = image->data(); Can buffer ever be null here?
http://trac.webkit.org/changeset/176288
Does this bring image codec code execution vulnerabilities into UI process?