Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for adding this! A couple comments in-line.
CheckCounter(WebFeature::kLocalNetworkAccessWebSocketResourceNotKnownPrivate,
0);
Can we add a test that covers this use counter being emitted?
if (!network::IsUrlPotentiallyTrustworthy(request_url) &&
!request_url.HostIsIPAddress() && !request_url.DomainIs("local")) {
Would it be possible to include the IsLessPublicAddressSpace() check to restrict this to only cases that would count as LNA, to make this a slightly tighter upper bound? (i.e., not counting local->local)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
CheckCounter(WebFeature::kLocalNetworkAccessWebSocketResourceNotKnownPrivate,
0);
Can we add a test that covers this use counter being emitted?
oops, thought I had. done.
if (!network::IsUrlPotentiallyTrustworthy(request_url) &&
!request_url.HostIsIPAddress() && !request_url.DomainIs("local")) {
Would it be possible to include the IsLessPublicAddressSpace() check to restrict this to only cases that would count as LNA, to make this a slightly tighter upper bound? (i.e., not counting local->local)
The `IsLessPublicAddressSpace check` is already done above (line 2521), as part of the check for the `blink::mojom::WebFeature::kPrivateNetworkAccessWebSocketConnected` counter incrementing
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
if (!network::IsUrlPotentiallyTrustworthy(request_url) &&
!request_url.HostIsIPAddress() && !request_url.DomainIs("local")) {
Hubert ChaoWould it be possible to include the IsLessPublicAddressSpace() check to restrict this to only cases that would count as LNA, to make this a slightly tighter upper bound? (i.e., not counting local->local)
The `IsLessPublicAddressSpace check` is already done above (line 2521), as part of the check for the `blink::mojom::WebFeature::kPrivateNetworkAccessWebSocketConnected` counter incrementing
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ricea@: services/network/*
clamy@: content/browser/*, url_loader_network_service_observer.mojom, chrome/browser/chrome_web_platform_security_metrics_browsertest.cc
joedow@: remoting/base/*
timloh@ chrome/browser/ash/bruschetta/*
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Code-Review | +1 |
lgtm
// a mixed content bypass situation. This is similiar to the check below in
Please fix this WARNING reported by Spellchecker: "similiar" is a possible misspelling of "similar".
To bypass Spellchecker, add ...
"similiar" is a possible misspelling of "similar".
To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// a mixed content bypass situation. This is similiar to the check below in
Please fix this WARNING reported by Spellchecker: "similiar" is a possible misspelling of "similar".
To bypass Spellchecker, add ...
"similiar" is a possible misspelling of "similar".
To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
6 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: tools/metrics/histograms/metadata/blink/enums.xml
Insertions: 2, Deletions: 1.
The diff is too large to show. Please review the diff.
```
```
The name of the file: content/browser/storage_partition_impl.cc
Insertions: 1, Deletions: 1.
The diff is too large to show. Please review the diff.
```
```
The name of the file: third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
Insertions: 2, Deletions: 1.
The diff is too large to show. Please review the diff.
```
[LNA] add use counter for websocket mixed-content issues
Add a use counter that will measure possible breakages where a site
attempts to connect to a ws:// address but we cannot infer from the URL
that this is possibly a LNA request (which means that the request will
be blocked by mixed content checks).
This will allow us to have numbers to see if we need to introduce a
targetAddressSpace like option (which we have in fetch()).
This is similar to crrev.com/c/6259197 which added a similar for LNA
subresource/subframe loading.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |