[Greasemonkey] FF1.5b, Gm0.6.x, new Option(String) fails?

Matthias Bauer ml-greasemonkey-42imk83y at moeffju.net
Wed Oct 19 05:48:02 EDT 2005


On 19.10.2005 04:24 Matthias Bauer wrote:

> the following code:
> 
>   var o = new Option('foo');
> 
> breaks the user script on Firefox 1.5 Beta 1 and Greasemonkey 0.6.3.

The same thing actually happens with

  try { new Option(); } catch(e) { GM_log(e); }

(gives null).

Constructing a new Option() in a simple HTML/JS file works fine.

FF bug?

-Matt


More information about the Greasemonkey mailing list