|
|
Chromium Code Reviews
DescriptionAdd missing TaskScheduler on tests using RendereWidgetHostImpl
RenderWidgetHostImpl constructor requires an instance of TaskScheduler
on Windows. Its absence causes DCHECK failure or null ptr access
failure only on Windows, which is hard to find for non-windows devs.
This CL adds a DCHECK to detect it on non-Windows build, so that we
notice the failure earlier, and also fixes the failure detected by
the DCHECK.
BUG=696919
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2785883004
Cr-Commit-Position: refs/heads/master@{#461134}
Committed: https://chromium.googlesource.com/chromium/src/+/5d6c4a51e01d9f6d37e24b1964bb482421808b73
Patch Set 1 #Patch Set 2 : Merge branch 'task_scheduler_instance' into rwh_dcheck #Patch Set 3 : merge the other CL into this #Patch Set 4 : mac fix #Patch Set 5 : another mac fix #Patch Set 6 : mac compile fix #Patch Set 7 : mac test fix #Patch Set 8 : +comment #Patch Set 9 : yet another mac fix #
Total comments: 2
Messages
Total messages: 48 (35 generated)
The CQ bit was checked by tzik@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...
Description was changed from ========== Add DCHECK to RendereWidgetHostImpl to ensure having TaskScheduler instance RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. If its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier. ========== to ========== Add DCHECK to RendereWidgetHostImpl to ensure having TaskScheduler instance RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. If its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier. BUG=696919 ==========
tzik@chromium.org changed reviewers: + kinuko@chromium.org
PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Looks like some tests are failing on DCHECK?
The CQ bit was checked by tzik@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...
Description was changed from ========== Add DCHECK to RendereWidgetHostImpl to ensure having TaskScheduler instance RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. If its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier. BUG=696919 ========== to ========== Add DCHECK to RendereWidgetHostImpl to ensure having TaskScheduler instance RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. If its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier. BUG=696919 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by tzik@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 2017/03/31 04:41:54, kinuko wrote: > Looks like some tests are failing on DCHECK? Updated the CL to fix it. Let's see whether it works.
The CQ bit was checked by tzik@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...
lgtm if it goes green
The CQ bit was checked by tzik@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 unchecked by tzik@chromium.org
The CQ bit was checked by tzik@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 unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by tzik@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 tzik@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...
kinuko: I updated text_input_client_mac_unittest.mm for a test fix. Could you take another look to it?
One test's still failing for PS7, is that fixed?
On 2017/03/31 11:37:17, kinuko wrote: > One test's still failing for PS7, is that fixed? 😨
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by tzik@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 2017/03/31 11:37:17, kinuko wrote: > One test's still failing for PS7, is that fixed? That should be fixed on PS9.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2017/03/31 12:03:16, tzik wrote: > On 2017/03/31 11:37:17, kinuko wrote: > > One test's still failing for PS7, is that fixed? > > That should be fixed on PS9. Renaming the CL, as this is no longer just adding DCHECK.
Description was changed from ========== Add DCHECK to RendereWidgetHostImpl to ensure having TaskScheduler instance RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. If its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier. BUG=696919 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Add missing TaskScheduler on tests using RendereWidgetHostImpl RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. Its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier, and also fixes the failure detected by the DCHECK. BUG=696919 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
still lgtm https://codereview.chromium.org/2785883004/diff/160001/content/browser/render... File content/browser/renderer_host/text_input_client_mac_unittest.mm (right): https://codereview.chromium.org/2785883004/diff/160001/content/browser/render... content/browser/renderer_host/text_input_client_mac_unittest.mm:65: // deletes the MRPH before scheduled MRPH deletion is invoked. Whoa.
The CQ bit was checked by tzik@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1490973690754410,
"parent_rev": "8ba8d7142ef4449775d3d75b6f17b80d24d07f77", "commit_rev":
"5d6c4a51e01d9f6d37e24b1964bb482421808b73"}
Message was sent while issue was closed.
Description was changed from ========== Add missing TaskScheduler on tests using RendereWidgetHostImpl RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. Its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier, and also fixes the failure detected by the DCHECK. BUG=696919 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Add missing TaskScheduler on tests using RendereWidgetHostImpl RenderWidgetHostImpl constructor requires an instance of TaskScheduler on Windows. Its absence causes DCHECK failure or null ptr access failure only on Windows, which is hard to find for non-windows devs. This CL adds a DCHECK to detect it on non-Windows build, so that we notice the failure earlier, and also fixes the failure detected by the DCHECK. BUG=696919 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2785883004 Cr-Commit-Position: refs/heads/master@{#461134} Committed: https://chromium.googlesource.com/chromium/src/+/5d6c4a51e01d9f6d37e24b1964bb... ==========
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/5d6c4a51e01d9f6d37e24b1964bb...
Message was sent while issue was closed.
gab@chromium.org changed reviewers: + gab@chromium.org
Message was sent while issue was closed.
drive-by comment about ScopedTaskScheduler :) https://codereview.chromium.org/2785883004/diff/160001/content/browser/render... File content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm (right): https://codereview.chromium.org/2785883004/diff/160001/content/browser/render... content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm:136: base::test::ScopedTaskScheduler task_scheduler(&message_loop); I think you can merge the two lines above (ScopedTaskScheduler comes with an implicit MessageLoop if not handed one and no callers below use |message_loop| explicitly. PS: Yeah, I know, this is kind of a mess... Aimed to be solved by https://docs.google.com/document/d/1QabRo8c7D9LsYY3cEcaPQbOCLo8Tu-6VLykYXyl3P... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
