Revision 3fee9e181e7c97c517c0b36b6387c04e74a02181 authored by Andy Paicu on 02 October 2018, 04:21:46 UTC, committed by wpt-autoroller on 02 October 2018, 04:21:46 UTC
Modified resource fetching to allow piping back to the ResourceClient a
struct needed for firing the securityviolationevent. This allows us
to specify the targeted element as well in the event.

CSP violation events have overly vague srcElement and path when being
triggered for an element that requires a fetch because the element is not
being passed down to where the csp check takes place and the report is
fired.

Bug: 737647
Change-Id: I944ea2ea69447c612c01b9e6f723f110fa28a1f5
1 parent 67152fd
History
File Mode Size
resources
META.yml -rw-r--r-- 89 bytes
cross_origin.html -rw-r--r-- 1.4 KB
idlharness.any.js -rw-r--r-- 690 bytes
navigation_timing_idl.html -rw-r--r-- 514 bytes
navigation_timing_idl.https.html -rw-r--r-- 514 bytes
resource_timing_idl.html -rw-r--r-- 510 bytes
resource_timing_idl.https.html -rw-r--r-- 510 bytes
server_timing_header-parsing.html -rw-r--r-- 2.1 KB
server_timing_header-parsing.https.html -rw-r--r-- 2.1 KB
service_worker_idl.https.html -rw-r--r-- 561 bytes
sw.js -rw-r--r-- 585 bytes
test_server_timing.html -rw-r--r-- 1.6 KB
test_server_timing.html.sub.headers -rw-r--r-- 80 bytes
test_server_timing.https.html -rw-r--r-- 1.6 KB
test_server_timing.https.html.sub.headers -rw-r--r-- 80 bytes

back to top