Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Issue 2906723002: Track how often we would attempt to resolve non-'compliant' domain names. (Closed)

Created:
3 years, 7 months ago by palmer
Modified:
3 years, 6 months ago
CC:
asvitkine+watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Track how often we would attempt to resolve non-'compliant' domain names. We have 2 hostname goodness predicates: checking that `net::IsValidHostLabelCharacter` returns true for all characters in all labels, and `net::IsCanonicalizedHostCompliant`. The latter is more strict than the former, in that it imposes an additional constraint on the final label: it can only begin with an alphanumeric character. Add a counter to see how often hostnames would pass the former check but fail the latter, stricter check. This will help us decide which predicate to finalize on. BUG=695474 Review-Url: https://codereview.chromium.org/2906723002 Cr-Commit-Position: refs/heads/master@{#476122} Committed: https://chromium.googlesource.com/chromium/src/+/64af80e692404a380476b4b7edb27392eae75014

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix description of histogram. #

Total comments: 2

Patch Set 3 : Respond to comments. #

Total comments: 2

Patch Set 4 : Respond to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M net/dns/dns_util.cc View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
palmer
rsleevi: For net mpearson: For histograms.xml pkasting: FYI
3 years, 7 months ago (2017-05-25 19:06:53 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/2906723002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/1/tools/metrics/histograms/histograms.xml#newcode40036 tools/metrics/histograms/histograms.xml:40036: + returns true. Used to see if we ...
3 years, 7 months ago (2017-05-25 20:03:30 UTC) #5
palmer
https://codereview.chromium.org/2906723002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/1/tools/metrics/histograms/histograms.xml#newcode40036 tools/metrics/histograms/histograms.xml:40036: + returns true. Used to see if we can ...
3 years, 7 months ago (2017-05-25 20:41:41 UTC) #6
Ryan Sleevi
lgtm
3 years, 7 months ago (2017-05-26 11:34:30 UTC) #7
Mark P
https://codereview.chromium.org/2906723002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/20001/tools/metrics/histograms/histograms.xml#newcode40035 tools/metrics/histograms/histograms.xml:40035: + True if Net.ValidDNSName is true and if |net::IsCanonicalizedHostCompliant| ...
3 years, 7 months ago (2017-05-26 17:27:03 UTC) #8
Mark P
And, side-comment: I recently reviewed an authentication histogram that records invalid machine names in that ...
3 years, 7 months ago (2017-05-26 17:28:25 UTC) #9
palmer
https://codereview.chromium.org/2906723002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/20001/tools/metrics/histograms/histograms.xml#newcode40035 tools/metrics/histograms/histograms.xml:40035: + True if Net.ValidDNSName is true and if |net::IsCanonicalizedHostCompliant| ...
3 years, 6 months ago (2017-05-31 20:46:23 UTC) #10
palmer
> I recently reviewed an authentication histogram that records invalid machine names in that context. ...
3 years, 6 months ago (2017-05-31 20:46:40 UTC) #11
Mark P
lgtm modulo comment --mark https://codereview.chromium.org/2906723002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/40001/tools/metrics/histograms/histograms.xml#newcode35394 tools/metrics/histograms/histograms.xml:35394: + True if Net.ValidDNSName is ...
3 years, 6 months ago (2017-05-31 23:08:12 UTC) #14
palmer
https://codereview.chromium.org/2906723002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2906723002/diff/40001/tools/metrics/histograms/histograms.xml#newcode35394 tools/metrics/histograms/histograms.xml:35394: + True if Net.ValidDNSName is true and if |net::IsCanonicalizedHostCompliant| ...
3 years, 6 months ago (2017-05-31 23:36:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906723002/60001
3 years, 6 months ago (2017-05-31 23:38:36 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 01:10:36 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/64af80e692404a380476b4b7edb2...

Powered by Google App Engine
This is Rietveld 408576698