| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Triggering message logging in case of failing CORS check</title> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| </script> |
| <style> |
| /* Cross-origin request is not OK because a "Access-Control-Allow-Origin:" header is not returned for the final resource. */ |
| #notok-shape-outside-allow-redirection-disallow-url { |
| float: left; |
| width: 200px; |
| height: 20px; |
| -webkit-shape-outside: url("http://localhost:8080/security/resources/redirect-allow-star.php?url=http%3A%2F%2Flocalhost%3A8080%2Fsecurity%2Fresources%2Fimage-access-control.php%3Ffile%3D..%2F..%2Fresources%2Fsquare100.png%26allow%3Dfalse"); |
| } |
| </style> |
| </head> |
| <body> |
| <p>Verify the error message in console in case of CORS failing checks.</p> |
| <div id="notok-shape-outside-allow-redirection-disallow-url"></div> |
| </body> |
| </html> |