gecko-dev/layout/reftests/svg/mask-resource-ref.html
Emilio Cobos Álvarez 56df9575bc Bug 1499000 - Don't do CORS checks on CSS images with the resource:// scheme. r=bzbarsky
CORS only works on http channels, so anything else that tries to do a
CORS-enabled request fails catastrophically.

resource:// images are useful for extension developers, so don't perform CORS
checks on them. We may want to also do file:// and fix bug 1565509, while at it,
if we consider it's causing developer pain.

Differential Revision: https://phabricator.services.mozilla.com/D40651

--HG--
extra : moz-landing-system : lando
2019-08-09 18:09:55 +00:00

12 lines
232 B
HTML

<!doctype html>
<style>
div {
width: 100px;
height: 100px;
background-image: url(resource://usercontext-content/fingerprint.svg);
background-size: 100px 100px;
background-color: white;
}
</style>
<div></div>