angler-fishThe Vulnerability History Project

Add counters for various ways of loading scripts with bad mimetypes

      Unchecked use of proxies could enable cross-origin reading of some CSV
files which contain sensitive non-numerical information. Tightening
down mimetype checking could provide a mitigating strategy. This patch
adds UseCounters to see how often scripts are used with different
mimetypes to determine what could be prohibited.

BUG=chromium:399951
R=adamk

Review URL: https://codereview.chromium.org/1413193010

Cr-Commit-Position: refs/heads/master@{#364013}
    
commit 6f9d55e0e902b20bcb8a38be6721f498a2a973ab
-17
-93
-5
+9 -27
+1 -2
-6
expand_less