Closed Bug 967503 Opened 11 years ago Closed 11 years ago

Make HawkClient work in b2g

Categories

(Firefox :: Sync, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

Attachments

(1 file)

On b2g we run with jsloader.reuseGlobal set to true, so we need to modify HawkClient with that in mind. ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[JavaScript Error: "HawkClient is not a constructor" {file: "resource://gre/modules/FxAccountsClient.jsm" line: 57}]'[JavaScript Error: "HawkClient is not a constructor" {file: "resource://gre/modules/FxAccountsClient.jsm" line: 57}]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: app://system.gaiamobile.org/js/fxa_client.js :: sendMessage :: line 35" data: yes] ************************************************************
Assignee: nobody → ferjmoreno
Component: Identity → FxA
Product: Core → Firefox
Attached patch v1 (deleted) — Splinter Review
Attachment #8370052 - Flags: review?(rnewman)
Attachment #8370052 - Flags: review?(rnewman) → review+
Component: FxA → Firefox Sync: Backend
Product: Firefox → Mozilla Services
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
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: