[Greasemonkey] new Option() fails (FF1.5b2, Gm0.6.x)

Matthias Bauer ml-greasemonkey-42imk83y at moeffju.net
Fri Oct 21 04:13:55 EDT 2005


> new Option() fails (exception: null) under Firefox 1.5b1 and 1.5b2
with Gm 0.6.x


Steps to reproduce:

Create user script, content:

try { var x = new Option(); alert(x); } catch(e) { GM_log('exception
creating new Option: '+e); }


Expected results:

Alert window saying [HTMLOptionElement]


Actual results:

GM_log 'exception creating new Option: null'


Can anyone besides Jeremy reproduce this behavior?
Any ideas what the problem is, or at least what I could put into a bug
report with Bugzilla?

-Matt


More information about the Greasemonkey mailing list