Closed Bug 1028544 Opened 10 years ago Closed 10 years ago

setCallingLineIdRestriction is not a function

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lalabelle03, Assigned: lalabelle03)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 (Beta/Release) Build ID: 20140620030201 Steps to reproduce: I start Gaia in Firefox Nightly v.33.0a1 on my desktop. Actual results: The console logs the error : setCallingLineIdRestriction is not a function for the file telephony_settings.js Expected results: The error should not exist.
Attached patch 1028544.patch (obsolete) — Splinter Review
Attachment #8443934 - Flags: review?(21)
Attached patch 1028544.patchSplinter Review
Attachment #8443934 - Attachment is obsolete: true
Attachment #8443934 - Flags: review?(21)
Attachment #8443962 - Flags: review?(21)
Comment on attachment 8443962 [details] [diff] [review] 1028544.patch Review of attachment 8443962 [details] [diff] [review]: ----------------------------------------------------------------- r+ with the following changes. Because you may not have the time to fix it, I took the liberty to fix it for you and push those changes against our CI. See https://tbpl.mozilla.org/?tree=Gaia-Try&rev=4445d1ce81c2520ddbd0188d86cede54d024513d If the CI is green I will merged this change. Thanks for it. ::: apps/system/js/telephony_settings.js @@ +148,5 @@ > }; > }, > > _setCallerIdPreference: function(conn, callerIdPreference, callback) { > + if(!conn.hasOwnProperty('setCallingLineIdRestriction')) { To match the Gaia guidelines, instead of "if(", it should be "if (" @@ +154,5 @@ > + callback(); > + } > + return; > + } > + Extra whitespaces. This is likely your text editor that add them automatically.
Attachment #8443962 - Flags: review?(21) → review+
Assignee: nobody → lalabelle03
Status: UNCONFIRMED → NEW
Ever confirmed: true
Gaia-Try complains but because there is a new perma-red related to Calendar. 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: