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

Issue 2621773003: Fix ISearch regressions (Closed)

Created:
3 years, 11 months ago by David Tseng
Modified:
3 years, 11 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ISearch regressions - use a cursors.Cursor rather than a node; sometimes, nodes are destroyed when the Panel receives focus. A cursor will resolve to the ancestors of the destroyed node - ensure event handlers are always unregistered - fix the pending callback to ensure we always set focus to the right search hit BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2621773003 Cr-Commit-Position: refs/heads/master@{#442655} Committed: https://chromium.googlesource.com/chromium/src/+/780fd7effb09f3975ae14f7b6fc501ce56cf96e5

Patch Set 1 #

Patch Set 2 : Select search query when re-focused #

Total comments: 1

Patch Set 3 : Fix ISearch regressions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -37 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js View 1 2 5 chunks +27 lines, -11 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js View 6 chunks +13 lines, -26 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
David Tseng
3 years, 11 months ago (2017-01-09 23:46:37 UTC) #3
dmazzoni
lgtm with one suggestion https://codereview.chromium.org/2621773003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js (right): https://codereview.chromium.org/2621773003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js#newcode118 chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js:118: this.iSearch_ = new ISearch(this.background_.currentRange.start.node); How ...
3 years, 11 months ago (2017-01-10 16:07:15 UTC) #6
David Tseng
On 2017/01/10 16:07:15, dmazzoni wrote: > lgtm with one suggestion > > https://codereview.chromium.org/2621773003/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js > File ...
3 years, 11 months ago (2017-01-10 17:28:56 UTC) #7
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/2621773003/40001
3 years, 11 months ago (2017-01-10 19:23:03 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 19:28:29 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/780fd7effb09f3975ae14f7b6fc5...

Powered by Google App Engine
This is Rietveld 408576698