Closed Bug 1193731 Opened 9 years ago Closed 8 years ago

onicegatheringstatechange doesn't work

Categories

(Core :: WebRTC: Signaling, defect, P3)

38 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: ekr, Assigned: drno)

References

(Blocks 1 open bug)

Details

Attachments

(5 files, 2 obsolete files)

Attached file stun_test_final.html (deleted) —
This doesn't seem to fire.
I was told a while ago that this was probably going to be removed from the spec (since we already have null candidates), but that does not seem to have happened. Should be an easy fix.
Blocks: webrtc_spec
backlog: --- → webrtc/webaudio+
Rank: 35
Priority: -- → P3
Attachment #8812461 - Attachment is obsolete: true
Attachment #8812462 - Attachment is obsolete: true
Attachment #8812464 - Flags: review?(bobbyholley)
Attachment #8812465 - Flags: review?(jib)
Attachment #8812463 - Flags: review?(mfroman)
Attachment #8812533 - Flags: review?(jib)
Comment on attachment 8812463 [details] Bug 1193731: basic ICE gathering state verification in mochitests https://reviewboard.mozilla.org/r/94198/#review94580 Looks good to me.
Attachment #8812463 - Flags: review?(mfroman) → review+
Comment on attachment 8812465 [details] Bug 1193731: add missing handlers for icegatheringstatechange https://reviewboard.mozilla.org/r/94202/#review94658 lgtm with thing fixed. ::: dom/media/PeerConnection.js:1219 (Diff revision 1) > changeIceGatheringState: function(state) { > this._iceGatheringState = state; > _globalPCList.notifyLifecycleObservers(this, "icegatheringstatechange"); > + this.dispatchEvent(new this._win.Event("icegatheringstatechange")); > }, Spec says [1] "If connection's [[isClosed]] slot is true or connection's ice connection state has the same value as newState, abort these steps." So we should probably check those things here. [1] http://w3c.github.io/webrtc-pc/#update-ice-gathering-state
Attachment #8812465 - Flags: review?(jib) → review+
Comment on attachment 8812533 [details] Bug 1193731: onicegatheringstatechange web-platformtests should pass https://reviewboard.mozilla.org/r/94242/#review94664
Attachment #8812533 - Flags: review?(jib) → review+
Assignee: nobody → drno
Comment on attachment 8812465 [details] Bug 1193731: add missing handlers for icegatheringstatechange https://reviewboard.mozilla.org/r/94202/#review94658 > Spec says [1] "If connection's [[isClosed]] slot is true or connection's ice connection state has the same value as newState, abort these steps." > > So we should probably check those things here. > > [1] http://w3c.github.io/webrtc-pc/#update-ice-gathering-state If I'm not mistaken dispatchEvent() is suppose to take care of the |isClosed| case already, so I only added checks for no state change.
Comment on attachment 8812464 [details] Bug 1193731: add missing onicegatheringstatechange to WebIDL https://reviewboard.mozilla.org/r/94200/#review94698 rs=me if jib say this matches the spec.
Attachment #8812464 - Flags: review?(bobbyholley) → review+
Pushed by drno@ohlmeier.org: https://hg.mozilla.org/integration/autoland/rev/907917f2785e add missing onicegatheringstatechange to WebIDL r=bholley https://hg.mozilla.org/integration/autoland/rev/4b2b12f1fa7c add missing handlers for icegatheringstatechange r=jib https://hg.mozilla.org/integration/autoland/rev/4fb6e8e03e3a basic ICE gathering state verification in mochitests r=mjf https://hg.mozilla.org/integration/autoland/rev/79bfdfbb78aa onicegatheringstatechange web-platformtests should pass r=jib
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: