Closed
Bug 803861
Opened 12 years ago
Closed 12 years ago
[WebAPI] WebTelephony: Tests should wait for 'onalerting' event during outgoing call
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: rwood, Assigned: rwood)
Details
Attachments
(1 file)
12.99 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
When making an outgoing call on the B2G emulator using the WebAPI, the test should always wait for the 'onalerting' telephony event before requesting the current call list from the emulator. Otherwise there is a race condition, and occasionally the emulator will return an empty call list as the call hasn't actually been made yet. This situation causes the following tests to 'random orange', so they need to be updated: test_incoming_already_connected.js test_incoming_already_held.js test_outgoing_already_held.js test_outgoing_hold_resume.js
Assignee | ||
Comment 1•12 years ago
|
||
Some more to add to the list: test_outgoing_answer_hangup.js test_outgoing_hangup_held.js test_outgoing_reject.js test_emergency.js
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #673623 -
Flags: review?(jgriffin)
Comment 3•12 years ago
|
||
Comment on attachment 673623 [details] [diff] [review] Patch for 803861 It would be sweet if this cleared up the intermittent emulator crashes as well!
Attachment #673623 -
Flags: review?(jgriffin) → review+
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/49e26446d1e0
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 5•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c66bf1ae2d40
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•