Bug 197748 - PDF not rendering in WKWebView on macOS
Summary: PDF not rendering in WKWebView on macOS
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: Other
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-09 11:44 PDT by study2teach
Modified: 2019-09-27 10:19 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description study2teach 2019-05-09 11:44:28 PDT
In Xcode based development for Apple devices, WkWebView can rendering PDF pages on iOS, however, WkWebView  will not render PDF on macOS. See: https://github.com/marc-medley/WKWebView-Printing-Puzzle and http://www.openradar.me/23649229 "No Method of Printing WKWebView".

Is inability to render PDF on different platforms (e.g. macOS) a limitation of the open source WebKit? or, is it due to some layer that Apple has added onto the open source WebKit?

(In other words, does/can/should direct use of the current open source WebKit support PDF rendering across different platforms?)
Comment 1 Radar WebKit Bug Importer 2019-05-12 15:00:05 PDT
<rdar://problem/50708347>
Comment 2 Brady Eidson 2019-09-27 10:19:18 PDT
Do you want *actual printing* on macOS, or do you want exporting the current page to a PDF?

Because those are two very different things, even if you are "printing" to a PDF.

For the latter, we added PDF export API over in https://bugs.webkit.org/show_bug.cgi?id=195765 
(No, it has not shipped in any OS release yet)

For the former, we are tracking macOS printing in radar but I can't find a bugzilla for it.

If that's what you're after, we can use this bugzilla for it.