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

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


Hey list,

the following code:

  var o = new Option('foo');

breaks the user script on Firefox 1.5 Beta 1 and Greasemonkey 0.6.3.

Looking for an exception, like this:

  try {
    var o = new Option('foo');
  } catch(e) {
    GM_log(e);
  }

logs null ("the.script.namespace/script name: null").

Did I miss anything regarding FF 1.5/Gm 0.6, or is this supposed to work?

-Matt


More information about the Greasemonkey mailing list