Closed
Bug 1129650
Opened 11 years ago
Closed 11 years ago
Touching navigator.mozId causes an error NS_ERROR_FACTORY_NOT_REGISTERED
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: muffinresearch, Assigned: ferjm)
References
Details
Attachments
(1 file, 2 obsolete files)
3.97 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
In payments we look to see if navigator.mozId is defined to know if nativeFxA is available.
In FF Android nightly 38.0a1 (2015-02-04) this causes a JS error:
W/GeckoConsole( 8958): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: " {file: "http://jsbin.com/juxasu" line: 19}]
Here's a test-case:
http://jsbin.com/juxasu
Comment 2•11 years ago
|
||
This means that the WebIDL machinery doesn't like its mozId implementation on Android. You can find a WebIDL savant to determine what's going on, or simply skip the check on Android (since mozId won't work on that platform).
Flags: needinfo?(spenrose)
Assignee | ||
Comment 4•11 years ago
|
||
We don't support mozId on Android, so we shouldn't be exposing it.
Flags: needinfo?(ferjmoreno)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ferjmoreno
Assignee | ||
Comment 5•11 years ago
|
||
Not sure if this is the right approach, but let's give it a try.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fca61b9ed2ae
Assignee | ||
Comment 6•11 years ago
|
||
Ok, that didn't work.
It seems that we exposed navigator.id for Desktop on bug 753239. Not sure why, but I believe we don't need to do that. Matt, Sam, do you know if there is any reason for exposing navigator.id in Desktop?
Second try removing mozId stuff from Desktop https://tbpl.mozilla.org/?tree=Try&rev=2237ed00d4d7
Attachment #8561492 -
Attachment is obsolete: true
Flags: needinfo?(spenrose)
Flags: needinfo?(MattN+bmo)
Comment 7•11 years ago
|
||
navigator.id was initially written for Persona, and its possible we wanted the option of a native implementation for desktop. That option is no longer viable, and we should certainly hide it, if not remove it.
Flags: needinfo?(spenrose)
Comment 8•11 years ago
|
||
Comment on attachment 8561954 [details] [diff] [review]
v2
Review of attachment 8561954 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, this was for native BrowserID but it's already broken and we should remove it so it's fine to not build it.
Attachment #8561954 -
Flags: feedback+
Updated•11 years ago
|
Flags: needinfo?(MattN+bmo)
Assignee | ||
Comment 9•11 years ago
|
||
Thanks Matthew!
Andrea, this patch avoids exposing navigator.mozId on desktop and android, but it still exposes it on b2g.
Attachment #8568514 -
Flags: review?(amarchesini)
Assignee | ||
Updated•11 years ago
|
Attachment #8561954 -
Flags: feedback+
Updated•11 years ago
|
Attachment #8568514 -
Flags: review?(amarchesini) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #8561954 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Thank you Andrea.
https://hg.mozilla.org/integration/mozilla-inbound/rev/80987d26adfb
Comment 11•11 years ago
|
||
Backed out for hitting intermittent OSX packaging failures.
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2ca47393208
https://treeherder.mozilla.org/logviewer.html#?job_id=6971535&repo=mozilla-inbound
07:13:57 INFO - Error: /builds/slave/m-in-osx64-0000000000000000000/build/src/obj-firefox/i386/browser/installer/package-manifest:455: File missing in ../../dist: Nightly.app/Contents/Resources/modules/DOMIdentity.jsm
Assignee | ||
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•