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

Issue 6159001: Modifying some downloads hooks to act per-window (so that incognito windows c... (Closed)

Created:
9 years, 11 months ago by Allen
Modified:
9 years ago
Reviewers:
Nirnimesh
CC:
chromium-reviews, John Grabowski, anantha, dyu1, Paweł Hajdan Jr.
Visibility:
Public.

Description

Modifying some downloads hooks to act per-window (so that incognito windows can be correctly targetted) and updating some surrounding test cases. BUG=59259 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71856

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -30 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/test/functional/downloads.py View 1 2 3 4 5 6 4 chunks +20 lines, -14 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 5 chunks +15 lines, -8 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/ui/ui_test.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Allen
9 years, 11 months ago (2011-01-15 01:39:41 UTC) #1
Nirnimesh
http://codereview.chromium.org/6159001/diff/36001/chrome/test/functional/downloads.py File chrome/test/functional/downloads.py (right): http://codereview.chromium.org/6159001/diff/36001/chrome/test/functional/downloads.py#newcode602 chrome/test/functional/downloads.py:602: # WaitForAllDownloadsToComplete is flaky for this test case. Please ...
9 years, 11 months ago (2011-01-15 02:28:04 UTC) #2
Allen
On 2011/01/15 02:28:04, Nirnimesh wrote: > http://codereview.chromium.org/6159001/diff/36001/chrome/test/functional/downloads.py > File chrome/test/functional/downloads.py (right): > > http://codereview.chromium.org/6159001/diff/36001/chrome/test/functional/downloads.py#newcode602 > ...
9 years, 11 months ago (2011-01-15 02:52:57 UTC) #3
Nirnimesh
> It turns out that incognito windows do not initialize a download manager until > ...
9 years, 11 months ago (2011-01-15 11:03:32 UTC) #4
Nirnimesh
9 years, 11 months ago (2011-01-15 11:07:03 UTC) #5
> At this point I think we could get rid of the check for download manager in
> provider, that is return back an empty list.

No, I take that back. 
Trigger a download, restart the browser and immediately ask for DownloadsInfo()
and it might return an empty list.. which is badness.

LGTM

Powered by Google App Engine
This is Rietveld 408576698