Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-blocked.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-blocked.html |
index b5e21d1214b2bffe64b734f7a5d155756fe7f887..56f4cd618c6497be1851aa5fd92889dd00f1fc46 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-blocked.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-blocked.html |
@@ -10,7 +10,7 @@ |
document.querySelector('#pass').click(); |
})); |
document.addEventListener('securitypolicyviolation', t.step_func_done(function (e) { |
- assert_equals(e.target, document); |
+ assert_equals(e.target, document.querySelector('#pass')); |
})); |
}, 'Inline event handlers whitelisted by the policy should not fire, as \'unsafe-hash-attributes\' is not present.'); |
</script> |