azakai answered this already, but it's nested deeply below: Firefox gives a console warning if asm.js compilation fails. In fact, it also gives a console warning if asm.js compilation succeeds! So there's never any doubt, and JS semantics are maintained.