@@ -172,8 +172,7 @@ function locateFile(path) {
172172// Hooks that are implemented differently in different runtime environments.
173173var read_ ,
174174 readAsync ,
175- readBinary ,
176- setWindowTitle ;
175+ readBinary ;
177176
178177#if ENVIRONMENT_MAY_BE_NODE
179178if ( ENVIRONMENT_IS_NODE ) {
@@ -407,8 +406,6 @@ if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
407406 {
408407#include "web_or_worker_shell_read.js"
409408 }
410-
411- setWindowTitle = ( title ) => document . title = title ;
412409} else
413410#endif // ENVIRONMENT_MAY_BE_WEB || ENVIRONMENT_MAY_BE_WORKER
414411#if AUDIO_WORKLET && ASSERTIONS
@@ -475,7 +472,7 @@ assert(typeof Module['filePackagePrefixURL'] == 'undefined', 'Module.filePackage
475472assert ( typeof Module [ 'read' ] == 'undefined' , 'Module.read option was removed (modify read_ in JS)' ) ;
476473assert ( typeof Module [ 'readAsync' ] == 'undefined' , 'Module.readAsync option was removed (modify readAsync in JS)' ) ;
477474assert ( typeof Module [ 'readBinary' ] == 'undefined' , 'Module.readBinary option was removed (modify readBinary in JS)' ) ;
478- assert ( typeof Module [ 'setWindowTitle' ] == 'undefined' , 'Module.setWindowTitle option was removed (modify setWindowTitle in JS)' ) ;
475+ assert ( typeof Module [ 'setWindowTitle' ] == 'undefined' , 'Module.setWindowTitle option was removed (modify emscripten_set_window_title in JS)' ) ;
479476assert ( typeof Module [ 'TOTAL_MEMORY' ] == 'undefined' , 'Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY' ) ;
480477{ { { makeRemovedModuleAPIAssert ( 'asm' , 'wasmExports' , false ) } } }
481478{ { { makeRemovedModuleAPIAssert ( 'read' , 'read_' ) } } }
0 commit comments