Not enough arguments [nsIDOMWindowInternal.alert]




function callfn()
{
alert();
}





This will give error somewhat similar to

uncaught exception: [Exception… “Not enough arguments [nsIDOMWindowInternal.alert]” nsresult: “0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)” location: “JS frame :: http://rae.us.playstation.com/raeus/ps3/index.htm :: :: line 810” data: no]

Please note that this error appears specifically in Firefox. (Not sure about other browsers).

Source : http://www.sitepoint.com/forums/showthread.php?t=182241

0 Replies to “Not enough arguments [nsIDOMWindowInternal.alert]”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.