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

Issue 2562633003: Update save file button based on states (Closed)

Created:
4 years ago by Changwan Ryu
Modified:
4 years ago
Reviewers:
mmenke
CC:
chromium-reviews, eroman, arv+watch_chromium.org, aelias_OOO_until_Jul13
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update save file button based on states On chrome://net-internals/#export, when you backspace really quickly and save to file at almost the same time, then save button becomes enabled even when the textarea is empty. There are currently two paths to enable or disable save file button: 1) UserComments is empty or not empty. 2) We are saving button / not saving button. Things can get wrong if the two paths conflict with each other. In fixing this, we also change the function structure such that save file button is enabled / disabled based on both states. BUG=671969 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1dfe6d2f4f55e4a344b51c16fe0fa23bd00f21a9 Cr-Commit-Position: refs/heads/master@{#437295}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M chrome/browser/resources/net_internals/export_view.js View 3 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Changwan Ryu
Fixing a regression in my previous CL. PTAL. Thanks!
4 years ago (2016-12-08 07:50:15 UTC) #3
mmenke
On 2016/12/08 07:50:15, Changwan Ryu wrote: > Fixing a regression in my previous CL. PTAL. ...
4 years ago (2016-12-08 15:13:32 UTC) #4
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/2562633003/1
4 years ago (2016-12-08 16:37:02 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/82415)
4 years ago (2016-12-08 17:57:43 UTC) #8
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/2562633003/1
4 years ago (2016-12-08 18:10:51 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-08 18:51:38 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-08 18:53:33 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1dfe6d2f4f55e4a344b51c16fe0fa23bd00f21a9
Cr-Commit-Position: refs/heads/master@{#437295}

Powered by Google App Engine
This is Rietveld 408576698