[Webkit-unassigned] [Bug 151386] New: WKWebView does not render PDF pages in AirPrint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 05:23:07 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151386

            Bug ID: 151386
           Summary: WKWebView does not render PDF pages in AirPrint
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iOS
                OS: iOS 9.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stkhapugin at chromium.org

Created attachment 265744
  --> https://bugs.webkit.org/attachment.cgi?id=265744&action=review
Reproduction case.

Summary:
When one attempts to AirPrint a PDF open in WKWebView using [WKWebView viewPrintFormatter], the previews and the printed output are blank. 
Note that Safari on iOS prints normally. This is reproducible both with iOS 9.1 SDK's WebKit and a nightly checkout. 

Is there a workaround Safari uses?

Steps to Reproduce:
Unzip attached project, build & run. A pdf document will be loaded, and once it's loaded, the print dialog will open.
Note that the repro is linked with iOS SDK's WebKit. You may want to relink it to your own WebKit.framework.

Expected Results:
Preview in print dialog shows a small PDF preview. PDF prints normally.

Actual Results:
Previews in print dialog shows a blank page. Printed page is blank.

Version:
iOS 9.1; tot.

Notes:
You can debug printing by downloading Hardware IO Tools for Xcode 7 on Apple Developer Portal and running an AirPrint simulator.
Also filed rdar://23556241.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151118/b3a47aeb/attachment.html>


More information about the webkit-unassigned mailing list