Hi all,
within a XUL overlay javascript I can write:

var image = new Image();

to create a new image object.

But within a .jsm javascript module, I can't.

What is the XPCOM equivalent of "new Image();"?

thanks

m