Closed Bug 1536631 Opened 5 years ago Closed 5 years ago

Invalid modifications to SDP should result in an InvalidModificationError

Categories

(Core :: WebRTC: Signaling, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bwc, Assigned: bwc)

Details

Attachments

(7 files)

We really need to simplify the way we're dealing with JSEP errors. Let's declare a single webidl enum and just use that everywhere.

Depends on D25148

Assignee: nobody → docfaraday

Reminder to deal with issues from bug 1531110 comment 3 here.

Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fc92485d449
Part 1: Pass the necessary information to JS to build the appropriate errors to reject with. r=smaug,jib
https://hg.mozilla.org/integration/autoland/rev/ca43ce4e810e
Part 2: Construct errors based on changes in part 1. r=jib
https://hg.mozilla.org/integration/autoland/rev/7dcf5d093845
Part 3: Get JsepSession and PCImpl using the new error enum from part 1. r=mjf
https://hg.mozilla.org/integration/autoland/rev/d2ffffe32c3b
Part 4: JsepSessionTest fixes. r=mjf
https://hg.mozilla.org/integration/autoland/rev/a0617985b8f5
Part 5: Stop expecting a couple of wpt to fail. r=jib
https://hg.mozilla.org/integration/autoland/rev/628f21581c9a
Part 6: Fix the error type that a couple of mochitests are expecting. r=jib
https://hg.mozilla.org/integration/autoland/rev/86b819bf0c57
Part 7: Fix some test-cases that were expecting InvalidStateError when they should have been expecting InvalidModificationError. r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16497 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: