Bug 949617 - Correctly fix the master password tests to not rely on setTimeout timing.
Bug 949617 - Correclty fix the pwevent test to not rely on setTimeout.