commit | e332af368744cceb112fcd228f74a53b381acec2 | [log] [tgz] |
---|---|---|
author | guidou <guidou@chromium.org> | Fri Mar 11 13:00:33 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 11 13:01:52 2016 |
tree | d7dd0a0174c22cea5da2de42bf1dab46f954afe0 | |
parent | 642d8f97282ddbdb26f76ae6773e8bc459b4b15b [diff] |
Report errors in RTCPeerConnection legacy functions via the the failure callback instead of exceptions. This makes createAnswer() and createOffer() more compliant with the spec and will reduce unexpected surprises when their return value changes to Promise<void>. BUG=499126 Review URL: https://codereview.chromium.org/1713953002 Cr-Commit-Position: refs/heads/master@{#380614}