[webkit-dev] WebKit build doesn't load plug-in for application/pdf

Maciej Stachowiak mjs at apple.com
Wed Aug 16 23:55:08 PDT 2006

On Aug 16, 2006, at 4:58 PM, Rudi Sherry wrote:

> I'm trying to debug a problem with my WebKit plug-in that I think  
> is related to the way WebViews layout on draw.  Debugging with the  
> WebKit sources seemed like the obvious choice...
> ...but when I debug from the DebugWebKit project and load a PDFA,  
> it doesn't use the PDF-handling WebKit plug-in.  Instead, it shows  
> a small blue question-mark in the top left corner.
> WebInspector says:
> Document
>    <html>
>       <body>
>          <img src="http://server-name/path-to-pdf>"

Plug-ins are never used for <img> tags, only for <object>, <embed> or  
possibly <frame> or <iframe>. This matches what other browsers do -  
<img> only allows image types that can be handled as built-in.


More information about the webkit-dev mailing list