Fix firefox tests. Bug 843789.