More work on WebKit2 should respect WebKitOmitPDFSupport preference on the Mac
Follow up to bug 70943, where Alexey commented: > There is also PDF code in WebContext::platformInitializeWebProcess. Should that be conditional, too?
Created attachment 112936 [details] Patch
Comment on attachment 112936 [details] Patch What was the manifestation of this problem, and are we sure that omitPDFSupport() will return the correct result so early in context lifetime?
(In reply to comment #3) > (From update of attachment 112936 [details]) > What was the manifestation of this problem, and are we sure that omitPDFSupport() will return the correct result so early in context lifetime? There was no end-user symptom, PDF support was disabled correctly when this pref was set with the previous patch in r98513. This is just being complete by not including these MIME types in the initialization message. omitPDFSupport() just reads a preference from the standard user defaults, which should definitely be OK when this is called (note that this code is in the UI process, not the web process which is being created).
Committed r98781: <http://trac.webkit.org/changeset/98781>