Closed Bug 978629 Opened 11 years ago Closed 10 years ago

Error when calling mozId function with wrong |this|

Categories

(Core Graveyard :: Identity, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: jedp)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase (deleted) —
With: user_pref("dom.identity.enabled", true); JavaScript error: resource://gre/components/nsDOMIdentity.js, line 312: this._log is not a function
Filed bug 978630 on the possibility of a general solution.
This API needs to be converted to JS-implemented WebIDL. Jed, are you the right person to do this?
Flags: needinfo?(jparsons)
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)
(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
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 :)
Depends on: 1011084
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
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: