blob: 72690d45fbacc6b199e3b2fa32dc2f5d8aad2c69 [file] [log] [blame]
This is a testharness.js-based test.
FAIL createOffer() with no argument from newly created RTCPeerConnection should succeed assert_false: Expect offer to not be instance of RTCSessionDescription expected false got true
FAIL createOffer() and then setLocalDescription() should succeed assert_not_equals: Expect session description to be defined got disallowed value undefined
PASS createOffer() after connection is closed should reject with InvalidStateError
FAIL When media stream is added when createOffer() is running in parallel, the result offer should contain the new media stream assert_equals: Expect m=audio line to be found in offer SDP expected 1 but got 0
PASS createOffer() with offerToReceiveAudio should add audio line to all subsequent created offers
PASS createOffer() with offerToReceiveVideo should add video line to all subsequent created offers
PASS createOffer() with offerToReceiveAudio:true then offerToReceiveVideo:true should have result offer with both audio and video line
Harness: the test ran to completion.