Closed
Bug 347684
Opened 19 years ago
Closed 18 years ago
Can't create XPCOM object:["@mozilla.org/intl/scriptableunicodeconverter"] in Minimo
Categories
(Minimo Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: vuhongkhiem, Assigned: dougt)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
I'm writing an Extension for Minimo and want to create XPCOM object from JavaScript sources.
Code:
var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
When run it with Minimo 0.015 it throw an exception:
Code:
TypeError: Components.classes.['@mozilla.org/intl/scriptableunicodeconverter'] has no properties"
-----------------------------------------------
I tried this with Mozilla Firefox 1.5, it run well (no exception)!
I also tried to refer to Mozilla Platform for that component => It contains 1 property:
char* nsIScriptableUnicodeConverter.charset
http://www.xulplanet.com/references/xpcomref/comps/c_intlscriptableunicodeconverter.html
What is the problem here?
Reproducible: Always
Steps to Reproduce:
1.Run Minimo
2.Create XPCOM object from Javascript code
3.Bug raised
Expected Results:
how to instantiate this object?
I want to use that object for one Extension that requires supporting to Unicode characters.
| Assignee | ||
Comment 1•19 years ago
|
||
with native uconv, i do not think this interface is implemented.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•18 years ago
|
||
Open compreg.dat and see whether the following string exists:
"@mozilla.org/intl/scriptableunicodeconverter"
| Assignee | ||
Comment 3•18 years ago
|
||
with native uconv, i do not think this interface is implemented.
wont fix.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•