// In this case we're setting things up so that wasm can't be compiled, as the // only available compiler is Ion, and enabling the Debugger will disable Ion. // // The test tests that the lazy creation of the WebAssembly object is not // dependent on whether WebAssembly can be compiled or not: if wasm is supported // then the WebAssembly object should always be created. The fact that wasm // can't be compiled is a separate matter. // // IT'S IMPORTANT NOT TO MENTION THE WEBASSEMBLY OBJECT UNTIL AFTER THE DEBUGGER // HAS BEEN CREATED, AND NOT TO LOAD lib/wasm.js OR OTHER WASM CODE HERE.
// We do not use wasmStreamingEnabled() here because that checks whether // compilers are available, and that is precisely what we want to be checking // ourselves. But streaming compilation is available only if there are helper // threads, so that's an OK proxy.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.