Bug 161309

Summary: Image Loader should use FetchOptions::mode according its crossOrigin attribute
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, cdumez, commit-queue, dbates, japhet, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description youenn fablet 2016-08-29 08:04:14 PDT
Currently, image loader is always using no-cors fetch mode.
If crossOrigin attribute is set, it should use cors fetch mode.

This has an impact for instance on redirections, which should be checked in cors fetch mode.
Comment 1 youenn fablet 2016-08-29 08:26:04 PDT
Created attachment 287267 [details]
Patch
Comment 2 WebKit Commit Bot 2016-08-29 12:09:49 PDT
Comment on attachment 287267 [details]
Patch

Clearing flags on attachment: 287267

Committed r205134: <http://trac.webkit.org/changeset/205134>
Comment 3 WebKit Commit Bot 2016-08-29 12:09:58 PDT
All reviewed patches have been landed.  Closing bug.