Skip to content

Should the list of available images key on referrer policy too? #5541

@domfarolino

Description

@domfarolino

Right now the list of available images keys on the tuple (url, CORS settings attribute, maybe(Origin)). I think since referrerpolicy has been added to the list of relevant mutations (#5434), that the list of available images should also key on it.

We're accidentally already testing this as well, in an img lazyload test. https://github.com/web-platform-tests/wpt/blob/master/html/semantics/embedded-content/the-img-element/image-loading-lazy-referrerpolicy-change.sub.html shows that we're asserting that a deferred image is fetched with the correct referrer policy when its load is resumed, as opposed to being pulled from the list of available images / memory cache.

@annevk @zcorpan WDYT? If this seems reasonable I'll make a PR

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions