Bug 221512

Summary: Check that CGPDFDocumentRef is consistently unlocked and printable
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: PDFAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Severity: Normal CC: beidson, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch v1 none

Description David Kilzer (:ddkilzer) 2021-02-05 18:32:42 PST
Check that CGPDFDocumentRef is consistently unlocked and printable.

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].