There are rumours that Google told them running arbitrary code in Firefox is forbidden, because they can't audit that. I have never been able to find a confirmation for that though.
Which is a ridiculous opinion, of course, since the whole point of a browser is to run arbitrary code.