See either https://tbpl.mozilla.org/php/getParsedLog.php?id=31007226&tree=Try#error0 or all of bug 923597 - test_handlerApps.xhtml is disabled on OS X 10.8 by way of navigator.userAgent.indexOf("Mac OS X 10.8") != -1, but intermittently instead of including that string in the UA and thus not running that failing test, we have a UA of "DummyUserAgent" so we run the test and fail it. Might be a nice touch to have test_user_agent_updates.html grab the unaltered UA string at the start, and test that it is back to that at the end, so if this crops up again I won't have to guess that some later test is failing because we're running DummyUserAgent rather than the browser we thought we were running.
Jim, can you please look at this? Bug 923597 happens quite frequently.
Yes, I'm looking at it today. The fix should be fairly straightforward but I want to first find out why it only happens intermittently.
See bug 943556 which has been the incorrect target for some of the oranges that have been appearing due to the "DummyUserAgent". I've updated the bug summary for this bug to help it get found on TBPL.
Wups, that first one was test_user_agent_overrides.html, and as https://tbpl.mozilla.org/php/getParsedLog.php?id=31361326&tree=Mozilla-Inbound a few pushes later showed, I did want to disable test_user_agent_updates.html too; https://hg.mozilla.org/integration/mozilla-inbound/rev/94f5ee227f40
Created attachment 8342668 [details] [diff] [review] Don't apply user agent update if updates have been disabled (v1) I think the intermittent failure happens when we disable updates while there is still a pending network request. When the network request completes, we inadvertently apply the update even though we should be disabled. This patch checks for the enabled pref when applying updates, to make sure pending network requests are ignored. The patch also adds a test to make sure the UA is reverted and re-enables the disabled tests. Try run suggests the intermittent failure is fixed by this patch, https://tbpl.mozilla.org/?tree=Try&rev=3cdb5c00f717