Closed Bug 1036198 Opened 10 years ago Closed 10 years ago

rejection is not defined in this.FxAccountsManager._handleGetAssertionError

Categories

(Firefox :: Firefox Accounts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 33
Tracking Status
firefox31 --- wontfix
firefox32 --- fixed
firefox33 --- fixed

People

(Reporter: jedp, Assigned: jedp)

References

Details

Attachments

(1 file)

FxAccountsManager.jsm, line 207; 'rejection' is not defined. Mud in my eye, as I reviewed this patch and this error slipped by me.
Hi, Sam, I think this does the trick? Thanks for taking a look, j
Attachment #8452806 - Flags: review?(spenrose)
Oh - it appears that xpcshell tests with our httpd_server are currently broken in trunk. I have no idea why. I get this error when running test_fxaccounts.js: 0:09.04 [24755] WARNING: cannot post event if not initialized: file /Users/zeus/code/firefox/mozilla-central/netwerk/protocol/http/nsHttpConnectionMgr.cpp, line 192 0:09.05 Assertion failed: (GLOBAL(int, mutexIsInit)), function sqlite3MutexAlloc, file /Users/zeus/code/firefox/mozilla-central/db/sqlite3/src/sqlite3.c, line 18408. It appears to get thrown when invoking server.stop(). It's not related to this patch.
Comment on attachment 8452806 [details] [diff] [review] fix default case in _handleGetAssertionError; unit test Review of attachment 8452806 [details] [diff] [review]: ----------------------------------------------------------------- Thank you very much for catching this. My bad for not properly linting.
Attachment #8452806 - Flags: review?(spenrose) → review+
Thanks, Sam! No worries. We both missed it :) Here's ye try run: https://tbpl.mozilla.org/?tree=Try&rev=bd294e351808
I seem to have lost some bugzilla privileges, and am unable to assign this bug to me or change the Status.
Keywords: checkin-needed
Assignee: nobody → jed+bmo
Status: UNCONFIRMED → ASSIGNED
blocking-b2g: --- → 2.0?
Ever confirmed: true
Hey Jed or Sam - is there any user impact from this bug?
Flags: needinfo?(spenrose)
Flags: needinfo?(jed+bmo)
(In reply to Jared Hirsch [:_6a68] [@6a68] from comment #6) > Hey Jed or Sam - is there any user impact from this bug? We don't know. I made a mistake in an error-handling code path that "shouldn't be reached." If it is reached, we'll get a ReferenceError thrown. Jed's fix means that proper error-handling will proceed. Seems like risk-reducer to me.
Flags: needinfo?(spenrose)
Flags: needinfo?(jed+bmo)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Please seek aurora approval here to get this uplifted since user impact is not clear.
blocking-b2g: 2.0? → -
Flags: needinfo?(jed+bmo)
(In reply to bhavana bajaj [:bajaj] [NOT reading Bugmail, needInfo please] from comment #10) > Please seek aurora approval here to get this uplifted since user impact is > not clear. hit return to fast.. Please seek aurora approval here to get this uplifted since user impact is not clear to mkae it a blocker and this looks a trivial check to me
Comment on attachment 8452806 [details] [diff] [review] fix default case in _handleGetAssertionError; unit test Approval Request Comment [Feature/regressing bug #]: fixes an error from bug 1004319 [User impact if declined]: low; this fixes a ReferenceError that would be thrown if the user followed an unlikely code path [Describe test coverage new/current, TBPL]: added unit test to patch [Risks and why]: none that I see. This improves stability overall. [String/UUID change made/needed]: none
Attachment #8452806 - Flags: approval-mozilla-aurora?
Flags: needinfo?(jed+bmo)
Attachment #8452806 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Core → Firefox
blocking-b2g: - → ---
Target Milestone: mozilla33 → Firefox 33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: