hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

wstring properties don't work. #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a plugin
2. use registerProperty to register a property of type std::wstring
3. call the property from a test web page (from jscript language)

What is the expected output? What do you see instead?
It should return the property value but instead it returns undefined.
It works OK if I use std::string instead of std::wstring

What version of FireBreath are you using? On what operating system and
browsers?
firebreath-1.0-nightly-6/Win7 32 bit/Chrome 4.1.249.1064

Original issue reported on code.google.com by codecentrix on 31 May 2010 at 11:25

GoogleCodeExporter commented 9 years ago
If this is a bug report, please file it as such.  If it is a question, please 
pose it
on the firebreath-dev google group.  Questions do not belong in the "issues" 
section.
 Thanks =]

wstring will not work, by itself.  Firefox supports UTF-8; if you would like to 
help
us add support to convert UTF-8 strings to std::wstring, we will certainly work 
with
you to help.  Contact us on the google group.

Original comment by taxilian on 31 May 2010 at 3:37

GoogleCodeExporter commented 9 years ago
Sorry, I didn't know for sure if it is a bug or not. I thought I can use any 
type for
a property. I will contact you on group. Thanks!

Original comment by codecentrix on 31 May 2010 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by georg.fritzsche on 31 Jul 2010 at 8:15