This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
createOffer / createAnswer methods accept options attribute as an optional argument. Validation steps for this argument is missing, which should be added for better Error Handling.
Given that CreateOffer / CreateAnswer are being turned into promise-returning functions by default, and promise-returning functions do not throw on argument errors (they reject instead), the argument validation should result in a rejection / error callback return.
Only standard WebIDL type checking should be applied.