Bug 144267

Summary: REGRESSION(r182879): Images and video can no longer be downloaded
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 143794    
Bug Blocks:    
Attachments:
Description Flags
Patch simon.fraser: review+

Description Brent Fulgham 2015-04-27 10:41:40 PDT
While working on Bug 143794, I broke the ability to download image and media content (see <http://trac.webkit.org/changeset/182879>) because I enable the download state on whether the link protocol is type 'file'.

Instead, I should have been checking for NOT file.
Comment 1 Brent Fulgham 2015-04-27 10:45:24 PDT
<rdar://problem/20702844>
Comment 2 Brent Fulgham 2015-04-27 10:46:14 PDT
Created attachment 251757 [details]
Patch
Comment 3 Simon Fraser (smfr) 2015-04-27 10:50:19 PDT
Comment on attachment 251757 [details]
Patch

Is this not testable? Also sad that we have the same code in 4 places. Can you at least reduce that to 2?
Comment 4 Brent Fulgham 2015-04-27 11:38:11 PDT
Added tests to TestWebKITAPI while landing.
Comment 5 Brent Fulgham 2015-04-27 11:39:40 PDT
Committed r183403: <http://trac.webkit.org/changeset/183403>