[Webkit-unassigned] [Bug 75449] REGRESSION: Inline PDF that are cached fail to appear in iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 9 08:55:59 PDT 2013


--- Comment #6 from Zalan Bujtas <zalan at apple.com>  2013-09-09 08:55:13 PST ---
The actual reason for the blank pdf content is that when we recreate the PDFPlugin (while restoring the cached frame), we forget to re-initialize the object properly.
What happens here is:
1. Initial load -> Frame loading ends up calling PDFPlugin::pdfDocumentDidLoad() which creates and initializes the pdf document using the rawData() (m_data) 
2. While navigating away, we destroy the plugin renderers -> PDFPlugin object gets deleted.
3. Navigating back -> new PDFPlugin object is created but we never pass the raw data back -> no pdf document -> blank content.
(When the raw data is kept around and assigned it back to the newly created PDFPlugin object, the PDF content renders fine)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list