Closed Bug 1611237 Opened 4 years ago Closed 4 years ago

Throw the right SyntaxErrors from PeerConnection.jsm

Categories

(Core :: WebRTC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Spec says to throw DOMExceptions, whereas we are throwing JS Error instances.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/39622ff1cd0d
Fix which sort of SyntaxError we throw from PeerConnection.jsm.  r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21395 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: