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

Issue 2458113003: Prevent bogus 'search-changed' event firing from cr_search_field_behavior.js. (Closed)

Created:
4 years, 1 month ago by dpapad
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent bogus 'search-changed' event firing from cr_search_field_behavior.js. BUG=660434 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6799603e6ec837f72dee0443f54de1e857457749 Cr-Commit-Position: refs/heads/master@{#428518}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : string -> boolean. #

Patch Set 4 : ? -> undefined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M chrome/test/data/webui/cr_elements/cr_toolbar_search_field_tests.js View 1 1 chunk +17 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
dpapad
4 years, 1 month ago (2016-10-28 19:40:16 UTC) #6
Dan Beam
lgtm but i still don't love clobbering document.body in tests (but it's so common in ...
4 years, 1 month ago (2016-10-28 20:54:06 UTC) #9
dpapad
Regarding clobbering document.body, yes we've been doing this from the very beginning AFAIU (https://cs.chromium.org/chromium/src/chrome/test/data/webui/polymer_browser_test_base.js?l=194). Also, ...
4 years, 1 month ago (2016-10-28 21:12:13 UTC) #10
Dan Beam
https://codereview.chromium.org/2458113003/diff/20001/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js File ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js (right): https://codereview.chromium.org/2458113003/diff/20001/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js#newcode97 ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js:97: * @param {?string} previous string|undefined
4 years, 1 month ago (2016-10-28 21:14:08 UTC) #11
dpapad
https://codereview.chromium.org/2458113003/diff/20001/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js File ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js (right): https://codereview.chromium.org/2458113003/diff/20001/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js#newcode97 ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js:97: * @param {?string} previous On 2016/10/28 at 21:14:08, Dan ...
4 years, 1 month ago (2016-10-28 21:16:44 UTC) #12
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/2458113003/60001
4 years, 1 month ago (2016-10-28 21:22:53 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-28 22:20:30 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 22:22:58 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6799603e6ec837f72dee0443f54de1e857457749
Cr-Commit-Position: refs/heads/master@{#428518}

Powered by Google App Engine
This is Rietveld 408576698