chromium/third_party/blink/web_tests/http/tests/security/referrer-policy-attribute-img-removeattr.html

<!DOCTYPE html>
<html>
<head>
</head>
<body>
    <img src="http://127.0.0.1:8000/security/resources/green-if-referrer-is-origin.php"
		 referrerpolicy="origin" id="image" />
    <script>
	   // Remove the image's referrerpolicy attribute and set a new
	   // src to send a new request.
	   var img = document.getElementById("image");
	   img.removeAttribute("referrerpolicy");
	   img.src = "http://127.0.0.1:8000/security/resources/green-if-no-referrer.php";
	   // The expected result is a red square because a referrer will be
	   // sent according to the default referrerpolicy.
    </script>
</body>
</html