Revision c26bdad5f6e564f0a791c746c549493c6f9dae7a authored by andypaicu@chromium.org on 16 August 2017, 15:22:43 UTC, committed by Chromium WPT Sync on 16 August 2017, 15:22:43 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
Reviewed-on: https://chromium-review.googlesource.com/558917
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
WPT-Export-Revision: 31f217e45648ca2ab02d5c681cde6e48f0134852
1 parent 2a86707
History
File Mode Size
binary
closing-handshake
constructor
cookies
handlers
interfaces
keeping-connection-open
multi-globals
opening-handshake
security
unload-a-document
Close-1000-reason.htm -rw-r--r-- 1.4 KB
Close-1000.htm -rw-r--r-- 1.4 KB
Close-Reason-124Bytes.htm -rw-r--r-- 1.1 KB
Close-reason-unpaired-surrogates.htm -rw-r--r-- 1.4 KB
Close-undefined.htm -rw-r--r-- 725 bytes
Create-Secure-extensions-empty.htm -rw-r--r-- 1.4 KB
Create-Secure-url-with-space.htm -rw-r--r-- 766 bytes
Create-Secure-valid-url-array-protocols.htm -rw-r--r-- 1.4 KB
Create-Secure-valid-url-binaryType-blob.htm -rw-r--r-- 1.5 KB
Create-Secure-valid-url-protocol-setCorrectly.htm -rw-r--r-- 1.5 KB
Create-Secure-valid-url-protocol-string.htm -rw-r--r-- 1.3 KB
Create-Secure-valid-url.htm -rw-r--r-- 1.3 KB
Create-Secure-verify-url-set-non-default-port.htm -rw-r--r-- 857 bytes
Create-asciiSep-protocol-string.htm -rw-r--r-- 871 bytes
Create-blocked-port.htm -rw-r--r-- 3.1 KB
Create-invalid-urls.htm -rw-r--r-- 1.3 KB
Create-non-absolute-url.htm -rw-r--r-- 688 bytes
Create-nonAscii-protocol-string.htm -rw-r--r-- 865 bytes
Create-protocol-with-space.htm -rw-r--r-- 740 bytes
Create-protocols-repeated-case-insensitive.htm -rw-r--r-- 801 bytes
Create-protocols-repeated.htm -rw-r--r-- 747 bytes
Create-valid-url-array-protocols.htm -rw-r--r-- 1.4 KB
Create-valid-url-protocol-empty.htm -rw-r--r-- 796 bytes
Create-valid-url-protocol.htm -rw-r--r-- 1.4 KB
Create-valid-url.htm -rw-r--r-- 1.3 KB
Create-verify-url-set-non-default-port.htm -rw-r--r-- 835 bytes
Create-wrong-scheme.htm -rw-r--r-- 708 bytes
OWNERS -rw-r--r-- 46 bytes
README.md -rw-r--r-- 143 bytes
Secure-Close-1000-reason.htm -rw-r--r-- 1.5 KB
Secure-Close-1000-verify-code.htm -rw-r--r-- 1.5 KB
Secure-Close-1000.htm -rw-r--r-- 1.4 KB
Secure-Close-1005-verify-code.htm -rw-r--r-- 1.4 KB
Secure-Close-1005.htm -rw-r--r-- 971 bytes
Secure-Close-2999-reason.htm -rw-r--r-- 904 bytes
Secure-Close-3000-reason.htm -rw-r--r-- 1.5 KB
Secure-Close-3000-verify-code.htm -rw-r--r-- 1.4 KB
Secure-Close-4999-reason.htm -rw-r--r-- 1.5 KB
Secure-Close-Reason-124Bytes.htm -rw-r--r-- 1.1 KB
Secure-Close-Reason-Unpaired-surrogates.htm -rw-r--r-- 1.5 KB
Secure-Close-onlyReason.htm -rw-r--r-- 879 bytes
Secure-Close-readyState-Closed.htm -rw-r--r-- 1.4 KB
Secure-Close-readyState-Closing.htm -rw-r--r-- 975 bytes
Secure-Close-server-initiated-close.htm -rw-r--r-- 1.5 KB
Secure-Close-undefined.htm -rw-r--r-- 731 bytes
Secure-Send-65K-data.htm -rw-r--r-- 1.7 KB
Secure-Send-binary-65K-arraybuffer.htm -rw-r--r-- 1.8 KB
Secure-Send-binary-arraybuffer.htm -rw-r--r-- 1.8 KB
Secure-Send-binary-arraybufferview-float32.htm -rw-r--r-- 2.1 KB
Secure-Send-binary-arraybufferview-float64.htm -rw-r--r-- 2.1 KB
Secure-Send-binary-arraybufferview-int32.htm -rw-r--r-- 2.1 KB
Secure-Send-binary-arraybufferview-uint16-offset-length.htm -rw-r--r-- 2.2 KB
Secure-Send-binary-arraybufferview-uint32-offset.htm -rw-r--r-- 2.2 KB
Secure-Send-binary-arraybufferview-uint8-offset-length.htm -rw-r--r-- 2.2 KB
Secure-Send-binary-arraybufferview-uint8-offset.htm -rw-r--r-- 2.1 KB
Secure-Send-binary-blob.htm -rw-r--r-- 1.9 KB
Secure-Send-data.htm -rw-r--r-- 1.6 KB
Secure-Send-null.htm -rw-r--r-- 1.7 KB
Secure-Send-paired-surrogates.htm -rw-r--r-- 1.7 KB
Secure-Send-unicode-data.htm -rw-r--r-- 1.7 KB
Secure-Send-unpaired-surrogates.htm -rw-r--r-- 1.7 KB
Send-0byte-data.htm -rw-r--r-- 1.6 KB
Send-65K-data.htm -rw-r--r-- 1.7 KB
Send-Unpaired-Surrogates.htm -rw-r--r-- 1.6 KB
Send-before-open.htm -rw-r--r-- 765 bytes
Send-binary-65K-arraybuffer.htm -rw-r--r-- 1.8 KB
Send-binary-arraybuffer.htm -rw-r--r-- 1.8 KB
Send-binary-arraybufferview-int16-offset.htm -rw-r--r-- 2.2 KB
Send-binary-arraybufferview-int8.htm -rw-r--r-- 2.1 KB
Send-binary-blob.htm -rw-r--r-- 1.8 KB
Send-data.htm -rw-r--r-- 1.6 KB
Send-data.worker.js -rw-r--r-- 493 bytes
Send-null.htm -rw-r--r-- 1.7 KB
Send-paired-surrogates.htm -rw-r--r-- 1.7 KB
Send-unicode-data.htm -rw-r--r-- 1.6 KB
binaryType-wrong-value.htm -rw-r--r-- 1.4 KB
close-invalid.any.js -rw-r--r-- 577 bytes
constants.js -rw-r--r-- 359 bytes
constructor.html -rw-r--r-- 545 bytes
eventhandlers.html -rw-r--r-- 704 bytes
extended-payload-length.html -rw-r--r-- 2.3 KB
websocket.sub.js -rw-r--r-- 2.9 KB

README.md

back to top