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

Issue 16464004: Turn disallowed URL patterns such as <all_urls> for externally_connectable into (Closed)

Created:
7 years, 6 months ago by not at google - send to devlin
Modified:
7 years, 6 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Turn disallowed URL patterns such as <all_urls> for externally_connectable into warnings not errors. This is for forward compatibility, if we ever lift the no-eTLD-wildcard restriction. Malformed URLs remain errors. BUG=55316 R=yoz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205514

Patch Set 1 #

Patch Set 2 : type #

Total comments: 2

Patch Set 3 : test that warnings also imply failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -74 lines) Patch
M chrome/common/extensions/manifest_handlers/externally_connectable.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/externally_connectable.cc View 4 chunks +18 lines, -9 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc View 1 2 2 chunks +72 lines, -53 lines 0 comments Download
M extensions/common/install_warning.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_set.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/common/url_pattern_set.cc View 1 2 2 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
not at google - send to devlin
7 years, 6 months ago (2013-06-10 23:07:35 UTC) #1
Yoyo Zhou
LGTM https://codereview.chromium.org/16464004/diff/5001/chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc File chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc (right): https://codereview.chromium.org/16464004/diff/5001/chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc#newcode221 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc:221: EXPECT_TYPE_WARNING); Does this test that the wildcard host ...
7 years, 6 months ago (2013-06-10 23:51:06 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/16464004/diff/5001/chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc File chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc (right): https://codereview.chromium.org/16464004/diff/5001/chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc#newcode221 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc:221: EXPECT_TYPE_WARNING); On 2013/06/10 23:51:06, Yoyo Zhou wrote: > Does ...
7 years, 6 months ago (2013-06-11 01:55:23 UTC) #3
not at google - send to devlin
I'm leaving now so complain if you don't like it :)
7 years, 6 months ago (2013-06-11 02:02:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/16464004/17001
7 years, 6 months ago (2013-06-11 02:02:45 UTC) #5
commit-bot: I haz the power
7 years, 6 months ago (2013-06-11 12:50:56 UTC) #6
Message was sent while issue was closed.
Change committed as 205514

Powered by Google App Engine
This is Rietveld 408576698