There is a FIXME in the code to return false for JPEG and other image formats that don't support transparency. JPEG is the most common of these, so we should simply do this optimization.
<rdar://problem/6924087>
Created attachment 30691 [details] Proposed patch
Comment on attachment 30691 [details] Proposed patch r=me
Landed in r44176.