Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 7abdedd66b1459fda7be7b22025ce4165ce7c553..1d791939ec10a0f3233057dc86d13c7589289a0f 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -14581,6 +14581,13 @@ other types of suffix sets. |
<summary>The outcome of Entry::WriteData in the simple cache.</summary> |
</histogram> |
+<histogram name="SiteIsolation.AllResponses"> |
+ <summary> |
+ The count of all network responses received by a renderer. Each response is |
+ corresponding to one URL requested by a renderer. |
Alexei Svitkine (slow)
2013/08/27 13:59:59
Here and below:
Please mention how this is sample
dsjang
2013/08/27 20:02:53
Done.
|
+ </summary> |
+</histogram> |
+ |
<histogram name="SiteIsolation.BrowsingInstanceCount"> |
<summary> |
The count of all current BrowsingInstances. Recorded once per UMA ping. |
@@ -14653,6 +14660,287 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="SiteIsolation.XSD.DataLength"> |
Alexei Svitkine (slow)
2013/08/27 13:59:59
Add unit="bytes" here.
dsjang
2013/08/27 20:02:53
Done.
|
+ <summary> |
+ The number of bytes in the first network packet for a response with headers |
+ that imply potential illegal cross-site access. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having HTML |
+ content type header and contents sniffed as HTML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked.NonRenderableStatusCode"> |
Alexei Svitkine (slow)
2013/08/27 13:59:59
Please consider using a <fieldtrial> tag to permut
dsjang
2013/08/27 20:02:53
I tried to use fieldtrials, but the current naming
|
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to their HTML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.) among blocked |
+ cross-site document responses due to their HTML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to having HTML content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to having HTML content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NotBlocked"> |
+ <summary> |
+ The count of not blocked responses despite having an HTML content type |
+ header due to the failure of content sniffing. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NotBlocked.MaybeJS"> |
+ <summary> |
+ The count of responses that may be parsed as JavaScript among not blocked |
+ responses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having JSON |
+ content type header and contents sniffed as JSON. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to their JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to their JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to having JSON content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to having JSON content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.NotBlocked"> |
+ <summary> |
+ The count of not blocked responses despite having an JSON content type |
+ header due to the failure of content sniffing. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.NotBlocked.MaybeJS"> |
+ <summary> |
+ The count of responses that may be parsed as JavaScript among not blocked |
+ responses with a JSON content type header. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.MimeType" enum="SiteIsolationMimeType"> |
+ <summary> |
+ MIME type codes for content type header values of potentially cross-site |
+ document responses, excluding same-site or not http(s) urls. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having Plain |
+ content type header and contents sniffed as HTML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to their Plain.HTML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to their Plain.HTML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having Plain |
+ content type header and contents sniffed as JSON. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to their Plain.JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to their Plain.JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram |
+ name="SiteIsolation.XSD.Plain.NoSniffBlocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to having Plain content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.NoSniffBlocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to having Plain content type and nosniff |
+ header. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.NotBlocked"> |
+ <summary> |
+ The count of not blocked responses despite having an Plain content type |
+ header due to the failure of content sniffing. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.NotBlocked.MaybeJS"> |
+ <summary> |
+ The count of responses that may be parsed as JavaScript among not blocked |
+ responses with a Plain content type header. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having Plain |
+ content type header and contents sniffed as XML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to their Plain.XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with renderable HTTP status codes sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to their Plain.XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked"> |
+ <summary> |
+ The count of blocked cross-site document responses due to having XML content |
+ type header and contents sniffed as XML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with nonrenderable HTTP status codes among blocked |
+ cross-site document responses due to their XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with renderable HTTP status codes sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to their XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ cross-site document responses due to having XML content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.RenderableStatusCode" |
+ enum="SiteIsolationResourceType"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code sub-categorized by |
+ their requesting context type (e.g., image, script, etc.), among blocked |
+ cross-site document responses due to having XML content type and nosniff |
+ headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NotBlocked"> |
+ <summary> |
+ The count of not blocked responses despite having an XML content type header |
+ due to the failure of content sniffing. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NotBlocked.MaybeJS"> |
+ <summary> |
+ The count of responses that may be parsed as JavaScript among not blocked |
+ responses with an XML content type. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode"> |
<summary>Error codes returned by sqlite for the appcache db.</summary> |
</histogram> |
@@ -22577,6 +22865,32 @@ other types of suffix sets. |
<int value="3" label="Fresh index with cache updated since backend start"/> |
</enum> |
+<enum name="SiteIsolationMimeType" type="int"> |
+ <int value="0" label="HTML"/> |
+ <int value="1" label="XML"/> |
+ <int value="2" label="JSON"/> |
+ <int value="3" label="Plain"/> |
+ <int value="4" label="Others"/> |
+</enum> |
+ |
+<enum name="SiteIsolationResourceType" type="int"> |
+ <int value="0" label="MAIN_FRAME"/> |
+ <int value="1" label="SUB_FRAME"/> |
+ <int value="2" label="STYLESHEET"/> |
+ <int value="3" label="SCRIPT"/> |
+ <int value="4" label="IMAGE"/> |
+ <int value="5" label="FONT_RESOURCE"/> |
+ <int value="6" label="SUB_RESOURCE"/> |
+ <int value="7" label="OBJECT"/> |
+ <int value="8" label="MEDIA"/> |
+ <int value="9" label="WORKER"/> |
+ <int value="10" label="SHARED_WORKER"/> |
+ <int value="11" label="PREFETCH"/> |
+ <int value="12" label="FAVICON"/> |
+ <int value="13" label="XHR"/> |
+ <int value="14" label="LAST_TYPE"/> |
+</enum> |
+ |
<enum name="SocketStreamConnectionType" type="int"> |
<int value="0" label="none"/> |
<int value="1" label="all connections"/> |