| <!DOCTYPE html> |
| <script> |
| function done() |
| { |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| </script> |
| <style> |
| @font-face { |
| font-family: 'Test Font'; |
| src: url("http://127.0.0.1:8080/security/resources/normal-font-if-no-referrer.php") format('woff2'); |
| } |
| |
| body { |
| font-family: 'Test Font'; |
| } |
| </style> |
| <meta name="referrer" content="origin"> |
| <body onload="done();"> |
| <p> |
| Checks that a font face that was created before a referrer policy was set is |
| loaded with the correct referrer, in this case, without a referrer. |
| </p> |
| <p> |
| The test passes, a normal font will be loaded. |
| </p> |
| </body> |