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

Issue 2171693002: [MD History] Force history results to be processed in order. (Closed)

Created:
4 years, 5 months ago by calamity
Modified:
4 years, 4 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@move_menu_up
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Force history results to be processed in order. This CL fixes an issue where history results could be returned in quick succession but the later result set would be processed first due to the earlier result set being deferred to the next event loop. This was causing problems with loading search URLs that loaded too quickly. This has been fixed by using a single Promise to process all history results rather than instantiating new ones for each result set. BUG=630125 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/45eaf49a7cea5e2188ecacb01c0579d7035963ac Cr-Commit-Position: refs/heads/master@{#407411}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : rebase, fix nit #

Patch Set 3 : missed one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -23 lines) Patch
M chrome/browser/resources/md_history/history.js View 1 5 chunks +25 lines, -21 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (14 generated)
calamity
4 years, 5 months ago (2016-07-21 07:04:33 UTC) #4
tsergeant
lgtm % nit and rebase https://codereview.chromium.org/2171693002/diff/20001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2171693002/diff/20001/chrome/browser/resources/md_history/history.js#newcode10 chrome/browser/resources/md_history/history.js:10: var upgradePromise = null; ...
4 years, 5 months ago (2016-07-21 07:25:27 UTC) #5
calamity
https://codereview.chromium.org/2171693002/diff/20001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2171693002/diff/20001/chrome/browser/resources/md_history/history.js#newcode10 chrome/browser/resources/md_history/history.js:10: var upgradePromise = null; On 2016/07/21 07:25:27, tsergeant wrote: ...
4 years, 4 months ago (2016-07-25 03:43:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171693002/60001
4 years, 4 months ago (2016-07-25 03:44:19 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-07-25 03:47:45 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 03:49:20 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45eaf49a7cea5e2188ecacb01c0579d7035963ac
Cr-Commit-Position: refs/heads/master@{#407411}

Powered by Google App Engine
This is Rietveld 408576698