Bug 161309 - Image Loader should use FetchOptions::mode according its crossOrigin attribute
Summary: Image Loader should use FetchOptions::mode according its crossOrigin attribute
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-29 08:04 PDT by youenn fablet
Modified: 2016-08-29 12:09 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.39 KB, patch)
2016-08-29 08:26 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.