<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197748</bug_id>
          
          <creation_ts>2019-05-09 11:44:28 -0700</creation_ts>
          <short_desc>PDF not rendering in WKWebView on macOS</short_desc>
          <delta_ts>2023-09-30 20:32:30 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>PDF</component>
          <version>Other</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>study2teach</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>study2teach</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1534806</commentid>
    <comment_count>0</comment_count>
    <who name="">study2teach</who>
    <bug_when>2019-05-09 11:44:28 -0700</bug_when>
    <thetext>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 &quot;No Method of Printing WKWebView&quot;.

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?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1535480</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-05-12 15:00:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/50708347&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1574862</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2019-09-27 10:19:18 -0700</bug_when>
    <thetext>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 &quot;printing&quot; 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&apos;t find a bugzilla for it.

If that&apos;s what you&apos;re after, we can use this bugzilla for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981592</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-09-30 20:32:30 -0700</bug_when>
    <thetext>No response for over 4 years, and unclear what the originator is asking for.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>