Bug 221512 - Check that CGPDFDocumentRef is consistently unlocked and printable
Summary: Check that CGPDFDocumentRef is consistently unlocked and printable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-05 18:32 PST by David Kilzer (:ddkilzer)
Modified: 2021-02-08 12:07 PST (History)
3 users (show)

See Also:


Attachments
Patch v1 (3.88 KB, patch)
2021-02-05 18:35 PST, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2021-02-05 18:32:42 PST
Check that CGPDFDocumentRef is consistently unlocked and printable.

<rdar://problem/65277765>
Comment 1 David Kilzer (:ddkilzer) 2021-02-05 18:35:08 PST
Created attachment 419489 [details]
Patch v1
Comment 2 Daniel Bates 2021-02-07 19:44:10 PST
Comment on attachment 419489 [details]
Patch v1

Looks good. I think there is testing infra for password PDFs. I don't remember if it covered printing code path. Consider taking a look and writing a test. This is not required.
Comment 3 EWS 2021-02-08 12:07:28 PST
Committed r272506: <https://commits.webkit.org/r272506>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419489 [details].