Bug 141457

Summary: REGRESSION (iOS 8): PDFs embedded in <object>/<embed> tag don't load at all
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz, sam, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch ap: review+

Description Tim Horton 2015-02-10 19:06:18 PST
[iOS] WebKit2 should render <object> and <embed> PDFs with PDFDocumentImage
Comment 1 Tim Horton 2015-02-10 19:06:33 PST
Created attachment 246368 [details]
Patch
Comment 2 Tim Horton 2015-02-10 19:06:58 PST
<rdar://problem/18221851>
Comment 3 mitz 2015-02-10 19:14:46 PST
A better title for this bug might be “REGRESSION (iOS 8): PDFs embedded in <object>/<embed> tag don't load at all”
Comment 4 mitz 2015-02-10 19:20:05 PST
This can have a reftest with <img> on the -expected side, right?
Comment 5 Tim Horton 2015-02-10 19:26:17 PST
Seems reasonable.
Comment 6 Tim Horton 2015-02-11 13:26:00 PST
Created attachment 246409 [details]
Patch
Comment 7 Alexey Proskuryakov 2015-02-11 13:28:30 PST
Comment on attachment 246409 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=246409&action=review

> LayoutTests/TestExpectations:482
> +# The current expectations for this test only make sense for WebKit on iOS; other platforms can have very different behaviors.
> +fast/replaced/pdf-as-object-and-embed.html [ Skip ]

The test makes sense on all platforms though, so seems like it should be enabled, with different expectations elsewhere.
Comment 8 Tim Horton 2015-02-11 13:33:57 PST
(In reply to comment #7)
> Comment on attachment 246409 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=246409&action=review
> 
> > LayoutTests/TestExpectations:482
> > +# The current expectations for this test only make sense for WebKit on iOS; other platforms can have very different behaviors.
> > +fast/replaced/pdf-as-object-and-embed.html [ Skip ]
> 
> The test makes sense on all platforms though, so seems like it should be
> enabled, with different expectations elsewhere.

I filed https://bugs.webkit.org/show_bug.cgi?id=141488.
Comment 9 Tim Horton 2015-02-11 13:36:59 PST
http://trac.webkit.org/changeset/179955