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

Issue 1220813013: This patch enables "mailto" links in WebViews. (Closed)

Created:
5 years, 5 months ago by paulmeyer
Modified:
5 years, 5 months ago
Reviewers:
kenrb, Nico, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This patch enables "mailto" links in WebViews. BUG=461329 Committed: https://crrev.com/f43bfadcc196352eeb871ee01b3f9e8317252da1 Cr-Commit-Position: refs/heads/master@{#339931}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comment. #

Total comments: 1

Patch Set 3 : Addressed comment. #

Patch Set 4 : Added test. #

Patch Set 5 : Rebased. #

Patch Set 6 : Adjusted test to work with ChromeOS. #

Patch Set 7 : Fixed test. Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
A chrome/test/data/extensions/platform_apps/web_view/shim/mailto.html View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 3 4 5 6 3 chunks +28 lines, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
paulmeyer
5 years, 5 months ago (2015-07-06 17:41:16 UTC) #2
lazyboy
https://chromiumcodereview.appspot.com/1220813013/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://chromiumcodereview.appspot.com/1220813013/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode533 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:533: !url.SchemeIs("mailto")) { use url::kMailToScheme https://chromiumcodereview.appspot.com/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://chromiumcodereview.appspot.com/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode818 ...
5 years, 5 months ago (2015-07-07 19:32:11 UTC) #4
paulmeyer
https://codereview.chromium.org/1220813013/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/1220813013/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode533 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:533: !url.SchemeIs("mailto")) { On 2015/07/07 19:32:11, lazyboy wrote: > use ...
5 years, 5 months ago (2015-07-08 17:20:16 UTC) #5
lazyboy
https://codereview.chromium.org/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode818 extensions/browser/guest_view/web_view/web_view_guest.cc:818: if (validated_url.SchemeIs("mailto")) On 2015/07/08 17:20:16, Paul Meyer wrote: > ...
5 years, 5 months ago (2015-07-10 19:46:50 UTC) #6
paulmeyer
https://codereview.chromium.org/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/1220813013/diff/20001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode818 extensions/browser/guest_view/web_view/web_view_guest.cc:818: if (validated_url.SchemeIs("mailto")) On 2015/07/10 19:46:50, lazyboy wrote: > On ...
5 years, 5 months ago (2015-07-13 19:47:14 UTC) #7
lazyboy
OK, lgtm https://codereview.chromium.org/1220813013/diff/40001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/1220813013/diff/40001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode814 extensions/browser/guest_view/web_view/web_view_guest.cc:814: if (validated_url.SchemeIs("mailto")) url::kMailToScheme
5 years, 5 months ago (2015-07-13 20:27:28 UTC) #8
paulmeyer
+thakis@ for OWNER review of chrome_resource_dispatcher_host_delegate.cc
5 years, 5 months ago (2015-07-13 21:23:21 UTC) #10
Nico
No test? This seems corner-casy enough that it's going to regress without anyone noticing if ...
5 years, 5 months ago (2015-07-13 21:25:51 UTC) #11
kenrb
lgtm for security. This isn't meaningfully different from mailto: being available on a non-guest page.
5 years, 5 months ago (2015-07-14 18:08:28 UTC) #13
paulmeyer
I've added a test. PTAL.
5 years, 5 months ago (2015-07-14 18:11:38 UTC) #14
Nico
lgtm
5 years, 5 months ago (2015-07-16 20:09:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220813013/80001
5 years, 5 months ago (2015-07-16 20:39:21 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/96736) android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 5 months ago (2015-07-16 20:46:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220813013/100001
5 years, 5 months ago (2015-07-17 13:43:13 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/79764)
5 years, 5 months ago (2015-07-17 15:01:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220813013/140001
5 years, 5 months ago (2015-07-22 14:21:22 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/83244)
5 years, 5 months ago (2015-07-22 15:54:52 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220813013/140001
5 years, 5 months ago (2015-07-22 19:12:04 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 5 months ago (2015-07-22 19:18:44 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-07-22 19:19:51 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f43bfadcc196352eeb871ee01b3f9e8317252da1
Cr-Commit-Position: refs/heads/master@{#339931}

Powered by Google App Engine
This is Rietveld 408576698