Created attachment 717537 [details] Log from failing Travis-CI build When running the Gaia UI tests against a B2G desktop client I occasionally see a failure due to "call to setTimeout blocked by CSP", which causes all the following tests to also fail. You can see this Travis-CI build for an example: https://travis-ci.org/davehunt/gaia-ui-tests/builds/5005711/#L832 Log is attached.
With the next release of Marionette we will be able to restart the B2G desktop client between tests. This means although this will most likely still occur, we will be able to recover from it.
I have been able to narrow this down to a specific unit test that was failing 1 in every 5 runs. It was attempting to kill an application that wasn't currently in view, so I simply added a launch for the application before killing it to bring it into view and now it passes every time.