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

Issue 2708023002: Web Share (desktop): DCHECK instead of user error for invalid URLs. (Closed)

Created:
3 years, 10 months ago by Matt Giuca
Modified:
3 years, 10 months ago
Reviewers:
Sam McNally
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web Share (desktop): DCHECK instead of user error for invalid URLs. We couldn't find any way to trigger this in practice (even though certain inputs to ShareServiceImpl can cause it). Also adds a new test for an invalid URL template. BUG=694380 Review-Url: https://codereview.chromium.org/2708023002 Cr-Commit-Position: refs/heads/master@{#451713} Committed: https://chromium.googlesource.com/chromium/src/+/f3a4c639191b2bd7b43581550b970e50d0f188d0

Patch Set 1 #

Patch Set 2 : DCHECK instead of failing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -5 lines) Patch
M chrome/browser/webshare/share_service_impl.cc View 1 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/webshare/share_service_impl_unittest.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (6 generated)
Matt Giuca
3 years, 10 months ago (2017-02-21 03:03:55 UTC) #2
Matt Giuca
PTAL; now does a DCHECK instead of failing is_valid. I'm still on the fence about ...
3 years, 10 months ago (2017-02-21 04:15:01 UTC) #5
Sam McNally
lgtm
3 years, 10 months ago (2017-02-21 06:44:24 UTC) #6
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/2708023002/20001
3 years, 10 months ago (2017-02-21 07:17:34 UTC) #8
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 08:09:47 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f3a4c639191b2bd7b43581550b97...

Powered by Google App Engine
This is Rietveld 408576698