Persona is no longer an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 668424 - nsIDictionary is undefined
: nsIDictionary is undefined
Product: Core
Classification: Components
Component: XPConnect (show other bugs)
: 5 Branch
: All Other
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2011-06-29 18:46 PDT by vb4guy
Modified: 2011-07-02 10:06 PDT (History)
0 users
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description vb4guy 2011-06-29 18:46:19 PDT
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)

Steps to reproduce:

The following JavaScript doesn't work in Firefox 5:"UniversalXPConnect");
        var nsIDictionary = Components.classes[";1"].createInstance(Components.interfaces.nsIDictionary);

Actual results:

Received error in JavaScript: Components.classes[';1'] is undefined

Expected results:

Returned a new instance of nsIDictionary
Comment 1 Benjamin Smedberg [:bsmedberg] 2011-06-30 07:00:13 PDT
When did it work? nsIDictionary hasn't been part of the Firefox code since Firefox 3.5 or so.

Also, we disabled .enablePrivilege for web content, which may affect your testcase, although I'd expect a different exception in that case.
Comment 2 vb4guy 2011-06-30 13:40:06 PDT
Can someone please update the article to say that it is no longer part of Firefox?  (see:

As for the enablePrivilege, I need to call this for *all* of the XPCOM interfaces otherwise Firefox says that I don't have permissions to access any of the methods/attributes for the objects.
Comment 3 vb4guy 2011-07-02 10:06:12 PDT
I updated the article.

Note You need to log in before you can comment on or make changes to this bug.