[Greasemonkey] Bug 11215 fixed?
Dave Land
land at aol.com
Tue Jan 10 13:57:24 EST 2006
Folks,
Last August, I opened:
http://bugzilla.mozdev.org/show_bug.cgi?id=11215
In GM under FF 1.0.X reported script errors as occurring in
dochandler.js at line 316 or some such...
I had pretty much forgotten about it 'til Gijs "Haniibal"
Kruitbosch commented on the bug today asking "Deer Park has
been shipped. Is this bug fixed by now?"
I checked, and it is... sort of.
When an error occurs in a user script, the console shows
something like this:
---------------------------------
Component is not available
66
---------------------------------
66, it turns out, is the line number in the script that is
causing the error. It would be really cool and a boon to
script developers everywhere if it said something like this,
instead:
---------------------------------
Component is not available
Greasemonkey user script: something.user.js: line 66
---------------------------------
It would be even better if the reference was linked so that
it would open the file to the specified line number for
viewing, as usual for JavaScript console errors. It would be
supercalifragilistic if it did the moral equivalent of
Tools > Manage User Scripts... >> [Edit].
At this point, I think the answer to Gijs's question is
"not quite", but I'll leave it to brighter minds than mine
to decide where to go from here...
Dave
More information about the Greasemonkey
mailing list