On Mon, Jan 31, 2011 at 6:16 AM, Boris Zbarsky <[email protected]> wrote:
>> [09:01:04.453] uncaught exception: [Exception... "An invalid or illegal
>> string was specified" code: "12" nsresult: "0x8053000c
>> (NS_ERROR_DOM_SYNTAX_ERR)" location: "file:///tmp/test.html Line: 14"]
>>
>> Of course that's full of the XPCOM jargon I was complaining about
>
> Apart from the "nsresult" bit, the hex code for the nsresult, and the
> "NS_ERROR" prefix, is there other jargon?

The extra [Exception...] and code 12, at least.  In general we also
don't say which method is being called incorrectly, IIRC.

>> and we could easily improve it a bit (starting with pulling out the
>> location information and
>> putting it into the console's file/line display).
>
> Hmm.  We have bugs on that, for what it's worth; it's not that easy last I
> checked.

Seems like a last-error singleton would work, in concert with our
single-threadedness?

Mike
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to