Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 47f912e4d8175e8cc5f455889b85e788368b876f https://github.com/WebKit/WebKit/commit/47f912e4d8175e8cc5f455889b85e788368b876f Author: Abrar Rahman Protyasha <a_protya...@apple.com> Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths: M Source/WebKitLegacy/mac/WebView/WebPDFRepresentation.mm Log Message: ----------- WebPDFRepresentation no longer supports the "application/postscript" MIME type https://bugs.webkit.org/show_bug.cgi?id=273859 rdar://127706401 Reviewed by Tim Horton. WebKit no longer has access to the PostScript conversion service. In fact, the PSNormalizer framework (required for conversion) is not even available in macOS Sonoma (and onwards). As such, it is safe for us to remove the PostScript to PDF transcoding logic in -[WebPDFRepresentation convertPostScriptDataSourceToPDF:]. With that, we can also drop "application/postscript" as a supported MIME type in WebPDFRepresentation. We take the liberty to do so in this patch. * Source/WebKitLegacy/mac/WebView/WebPDFRepresentation.mm: (+[WebPDFRepresentation supportedMIMETypes]): (-[WebPDFRepresentation finishedLoadingWithDataSource:]): (+[WebPDFRepresentation postScriptMIMETypes]): Deleted. (-[WebPDFRepresentation convertPostScriptDataSourceToPDF:]): Deleted. Canonical link: https://commits.webkit.org/278515@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes