Skip to content

fr(material/icon): Support fetching icons with credentials #18871

Description

@jchv

Feature Description

Right now it seems when you call addSvgIcon, the fetch is done without credentials. This is usually what you want, but unfortunately for cross-domain requests, it can also lead to a client cert being omitted in an environment where client certificates are required. In some cases, Chrome will send the client certificate anyways, but Firefox will not. See whatwg/fetch#869 and the Chromium issue for background.

Use Case

This would allow SVG icons to be fetched cross-domain in environments where security credentials are required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions