On Thu, Jun 15, 2017, at 03:27 AM, ishikawa wrote: > On local machine, when I added a modal error dailog as a response to an > error condition, which happens to be artificially created and tested in > xpcshell test, the test fails because the screen or whatever is not > available. Fair enough, but it was rather disappointing to see such a > feature needed to be disabled due to xpcshell test failing.
You may want to check out https://searchfox.org/comm-central/source/mailnews/test/resources/alertTestUtils.js which provides for intercepting various modal prompts in Thunderbird xpcshell tests. Whatever the test is testing likely wants to also be verifying the dialog pops up, which that helper library provides. Andrew _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform