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

Issue 2455373002: Add implicit trailing dot domain matching support to URLPattern. (Closed)

Created:
4 years, 1 month ago by sense (YandexTeam)
Modified:
4 years, 1 month ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add implicit trailing dot domain matching support to URLPattern. url_matcher::URLMatcher handles both trailing dot and non trailing dot domains as same. This CL enables same behaviour for URLPattern to be consistent across different components. BUG=606321 Committed: https://crrev.com/453ab88927c99dc1564b66aaa9003b870f886201 Cr-Commit-Position: refs/heads/master@{#429867}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use StringPiece to speedup MatchesHost. #

Total comments: 7

Patch Set 3 : Optimize host matching by using StringPiece directly. #

Patch Set 4 : Add a comment with additional links to an external spec, cleanup test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -6 lines) Patch
M extensions/common/url_pattern.cc View 1 2 3 chunks +16 lines, -6 lines 0 comments Download
M extensions/common/url_pattern_unittest.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M extensions/common/user_script_unittest.cc View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
sense (YandexTeam)
4 years, 1 month ago (2016-10-28 10:46:18 UTC) #3
Devlin
Overall, looks pretty good, thanks for the patch! https://codereview.chromium.org/2455373002/diff/1/extensions/common/url_pattern.cc File extensions/common/url_pattern.cc (right): https://codereview.chromium.org/2455373002/diff/1/extensions/common/url_pattern.cc#newcode412 extensions/common/url_pattern.cc:412: const ...
4 years, 1 month ago (2016-10-28 19:17:27 UTC) #4
sense (YandexTeam)
On 2016/10/28 19:17:27, Devlin wrote: > Overall, looks pretty good, thanks for the patch! > ...
4 years, 1 month ago (2016-10-31 10:43:17 UTC) #5
Devlin
Nice! Thanks for the StringPiece change. Just a few last nits. https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern.cc File extensions/common/url_pattern.cc (right): ...
4 years, 1 month ago (2016-10-31 16:13:17 UTC) #6
Devlin
https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern.cc File extensions/common/url_pattern.cc (right): https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern.cc#newcode417 extensions/common/url_pattern.cc:417: const std::string& test_host_str = test.host(); On 2016/10/31 16:13:17, Devlin ...
4 years, 1 month ago (2016-10-31 16:58:48 UTC) #7
sense (YandexTeam)
On 2016/10/31 16:58:48, Devlin wrote: > https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern.cc > File extensions/common/url_pattern.cc (right): > > https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern.cc#newcode417 > ...
4 years, 1 month ago (2016-11-01 04:32:39 UTC) #8
Devlin
Looks like you missed a couple of comments from the last patch set. :) https://codereview.chromium.org/2455373002/diff/20001/extensions/common/url_pattern_unittest.cc ...
4 years, 1 month ago (2016-11-01 14:52:14 UTC) #9
sense (YandexTeam)
On 2016/11/01 14:52:14, Devlin wrote: > Looks like you missed a couple of comments from ...
4 years, 1 month ago (2016-11-02 04:57:50 UTC) #10
Devlin
lgtm; thanks for the great patch!
4 years, 1 month ago (2016-11-02 15:53:24 UTC) #11
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/2455373002/60001
4 years, 1 month ago (2016-11-03 04:33:30 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-03 06:34:00 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/2455373002/60001
4 years, 1 month ago (2016-11-03 06:50:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-03 08:51:06 UTC) #19
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/2455373002/60001
4 years, 1 month ago (2016-11-04 11:55:32 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-04 12:51:56 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 12:54:08 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/453ab88927c99dc1564b66aaa9003b870f886201
Cr-Commit-Position: refs/heads/master@{#429867}

Powered by Google App Engine
This is Rietveld 408576698