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

Issue 9762002: Disable downloads from "file:" or "data:" URLs. (Closed)

Created:
8 years, 9 months ago by Randy Smith (Not in Mondays)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Disable downloads from "file:" or "data:" URLs. BUG=119129 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128744

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed breaking tests. #

Total comments: 1

Patch Set 3 : Merge to TOT. #

Patch Set 4 : Changed test to make sure to run message loop while pinging IO thread. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -15 lines) Patch
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 chunks +74 lines, -0 lines 0 comments Download
M chrome/test/data/download-anchor-attrib.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/downloads/test.js View 1 1 chunk +6 lines, -14 lines 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Randy Smith (Not in Mondays)
Andy, could you give this a look?
8 years, 9 months ago (2012-03-20 19:12:51 UTC) #1
ahendrickson
https://chromiumcodereview.appspot.com/9762002/diff/1/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): https://chromiumcodereview.appspot.com/9762002/diff/1/chrome/browser/download/download_browsertest.cc#newcode2490 chrome/browser/download/download_browsertest.cc:2490: for (size_t i = 0; i < arraysize(urls); i++) ...
8 years, 9 months ago (2012-03-20 19:56:35 UTC) #2
ahendrickson
I withdraw the question about when CallStartedCB is called. LGTM.
8 years, 9 months ago (2012-03-21 19:47:45 UTC) #3
Randy Smith (Not in Mondays)
http://codereview.chromium.org/9762002/diff/1/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9762002/diff/1/chrome/browser/download/download_browsertest.cc#newcode2490 chrome/browser/download/download_browsertest.cc:2490: for (size_t i = 0; i < arraysize(urls); i++) ...
8 years, 9 months ago (2012-03-21 19:48:36 UTC) #4
Randy Smith (Not in Mondays)
Ben, could you take a look at test.js? Sadrul, could you take a look at ...
8 years, 9 months ago (2012-03-21 20:55:24 UTC) #5
Randy Smith (Not in Mondays)
Sorry, repeating with reviewers actually added to the reviewers line :-}: Ben, could you take ...
8 years, 9 months ago (2012-03-21 20:56:19 UTC) #6
sadrul
LGTM
8 years, 9 months ago (2012-03-21 21:06:13 UTC) #7
benjhayden
LGTM https://chromiumcodereview.appspot.com/9762002/diff/11001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): https://chromiumcodereview.appspot.com/9762002/diff/11001/chrome/browser/download/download_browsertest.cc#newcode2507 chrome/browser/download/download_browsertest.cc:2507: EXPECT_EQ(0u, downloads.size()); Don't you also need to flush ...
8 years, 9 months ago (2012-03-22 13:30:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/9762002/21002
8 years, 9 months ago (2012-03-24 13:44:07 UTC) #9
commit-bot: I haz the power
Change committed as 128744
8 years, 9 months ago (2012-03-24 16:11:02 UTC) #10
Aaron Boodman
Can someone please cc me to crbug.com/119129?
8 years, 9 months ago (2012-03-28 22:30:06 UTC) #11
eligrey
4 years, 10 months ago (2016-01-29 00:47:33 UTC) #12
Message was sent while issue was closed.
Can someone cc me to crbug.com/119129 as well?

Powered by Google App Engine
This is Rietveld 408576698