Sync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/a6a38ef6d142 .