Index: LayoutTests/http/tests/security/cross-origin-css.html |
diff --git a/LayoutTests/http/tests/security/cross-origin-css.html b/LayoutTests/http/tests/security/cross-origin-css.html |
index 223b3907df968e24e725e08278d8e1460dad6336..3f35232e9a3a6f418ab70fd469eb6f3d0185747a 100644 |
--- a/LayoutTests/http/tests/security/cross-origin-css.html |
+++ b/LayoutTests/http/tests/security/cross-origin-css.html |
@@ -41,7 +41,13 @@ window.onload = function() { |
@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss4.html"; |
@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss2.css"; |
@import "resources/xorigincss5.html"; |
+ |
+/* Check that data: is still allowed for non-CORS cross-origin image fetches. */ |
+#data-background-url { |
+ content: "PASS (image loaded)"; |
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='0px' height='0px'></svg>"); |
+} |
</style> |
</head> |
-<body><div id="id1" class="id1"></div><div id="id2" class="id2"></div><div id="id3" class="id3"></div><div id="id4" class="id4"></div><div id="id5" class="id5"></div><div id="id6" class="id6"></div><div id="id7" class="id7"></div></body> |
+<body><div id="id1" class="id1"></div><div id="id2" class="id2"></div><div id="id3" class="id3"></div><div id="id4" class="id4"></div><div id="id5" class="id5"></div><div id="id6" class="id6"></div><div id="id7" class="id7"></div><div id="data-background-url">PASS background image loaded</div></body> |
</html> |