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