| Index: LayoutTests/http/tests/security/referrer-policy-attribute-no-policy.html
|
| diff --git a/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html b/LayoutTests/http/tests/security/referrer-policy-attribute-no-policy.html
|
| similarity index 63%
|
| rename from LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html
|
| rename to LayoutTests/http/tests/security/referrer-policy-attribute-no-policy.html
|
| index 0697d25d2b4c606d734ba547a0e489f52d4e6eae..0f916d0102da72d72626776a638030701a7a9522 100644
|
| --- a/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html
|
| +++ b/LayoutTests/http/tests/security/referrer-policy-attribute-no-policy.html
|
| @@ -9,9 +9,15 @@
|
| var anch = document.createElement("a");
|
| anch.href = "http://localhost:8000/security/resources/referrer-attr-anchor-target.html#no-policy";
|
| document.body.appendChild(anch);
|
| +
|
| + var img = document.createElement("img");
|
| + img.src = "http://localhost:8000/security/resources/compass.jpg";
|
| + document.body.appendChild(img);
|
| +
|
| test(function () {
|
| assert_equals(anch.referrerpolicy, "");
|
| - }, "Dynamically created anchor has empty referrerpolicy");
|
| + assert_equals(img.referrerpolicy, "");
|
| + }, "Dynamically created elements have empty referrerpolicy");
|
| anch.click();
|
| </script>
|
| </body>
|
|
|