blob: cf9f74e156ecfe2b49f83699bbc6b6d927475840 [file] [log] [blame]
This is a testharness.js-based test.
PASS setLocalDescription with valid offer should succeed
PASS setLocalDescription with type offer and null sdp should use lastOffer generated from createOffer
PASS setLocalDescription() with offer not created by own createOffer() should reject with InvalidModificationError
FAIL Set created offer other than last offer should reject with InvalidModificationError assert_unreached: Should have rejected: undefined Reached unreachable code
PASS Creating and setting offer multiple times should succeed
PASS Setting previously generated offer after a call to createAnswer should work
PASS Negotiation works when there has been a repeated setLocalDescription(offer)
PASS setLocalDescription(offer) should update internal state with a queued task, in the right order
Harness: the test ran to completion.