Closed Bug 1028537 Opened 10 years ago Closed 10 years ago

Alert telephony.ConferenceGroup is undefined using Gaia in Desktop

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sphinx_knight, Assigned: sphinx_knight)

References

Details

Attachments

(1 file, 2 obsolete files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140608211810

Steps to reproduce:

I used Gaia with Firefox Desktop and started the simulator


Actual results:

an error "telephony.ConferenceGroup is undefined" spawned in the console


Expected results:

No error should have happened
Attached patch patch.diff (obsolete) — Splinter Review
Attachment #8443911 - Flags: review?(21)
Attached patch patch_upstream.diff (obsolete) — Splinter Review
Attachment #8443911 - Attachment is obsolete: true
Attachment #8443911 - Flags: review?(21)
Attachment #8443913 - Flags: review?(21)
Corrected quotes (linting)
Attachment #8443913 - Attachment is obsolete: true
Attachment #8443913 - Flags: review?(21)
Attachment #8443922 - Flags: review?(21)
Comment on attachment 8443922 [details] [diff] [review]
patch_upstream.diff

Review of attachment 8443922 [details] [diff] [review]:
-----------------------------------------------------------------

r+ with the following changes.

Since you can't push, I took the liberty to fix the small nits I made and test your change against our Continuous Integration server (See https://tbpl.mozilla.org/?tree=Gaia-Try&rev=4602da1bfcf77686e015161984b62dabdea2ad3e).

If the CI is green, I will land the patch. Thanks for the contribution.

::: apps/callscreen/js/conference_group_handler.js
@@ +5,5 @@
>  'use strict';
>  
>  var ConferenceGroupHandler = (function() {
>    var groupLine = document.getElementById('group-call');
> +  var groupLabel = document.getEleemntById('group-call-label');

nit: Please remove this broken change.

@@ +22,5 @@
>      CallsHandler.mergeConferenceGroupWithActiveCall();
>    };
>  
>    var telephony = window.navigator.mozTelephony;
> +  if(telephony.hasOwnProperty('conferenceGroup')) {

Please replace "if(" by "if (" to follow the guideline.
Attachment #8443922 - Flags: review?(21) → review+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Gaia-Try complains but for completely irrelevant tests here. Let's land that.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: