| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-allowed.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-allowed.html
|
| index e37a963e1a1b99e824f7a92a0f223b1ef9d8f07d..c740defd8750948060d6e3558008aa37a0fcf634 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-allowed.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-handler-allowed.html
|
| @@ -16,7 +16,7 @@
|
| async_test(function (t) {
|
| window.expectFailure = t.unreached_func("Handler should not execute.");
|
| document.addEventListener('securitypolicyviolation', t.step_func_done(function (e) {
|
| - assert_equals(e.target, document);
|
| + assert_equals(e.target, document.querySelector('#fail'));
|
| }));
|
| window.addEventListener('load', t.step_func(function () {
|
| document.querySelector('#fail').click();
|
|
|