Skip to content

Add crossOrigin property to <img> tag used for decoding #160819

@putnokiabel

Description

@putnokiabel

Issue Link

#160127

Target

stable

Cherry pick PR Link

flutter/engine#57228

Changelog Description

Images with CORS headers could not be loaded on CanvasKit webapps

Impacted Users

End-customers of Flutter web-apps using CanvasKit and images with CORS headers

Impact Description

The UI of webapps compiled to CanvasKit, containing images with CORS headers would not build correctly.

Workaround

Compiling using an older version of Flutter.

Risk

low

Test Coverage

yes

Validation Steps

No response

Metadata

Metadata

Labels

cp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions