Firefox prevents running fullscreen code for security reasons (i guess, to prevent social engineering and fraudulent windows).
This is thoroughly discussed in SO, here.