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

Issue 10476003: Revert 137184 - DragEnter grants both read and navigate permissions to files. (Closed)

Created:
8 years, 6 months ago by Tom Sepez
Modified:
8 years, 6 months ago
Reviewers:
Tom Sepez
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Revert 137184 - DragEnter grants both read and navigate permissions to files. Calling ChildProcessSecurityPolicy::GrantReadFile() ought to be sufficient for the renderer to process files dragged into it. Giving the GrantRequestURL() permission is excessive. TBR=abarth@chromium.org BUG=127525 Review URL: https://chromiumcodereview.appspot.com/10397002 TBR=tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140074

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -19 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 2 chunks +4 lines, -18 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Tom Sepez
8 years, 6 months ago (2012-06-01 19:05:38 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698