url-image-referrer-policy-cross-origin.sub.html (786B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Request URL Modifiers: referrer-policy(unsafe-url)</title> 5 <link rel="help" href="https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrer-policy-modifier"> 6 <link rel="author" title="Sam Weinig" href="mailto:weinig@webkit.org"> 7 <link rel="match" href="../../url-image-ref.html"> 8 <meta name="assert" content="A cross origin url with the request URL modifier referrer-policy(unsafe-url) sends the appropriate referrer header."> 9 <script src="../../support/image-referrer-policy.sub.js"></script> 10 <script> 11 test_image_referrer_policy({ load_type:`cross-origin`, referrer_policy:`unsafe-url`, expected_referrer:`url`}); 12 </script> 13 </head> 14 <body> 15 <p>Test passes if there is a green square.</p> 16 <div class="test"></div> 17 </body> 18 </html>