|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by dpapad Modified:
4 years, 1 month ago Reviewers:
dschuyler CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMD Settings: Close edit startup URL dialog, if underlying URL list changes.
BUG=661867
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/05f574e9836e8345bbb59f9b828bf2d773331f82
Cr-Commit-Position: refs/heads/master@{#430455}
Patch Set 1 : Smarter. #Patch Set 2 : Add test. #Patch Set 3 : Fix flakiness. #Patch Set 4 : Add missing dependency to iron-list.html #
Messages
Total messages: 39 (27 generated)
Description was changed from ========== MD Settings: Close add/edit startup URL dialog, if underlying URL list changes. BUG=661867 ========== to ========== MD Settings: Close add/edit startup URL dialog, if underlying URL list changes. BUG=661867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was checked by dpapad@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by dpapad@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:20001) has been deleted
Description was changed from ========== MD Settings: Close add/edit startup URL dialog, if underlying URL list changes. BUG=661867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== MD Settings: Close edit startup URL dialog, if underlying URL list changes. BUG=661867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was checked by dpapad@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by dpapad@chromium.org to run a CQ dry run
dpapad@chromium.org changed reviewers: + dschuyler@chromium.org
Green tests at patch 1, new test added at patch 2.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
lgtm
On 2016/11/04 at 22:22:19, dschuyler wrote: > lgtm I verified that the test I am adding is unfortunately flaky, because of CrScrollableBehavior executing code after the test has finished. This causes a null dereference at https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/cr_scroll..., which causes the test to fail (only sometimes, depends on timing). Given that this is fixing a crash, and given that updateScrollableContents() logic is attempted to be removed as part of crbug.com/657336, how about I land this fix without the test for now, instead of trying to tweak updateScrollableContents() logic to take into account the element disappearing? Any suggestions/workarounds that will deflake the test welcome.
On 2016/11/05 00:23:21, dpapad wrote: > On 2016/11/04 at 22:22:19, dschuyler wrote: > > lgtm > > I verified that the test I am adding is unfortunately flaky, because of > CrScrollableBehavior executing code after the test has finished. This causes a > null dereference at > https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/cr_scroll..., > which causes the test to fail (only sometimes, depends on timing). Given > that this is fixing a crash, and given that updateScrollableContents() logic is > attempted to be removed as part of crbug.com/657336, how about I land this fix > without the test > for now, instead of trying to tweak updateScrollableContents() logic to take > into account the element disappearing? > > Any suggestions/workarounds that will deflake the test welcome. Maybe add a detached: function() { clearInterval(this.intervalId) }, after scoping intervalId on |this| in cr_scrollable_behavior.js
The CQ bit was checked by dpapad@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/11/05 at 00:26:35, dschuyler wrote: > On 2016/11/05 00:23:21, dpapad wrote: > > On 2016/11/04 at 22:22:19, dschuyler wrote: > > > lgtm > > > > I verified that the test I am adding is unfortunately flaky, because of > > CrScrollableBehavior executing code after the test has finished. This causes a > > null dereference at > > https://cs.chromium.org/chromium/src/ui/webui/resources/cr_elements/cr_scroll..., > > which causes the test to fail (only sometimes, depends on timing). Given > > that this is fixing a crash, and given that updateScrollableContents() logic is > > attempted to be removed as part of crbug.com/657336, how about I land this fix > > without the test > > for now, instead of trying to tweak updateScrollableContents() logic to take > > into account the element disappearing? > > > > Any suggestions/workarounds that will deflake the test welcome. > > Maybe add a > > detached: function() { > clearInterval(this.intervalId) > }, > > after scoping intervalId on |this| > > in cr_scrollable_behavior.js Thanks, done! This should in theory remove the flakiness. Let's see how the bots react.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by dpapad@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dschuyler@chromium.org Link to the patchset: https://codereview.chromium.org/2477693005/#ps80001 (title: "Fix flakiness.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by dpapad@chromium.org
Thanks Dave for helping investigating the test failure. So it turns out that during the test, iron-list was never registered as a custom element with the browser (HTML import of iron-list.html was mssing), and therefore it did not have a notifyResize method.
The CQ bit was checked by dpapad@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dschuyler@chromium.org Link to the patchset: https://codereview.chromium.org/2477693005/#ps100001 (title: "Add missing dependency to iron-list.html")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by dpapad@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #4 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== MD Settings: Close edit startup URL dialog, if underlying URL list changes. BUG=661867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== MD Settings: Close edit startup URL dialog, if underlying URL list changes. BUG=661867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/05f574e9836e8345bbb59f9b828bf2d773331f82 Cr-Commit-Position: refs/heads/master@{#430455} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/05f574e9836e8345bbb59f9b828bf2d773331f82 Cr-Commit-Position: refs/heads/master@{#430455} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
