Open
Bug 850294
Opened 12 years ago
Updated 3 years ago
Create some mochitests for verifying that onXXX handlers fire at the correct time with a local and remote PC
Categories
(Core :: WebRTC, defect, P4)
Core
WebRTC
Tracking
()
NEW
mozilla35
| backlog | webrtc/webaudio+ |
People
(Reporter: jsmith, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tests])
Create some mochitests that verify that onXXX handlers fire at the correct time with a local and remote peer connection. Such onXXX handlers that should be analyzed include:
- onicecandidate
- onstatechange
- ongatheringchange
- onicechange
- onclosedconnection
- onconnection
- onopen
Note - we do need to analyze two things with these event handlers - what's feasible to automate right now and what makes sense with this list. I already cut some event handlers that we're either already known to be not supported soon temporarily or are not implemented right now.
| Reporter | ||
Comment 1•12 years ago
|
||
Important because we need to make sure events fire at the *right* time within the large state machine of a peer connection object. Into the ? pool for blocking analysis.
Priority: -- → P2
Whiteboard: [WebRTC][blocking-webrtc?]
Comment 2•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #0)
> - onclosedconnection
> - onconnection
Given by the IDL those are data connection only events, right? Those will be covered by the tests I'm writing for at the moment.
| Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #2)
> (In reply to Jason Smith [:jsmith] from comment #0)
> > - onclosedconnection
> > - onconnection
>
> Given by the IDL those are data connection only events, right? Those will be
> covered by the tests I'm writing for at the moment.
Ah. Well, whatever we don't cover should probably encompassed by the mochitests written on this bug. I filed this bug as basically as a "let's get enough tests that at least touch each onXXX handler on a PC." In other words, fill the API coverage gap for whatever it is.
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → jsmith
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc?] → [WebRTC][blocking-webrtc+]
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc+] → [WebRTC][blocking-webrtc-][tests]
| Reporter | ||
Updated•12 years ago
|
Assignee: jsmith → nobody
Priority: P2 → P3
Updated•11 years ago
|
QA Contact: jsmith → drno
Comment 4•11 years ago
|
||
onicechange is covered since checkin fc7cd53d9dd1.
Updated•11 years ago
|
Assignee: nobody → drno
Comment 5•11 years ago
|
||
I think the list of events in this ticket is a little outdated.
These are the events defined in RTCPeerConnection.webidl as of today:
* implemented && covered by tests
- onsignalingstatechange
- onaddstream
- oniceconnectionstatechange
- ondatachannel
* implemented && not covered by tests
- onicecandidate
- onconnection
- onclosedconnection
* stub implementation only && not covered by tests
- onnegotiationneeded
- onremovestream
- onidentityresult
- onpeeridentity
So it looks like we are missing tests for the second category.
Updated•11 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-][tests] → [WebRTC][blocking-webrtc-][tests][p=2]
Target Milestone: --- → mozilla32
Updated•11 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-][tests][p=2] → [WebRTC][blocking-webrtc-][tests][p=2, s=fx32]
Comment 6•11 years ago
|
||
Status update:
* implemented && covered by tests
- onsignalingstatechange
- onaddstream
- oniceconnectionstatechange
- ondatachannel
* implemented && not covered by tests
- onicecandidate (will get implemented as part of Bug 850268 - not in 32)
* stub implementation only && not covered by tests
- onnegotiationneeded
- onremovestream
- onidentityresult
- onpeeridentity
* exist in our webIDL, but on in the WebRTC standard (Bug 1014304)
- onconnection
- onclosedconnection
Comment 7•11 years ago
|
||
Much of the work for this is done. The remaining work will be completed in Fx 33.
No longer blocks: 970426
Target Milestone: mozilla32 → mozilla33
Updated•11 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-][tests][p=2, s=fx32] → [WebRTC][blocking-webrtc-][tests][p=2, s=fx33]
Updated•11 years ago
|
Target Milestone: mozilla33 → mozilla35
Updated•10 years ago
|
backlog: --- → webRTC+
Points: --- → 2
Rank: 35
Whiteboard: [WebRTC][blocking-webrtc-][tests][p=2, s=fx33] → [tests]
Comment 8•8 years ago
|
||
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Comment 9•7 years ago
|
||
I don't have the capacity any more to work on this any time soon.
Assignee: drno → nobody
QA Contact: drno
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•