Bug 876096 - Try adding waitForFocus, let's see whether that fixes test_activation.xul.