Closed
Bug 978629
Opened 11 years ago
Closed 10 years ago
Error when calling mozId function with wrong |this|
Categories
(Core Graveyard :: Identity, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jedp)
References
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
With:
user_pref("dom.identity.enabled", true);
JavaScript error: resource://gre/components/nsDOMIdentity.js, line 312: this._log is not a function
Reporter | ||
Comment 1•11 years ago
|
||
Filed bug 978630 on the possibility of a general solution.
Comment 2•11 years ago
|
||
This API needs to be converted to JS-implemented WebIDL. Jed, are you the right person to do this?
Flags: needinfo?(jparsons)
Assignee | ||
Comment 3•11 years ago
|
||
Hi, Bobby. Yes, I can take this. I haven't done anything with WebIDL before, but looking at the documentation, it seems pretty straightforward.
Assignee: nobody → jparsons
Flags: needinfo?(jparsons)
Comment 4•11 years ago
|
||
(In reply to Jed Parsons (use needinfo, please) [:jedp, :jparsons] from comment #3)
> Hi, Bobby. Yes, I can take this. I haven't done anything with WebIDL
> before, but looking at the documentation, it seems pretty straightforward.
Sounds great. [1] has the most relevant bits, though presumably you've found that already. Let me know if you run into any trouble. :-)
[1] https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings#Implementing_WebIDL_using_Javascript
Assignee | ||
Comment 5•11 years ago
|
||
Sorry this has been languishing. Heading down to MV on Monday to work on this, perhaps leaning over to ask bholley for a little advice now and then :)
Reporter | ||
Comment 6•10 years ago
|
||
With the changes in bug 1011084, web pages can no longer call registerCertificate. So I guess this is fixed.
> TypeError: navigator.mozId.registerCertificate is undefined
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•