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

Issue 23717034: webview: Fix the code to disallow external protocol handlers. (Closed)

Created:
7 years, 3 months ago by sadrul
Modified:
7 years, 3 months ago
Reviewers:
jam
CC:
chromium-reviews, Fady Samuel
Visibility:
Public.

Description

webview: Fix the code to disallow external protocol handlers. RenderViewHost::FromID() should only be accessed in the UI thread. So use ExtensionRendererState::GetWebViewInfo() instead to determine if the render view is hosting a guest. BUG=230655 R=jam@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221724

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sadrul
7 years, 3 months ago (2013-09-06 15:00:59 UTC) #1
jam
lgtm, thanks
7 years, 3 months ago (2013-09-06 16:02:08 UTC) #2
sadrul
7 years, 3 months ago (2013-09-06 17:26:53 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r221724 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698