Closed Bug 1065477 Opened 10 years ago Closed 10 years ago

Bind FxAccountsProfileClientError to global "this" for B2G

Categories

(Firefox :: Firefox Accounts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 35

People

(Reporter: spenrose, Assigned: spenrose)

Details

Attachments

(1 file, 1 obsolete file)

This declaration in FxAccountsProfileClient.jsm:

  var FxAccountsProfileClientError = function (details) {

does not export the symbol on B2G.
Attached patch 1065477-use-this.patch (obsolete) — Splinter Review
Fernando this is another nit exposed by running xpcshell-test. Thanks!
Attachment #8487305 - Flags: review?(ferjmoreno)
Comment on attachment 8487305 [details] [diff] [review]
1065477-use-this.patch

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

Thanks Sam!

::: services/fxaccounts/FxAccountsProfileClient.jsm
@@ +150,5 @@
>   *   @param {String|null} [details.message]
>   *          Error message
>   * @constructor
>   */
> +this.FxAccountsProfileClientError = function (details) {

nit: no space between "function" and the parenthesis, please.
Attachment #8487305 - Flags: review?(ferjmoreno) → review+
Attachment #8487305 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/cbf008a9deb1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Product: Core → Firefox
Target Milestone: mozilla35 → Firefox 35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: