Closed Bug 1053948 Opened 11 years ago Closed 11 years ago

System JS : WARNING resource://gre/modules/FxAccounts.jsm:64 - assignment to undeclared variable AccountState

Categories

(Firefox :: Sync, defect)

defect
Not set
normal
Points:
1

Tracking

()

RESOLVED FIXED
mozilla34
Iteration:
34.2

People

(Reporter: dholbert, Assigned: markh)

References

Details

Attachments

(1 file)

Noticed this go by in my terminal output, when starting my debug-build: { System JS : WARNING resource://gre/modules/FxAccounts.jsm:64 - assignment to undeclared variable AccountState } This is from this code: > 64 AccountState = function(fxaInternal) { > 65 this.fxaInternal = fxaInternal; > 66 }; http://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccounts.jsm?rev=746fb5986153#64 I suspect this just needs a "let" on line 64, to declare AccountState.
Flags: needinfo?(mhammond)
Nice catch - thanks! Trivial patch attached.
Attachment #8474287 - Flags: review?(ckarlof)
Flags: needinfo?(mhammond)
Assignee: nobody → mhammond
Points: --- → 1
OS: Linux → All
Hardware: x86_64 → All
Comment on attachment 8474287 [details] [diff] [review] 0001-Bug-1053948-declare-AccountState-in-fxAccounts.-r-ck.patch Welcome back, Mark :)
Attachment #8474287 - Flags: review?(ckarlof) → review+
God yes, welcome back!
Iteration: --- → 34.2
Status: NEW → ASSIGNED
Flags: firefox-backlog+
Whiteboard: [qa?]
Flags: qe-verify-
Whiteboard: [qa?]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: