Closed Bug 863687 Opened 11 years ago Closed 11 years ago

Missing events (e.g. ondatachannel) when running datachannel tests

Categories

(Core :: WebRTC, defect)

23 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Keywords: regression, Whiteboard: [qa-automation-blocked])

Attachments

(2 files)

Attached file non-working mochitest
When running the following mochitest you will notice that no ondatachannel events are getting fired even with data connection successfully established. Having the exact same code in a standalone test it works fine.

We are blocked with the creation of any datachannel related test. Bug 796894 is the most important one here because it will get an update for the framework too. 

I will investigate what's causing this now.
Attached file testcase (standalone)
Same code as a standalone testcase.
So the reason here is not mochitest vs. standalone, but the version of the build. While the mochitest was running on latest m-c I had a Nightly build from two days ago. This build doesn't contain the first patch as landed on bug 862744 later. After upgrading Nightly to yesterdays version the standalone testcase is also broken.

The follow-up fix on bug 862744 might help us here. I will retest in a bit after the current build is done.
Blocks: 862744
Keywords: regression
Once bug 862744 is fixed it will work. Additionally to this I noticed an exception thrown inside of the ondatachannel event listener because I reference to this instead of self.

Lets wait for the landing of the second patch on bug 862744 in mozilla-central. Then we are unblocked!
Summary: Missing events (e.g. ondatachannel) when running tests with mochitest → Missing events (e.g. ondatachannel) when running datachannel tests
Per IRC, invalid
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
No, this is not invalid. The main reason for this broken behavior was the regression introduced by the patch on bug 862744. This is fixed now.
Resolution: INVALID → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: