<div dir="ltr">On Wed, Apr 29, 2015 at 11:32 AM, Benjamin Smedberg <span dir="ltr"><<a href="mailto:benjamin@smedbergs.us" target="_blank">benjamin@smedbergs.us</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 4/29/2015 2:01 PM, Dave Townsend wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When you say we're initializing the add-on manager what do you mean specifically? The add-on manager is always initialized before profile-after-change (<a href="http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#838" target="_blank">http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#838</a>).<br>
</blockquote></span>
We're calling into AddonManager.getAddonsByTypes. If that's not likely to cause interference, then I really don't know what else I could have changed other than basic timing.<span class=""><br></span></blockquote><div><br></div><div>So loading the add-ons database on startup. Isn't that going to cause a perf hit? Maybe that's been discussed and accepted already<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I noticed that in both of the failures the test harness window has focus rather than the browser window. That would explain why the popup notifications aren't showing. I don't know why the focus would have changed though.<br>
</blockquote>
<br></span>
Does anyone know if we have focus logging that I could turn on? Why do we expect the browser window to be focused here instead of the testharness window?<br></blockquote><div><br></div><div>None that I know of. When the harness starts tests it focuses the browser window and generally it should remain focus. We have many tests that fail if focus isn't right when running, it's why it is impossible to do anything else on your computer when running tests. <br></div></div></div></div>