mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
56df9575bc
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
12 lines
232 B
HTML
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>
|