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