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

Issue 312493002: Files.app: Fix flakiness in chaining directory (Closed)

Created:
6 years, 6 months ago by yoshiki
Modified:
6 years, 6 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Files.app: Fix flakiness in chaining directory I'm about to commit a patch to improve of filelist draw. But it makes some tests flaky because the currently directory changes faster than before. This patch makes the logic of directory changing more robust. BUG=367123 TEST=browser_test passes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275418

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed the comments #

Total comments: 4

Patch Set 3 : Addressed the comments #

Patch Set 4 : rebase #

Patch Set 5 : Fix bug and test failure #

Total comments: 2

Patch Set 6 : Addressed the comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -43 lines) Patch
M ui/file_manager/file_manager/foreground/js/directory_model.js View 1 2 3 4 5 11 chunks +105 lines, -43 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
yoshiki
@hirono, PTAL
6 years, 6 months ago (2014-06-02 06:54:47 UTC) #1
hirono
https://codereview.chromium.org/312493002/diff/80001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/80001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode283 ui/file_manager/file_manager/foreground/js/directory_model.js:283: var tracker = this.createDirectoryChangeTracker(); It looks tracker does not ...
6 years, 6 months ago (2014-06-02 09:18:03 UTC) #2
yoshiki
@hirono: PTAL. Thanks, https://codereview.chromium.org/312493002/diff/80001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/80001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode283 ui/file_manager/file_manager/foreground/js/directory_model.js:283: var tracker = this.createDirectoryChangeTracker(); On 2014/06/02 ...
6 years, 6 months ago (2014-06-02 11:37:11 UTC) #3
hirono
https://codereview.chromium.org/312493002/diff/100001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/100001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode288 ui/file_manager/file_manager/foreground/js/directory_model.js:288: tracker.stop(); Remaining line. https://codereview.chromium.org/312493002/diff/100001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode679 ui/file_manager/file_manager/foreground/js/directory_model.js:679: tracker.stop(); ditto.
6 years, 6 months ago (2014-06-02 11:52:07 UTC) #4
yoshiki
@hirono, PTAL. Thanks https://codereview.chromium.org/312493002/diff/100001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/100001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode288 ui/file_manager/file_manager/foreground/js/directory_model.js:288: tracker.stop(); On 2014/06/02 11:52:07, hirono wrote: ...
6 years, 6 months ago (2014-06-04 13:46:40 UTC) #5
yoshiki
It looks some tests are failed. Let me investigate.
6 years, 6 months ago (2014-06-05 03:23:40 UTC) #6
yoshiki
The test failure seems to go away. PTAL again? Thanks.
6 years, 6 months ago (2014-06-05 12:28:11 UTC) #7
hirono
https://codereview.chromium.org/312493002/diff/180001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/180001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode328 ui/file_manager/file_manager/foreground/js/directory_model.js:328: cr.dispatchSimpleEvent(this, 'rescan-completed'); Is it OK to dispatch the event? ...
6 years, 6 months ago (2014-06-06 04:12:02 UTC) #8
yoshiki
@hirono, PTAL. https://codereview.chromium.org/312493002/diff/180001/ui/file_manager/file_manager/foreground/js/directory_model.js File ui/file_manager/file_manager/foreground/js/directory_model.js (right): https://codereview.chromium.org/312493002/diff/180001/ui/file_manager/file_manager/foreground/js/directory_model.js#newcode328 ui/file_manager/file_manager/foreground/js/directory_model.js:328: cr.dispatchSimpleEvent(this, 'rescan-completed'); On 2014/06/06 04:12:02, hirono wrote: ...
6 years, 6 months ago (2014-06-06 04:55:35 UTC) #9
hirono
On 2014/06/06 04:55:35, yoshiki wrote: > @hirono, PTAL. > > https://codereview.chromium.org/312493002/diff/180001/ui/file_manager/file_manager/foreground/js/directory_model.js > File ui/file_manager/file_manager/foreground/js/directory_model.js (right): ...
6 years, 6 months ago (2014-06-06 06:05:24 UTC) #10
yoshiki
thanks!
6 years, 6 months ago (2014-06-06 06:48:20 UTC) #11
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 6 months ago (2014-06-06 06:48:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/312493002/200001
6 years, 6 months ago (2014-06-06 06:50:52 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 11:51:52 UTC) #14
Message was sent while issue was closed.
Change committed as 275418

Powered by Google App Engine
This is Rietveld 408576698