This is a regression from WebKit1.
<rdar://problem/10333309> REGRESSION: WebKitOmitPDFSupport default lost in WebKit2
Created attachment 112565 [details] Patch
Comment on attachment 112565 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112565&action=review > Source/WebKit2/ChangeLog:6 > + Don't register built-in PDF plugin if WebKitOmitPDFSupport pref is set. This explanation is slightly misleading, as the patch disables both the new "plug-in" for subframes and the PDFKit-based support for main frame only.
Committed r98513: <http://trac.webkit.org/changeset/98513>
There is also PDF code in WebContext::platformInitializeWebProcess. Should that be conditional, too?
(In reply to comment #5) > There is also PDF code in WebContext::platformInitializeWebProcess. Should that be conditional, too? Probably, although PDF viewing seems to be disabled with just r98513. I'll file another bug to fix this.
(In reply to comment #6) > (In reply to comment #5) > > There is also PDF code in WebContext::platformInitializeWebProcess. Should that be conditional, too? > > Probably, although PDF viewing seems to be disabled with just r98513. I'll file another bug to fix this. Tracked by bug 71156.