As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 713974 - function does not always return a value JS warnings in chrome://messenger/content/accountcreation/
: function does not always return a value JS warnings in chrome://messenger/con...
Product: Thunderbird
Classification: Client Software
Component: Account Manager (show other bugs)
: Trunk
: All All
: -- trivial (vote)
: Thunderbird 12.0
Assigned To: Florian Quèze [:florian] [:flo]
Depends on:
  Show dependency treegraph
Reported: 2011-12-28 15:40 PST by Florian Quèze [:florian] [:flo]
Modified: 2012-01-10 07:05 PST (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Patch (2.10 KB, patch)
2011-12-28 15:40 PST, Florian Quèze [:florian] [:flo]
bwinton: review+
Details | Diff | Splinter Review

Description User image Florian Quèze [:florian] [:flo] 2011-12-28 15:40:35 PST
Created attachment 584661 [details] [diff] [review]

I see these 2 JS strict warnings in my error console each time I start Thunderbird

Warning: anonymous function does not always return a value
Source File: chrome://messenger/content/accountcreation/emailWizard.js
Line: 695, Column: 4
Source Code:
    return this._foundConfig2(config); 

Warning: function verifyConfig does not always return a value
Source File: chrome://messenger/content/accountcreation/verifyConfig.js
Line: 66

I don't like noise in my error console, so I'm attaching a trivial patch to fix these 2 warnings.
Comment 1 User image Blake Winton (:bwinton) (:☕️) 2011-12-30 11:19:39 PST
Comment on attachment 584661 [details] [diff] [review]

Review of attachment 584661 [details] [diff] [review]:

This looks good to me.  r=me if the tests still pass.  ;)
Comment 2 User image Mike Conley (:mconley) - PTO on Jan 20th 2012-01-10 07:05:43 PST
Committed to comm-central as

Note You need to log in before you can comment on or make changes to this bug.