Firebug 1.1.0b10 lib.convertToUnicode fails error message

40 views
Skip to first unread message

SoftExpert

unread,
Nov 22, 2007, 6:13:34 PM11/22/07
to Firebug
Hello,

First of all, thanks again for your efforts!

Unfortunately, a beta is still a beta; errors pop here and there ...
I have encountered this error several times:

FIREBUG WARNING: lib.convertToUnicode: fails[Exception... "Component
returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
[nsIScriptableUnicodeConverter.ConvertToUnicode]" nsresult:
"0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
chrome://firebug/content/lib.js :: anonymous :: line 201" data: no]

I can give you a direct link: http://www.phpguru.org/Grid/Grid.html
Just click on some cell ...

Tested with : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10pre)
Gecko/20071122 BonEcho/2.0.0.10pre

Can I provide further help?

SoftExpert

Richard Quadling

unread,
Nov 23, 2007, 4:10:52 AM11/23/07
to fir...@googlegroups.com

With all the Firebug Console reporting options turned on, I get 3
console entries.

2 relate to CSS (Unknown property 'text-overflow'. Declaration
dropped) and the 3rd is in Grid.js Line 560 ...

event is not defined
onmousedown()
rowDiv.onmousedown = function() {__Grid[this.parentNode.paren...

Line 560 reads ...

rowDiv.onmousedown = function ()
{__Grid[this.parentNode.parentNode.id].RowMouseDown(parseInt(event.srcElement.parentNode.id.replace(/^.*_row_(\d+)$/i,
'$1')));}

I suspect it should read ...

rowDiv.onmousedown = function (event)
{__Grid[this.parentNode.parentNode.id].RowMouseDown(parseInt(event.srcElement.parentNode.id.replace(/^.*_row_(\d+)$/i,
'$1')));}

Richard "Not Richard Hayes" Quadling.

P.S. PHPGuru is a great site!


--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

SoftExpert

unread,
Nov 23, 2007, 4:43:43 AM11/23/07
to Firebug
You are right, there is something with the javascript used there;
nevertheless, the error generated is not at all useful, FB is losing
some functionality afterwards and there is not a hint about the real
cause of the error. So, I guess, FB should protect itself from this
kind of errors ...

P.S. Indeed it's a great site, I learned a lot from it ...

On Nov 23, 10:10 am, "Richard Quadling" <rquadl...@googlemail.com>
wrote:

John J Barton

unread,
Nov 23, 2007, 5:10:01 PM11/23/07
to Firebug
I don't know the cause of the convertToUnicode error message. The
message comes from a catch block so should not interfere with Firebug
operations. I added a null check before calling for conversion, that
may fix it. On the 1.2 branch.
Reply all
Reply to author
Forward
0 new messages