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

Issue 135633002: Don't populate URL data in WebDropData when dragging files. (Closed)

Created:
6 years, 11 months ago by dcheng
Modified:
6 years, 11 months ago
Reviewers:
sky, scottmg
CC:
chromium-reviews, jam, tfarina, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su, Elliot Glaysher
Visibility:
Public.

Description

Don't populate URL data in WebDropData when dragging files. This is considered a potential security issue as well, since it leaks filesystem paths. BUG=332579 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244538

Patch Set 1 #

Patch Set 2 : Fix various dumb compile errors #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Fix Blink style enums #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -29 lines) Patch
M chrome/browser/bookmarks/bookmark_node_data_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_node_data_views.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_root_view.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/toolbar/home_button.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data.h View 1 2 3 3 chunks +10 lines, -2 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_win_unittest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dcheng
I'm pretty sure that this is what's causing the extra entry to show up.
6 years, 11 months ago (2014-01-11 19:08:16 UTC) #1
dcheng
(Hit send too early. The caveat is I haven't actually tested the patch to make ...
6 years, 11 months ago (2014-01-11 19:08:44 UTC) #2
scottmg
On 2014/01/11 19:08:44, dcheng wrote: > (Hit send too early. The caveat is I haven't ...
6 years, 11 months ago (2014-01-11 23:12:38 UTC) #3
dcheng
On 2014/01/11 23:12:38, scottmg wrote: > On 2014/01/11 19:08:44, dcheng wrote: > > (Hit send ...
6 years, 11 months ago (2014-01-12 23:52:05 UTC) #4
scottmg
Thanks for looking into this Daniel. I'm not a qualified reviewer (or OWNER), so adding ...
6 years, 11 months ago (2014-01-13 04:04:03 UTC) #5
sky
https://codereview.chromium.org/135633002/diff/120001/ui/base/dragdrop/os_exchange_data.h File ui/base/dragdrop/os_exchange_data.h (right): https://codereview.chromium.org/135633002/diff/120001/ui/base/dragdrop/os_exchange_data.h#newcode72 ui/base/dragdrop/os_exchange_data.h:72: ConvertFilenames, Style guide says enum values should be ALL_CAPS ...
6 years, 11 months ago (2014-01-13 15:13:45 UTC) #6
dcheng
https://codereview.chromium.org/135633002/diff/120001/ui/base/dragdrop/os_exchange_data.h File ui/base/dragdrop/os_exchange_data.h (right): https://codereview.chromium.org/135633002/diff/120001/ui/base/dragdrop/os_exchange_data.h#newcode72 ui/base/dragdrop/os_exchange_data.h:72: ConvertFilenames, On 2014/01/13 15:13:45, sky wrote: > Style guide ...
6 years, 11 months ago (2014-01-13 15:49:26 UTC) #7
sky
LGTM
6 years, 11 months ago (2014-01-13 16:22:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/135633002/240001
6 years, 11 months ago (2014-01-13 16:28:17 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-13 18:22:25 UTC) #10
Message was sent while issue was closed.
Change committed as 244538

Powered by Google App Engine
This is Rietveld 408576698