| <!DOCTYPE html> |
| <html> |
| <body> |
| <script> |
| function log(message) |
| { |
| document.getElementById("log").innerHTML = message; |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| |
| if (window.testRunner) { |
| testRunner.waitUntilDone(); |
| testRunner.dumpAsText(); |
| } |
| </script> |
| <html> |
| <p>This test tries to load a CSS link data URL with CORS activated.</p> |
| <link href="data:text/css,.picture%20%7B%20background%3A%20none%3B%20%7D" crossOrigin="anonymous" rel="stylesheet" onload="log('PASS')" onerror="log('FAIL')"> |
| <p> |
| <p id="log"></p> |
| </html> |