Bug 1264343 - Only run test_peerConnection_scaleResolution.html with VP8 codec on Android; r=jib

We don't currently support H.264 on Android in automation, but we can improve
our test coverage by running the VP8 portion of this test in the meantime.

MozReview-Commit-ID: 3SPCTaqlfMk

--HG--
extra : rebase_source : cae3251f489e45f56b04378074083d6b4fd24666
This commit is contained in:
Dan Minor 2017-04-07 08:42:23 -04:00
parent a13789a4c4
commit 4146b32212
2 changed files with 7 additions and 3 deletions

View File

@ -77,8 +77,13 @@
.catch(generateErrorCallback());
}
runNetworkTest(() => testScale("VP8").then(() => testScale("H264"))
.then(networkTestFinished));
if (!navigator.appVersion.includes("Android")) {
runNetworkTest(() => testScale("VP8").then(() => testScale("H264"))
.then(networkTestFinished));
} else {
// No support for H.264 on Android in automation, see Bug 1355786
runNetworkTest(() => testScale("VP8").then(networkTestFinished));
}
</script>
</pre>
</body>

View File

@ -114,7 +114,6 @@ skip-if = true # Bug 1222983
skip-if = true # Bug 1189784
[../tests/dom/media/tests/mochitest/test_peerConnection_replaceVideoThenRenegotiate.html]
[../tests/dom/media/tests/mochitest/test_peerConnection_scaleResolution.html]
skip-if = true # Bug 1264343
[../tests/dom/media/tests/mochitest/test_peerConnection_setLocalAnswerInHaveLocalOffer.html]
[../tests/dom/media/tests/mochitest/test_peerConnection_setLocalAnswerInStable.html]
[../tests/dom/media/tests/mochitest/test_peerConnection_setLocalOfferInHaveRemoteOffer.html]