[Webkit-unassigned] [Bug 4151] USPS.com Label Printing Malfunction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 12 21:10:17 PDT 2009


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





--- Comment #13 from mitz at webkit.org  2009-09-12 21:10:15 PDT ---
Created an attachment (id=39525)
 --> (https://bugs.webkit.org/attachment.cgi?id=39525)
Sample PDF from USPS

Looking at the PDF served to WebKit (attached), I see these definitions:
48 0 obj<</S/JavaScript/JS(this.print\(true\);)>>
endobj
47 0 obj<</Count 1/Type/Pages/Kids[2 0 R]>>
endobj
49 0 obj<</Names[(0) 48 0 R]>>
endobj
50 0 obj<</JavaScript 49 0 R>>
endobj
51 0 obj<</Type/Catalog/ViewerPreferences<</HideMenubar true/HideToolbar
true/HideWindowUI true>>/Pages 47 0 R/Names 50 0 R>>

While all I can tell is that it assigns the name “0” to the script
“this.print(true)”, I suspect that this is what causes the document to print
when opened in Adobe Reader 9 or the Adobe PDF plug-in. As far as I can tell,
PDFKit does not interpret or expose JavaScript actions in the document.

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