Bug 1042791 - added case insensitive and acitvated test. r=jesup

This commit is contained in:
Nils Ohlmeier [:drno] 2014-07-29 10:00:00 +02:00
parent 45fbbe0583
commit 26e7b92e4e
2 changed files with 5 additions and 6 deletions

View File

@ -74,8 +74,7 @@ skip-if = toolkit == 'gonk' # b2g(Bug 960442, video support for WebRTC is disabl
[test_peerConnection_bug1013809.html]
skip-if = (toolkit == 'gonk' && debug) # b2g emulator seems to be too slow (Bug 1016498 and 1008080)
[test_peerConnection_bug1042791.html]
skip-if = true # disabled until we can resolve plugin installation issues
#skip-if = toolkit == 'gonk' || toolkit == 'android' # no openh264 on b2g/android
skip-if = buildapp == 'b2g' || os == 'android' # bug 1043403
[test_peerConnection_close.html]
[test_peerConnection_errorCallbacks.html]
[test_peerConnection_offerRequiresReceiveAudio.html]

View File

@ -28,10 +28,10 @@
test.chain.append([[
"PC_LOCAL_VERIFY_H264_OFFER",
function (test) {
ok(!test.pcLocal._last_offer.sdp.contains("profile-level-id=0x42e00c"),
"H264 offer does not contain profile-level-id=0x42e00c");
ok(test.pcLocal._last_offer.sdp.contains("profile-level-id=42e00c"),
"H264 offer contains profile-level-id=42e00c");
ok(!test.pcLocal._last_offer.sdp.toLowerCase().contains("profile-level-id=0x42e0"),
"H264 offer does not contain profile-level-id=0x42e0");
ok(test.pcLocal._last_offer.sdp.toLowerCase().contains("profile-level-id=42e0"),
"H264 offer contains profile-level-id=42e0");
test.next();
}
]]);