@@ -411,7 +411,6 @@ def decorated(self, textdecoder, *args, **kwargs):
411411
412412no_safe_heap = make_no_decorator_for_setting ('SAFE_HEAP' )
413413no_strict = make_no_decorator_for_setting ('STRICT' )
414- no_strict_js = make_no_decorator_for_setting ('STRICT_JS' )
415414no_big_endian = make_no_decorator_for_setting ('SUPPORT_BIG_ENDIAN' )
416415no_omit_asm_module_exports = make_no_decorator_for_setting ('DECLARE_ASM_MODULE_EXPORTS=0' )
417416no_js_math = make_no_decorator_for_setting ('JS_MATH' )
@@ -6306,7 +6305,6 @@ def test_jslib(self):
63066305 @with_env_modify ({'LC_ALL' : 'latin-1' , 'PYTHONUTF8' : '0' , 'PYTHONCOERCECLOCALE' : '0' })
63076306 @crossplatform
63086307 @no_modularize_instance ('uses MODULARIZE' )
6309- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
63106308 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
63116309 def test_unicode_js_library (self ):
63126310 # First verify that we have correct overridden the default python file encoding.
@@ -8038,7 +8036,6 @@ def get_wat_addr(call_index):
80388036
80398037 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
80408038 @no_modularize_instance ('uses -sMODULARIZE' )
8041- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
80428039 def test_modularize_closure_pre (self ):
80438040 # test that the combination of modularize + closure + pre-js works. in that mode,
80448041 # closure should not minify the Module object in a way that the pre-js cannot use it.
@@ -8985,7 +8982,6 @@ def test_asan_api(self):
89858982 self .do_core_test ('test_asan_api.c' , cflags = ['-fsanitize=address' ])
89868983
89878984 @asan
8988- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
89898985 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
89908986 @no_modularize_instance ('uses MODULARIZE' )
89918987 def test_asan_modularized_with_closure (self ):
@@ -9680,7 +9676,6 @@ def test_esm_integration(self):
96809676 self .assertFileContents (test_file ('core/test_esm_integration.expected.mjs' ), read_file ('hello_world.mjs' ))
96819677
96829678 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
9683- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
96849679 def test_modularize_instance_hello (self ):
96859680 self .do_core_test ('test_hello_world.c' , cflags = ['-sMODULARIZE=instance' , '-Wno-experimental' ])
96869681
@@ -9689,7 +9684,6 @@ def test_modularize_instance_hello(self):
96899684 'pthreads' : (['-pthread' ],),
96909685 })
96919686 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
9692- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
96939687 def test_modularize_instance (self , args ):
96949688 if args :
96959689 self .require_pthreads ()
@@ -9725,7 +9719,6 @@ def test_modularize_instance(self, args):
97259719
97269720 @no_omit_asm_module_exports ('MODULARIZE is not compatible with DECLARE_ASM_MODULE_EXPORTS=0' )
97279721 @no_4gb ('EMBIND_AOT can\' t lower 4gb' )
9728- @no_strict_js ('MODULARIZE is not compatible with STRICT_JS' )
97299722 def test_modularize_instance_embind (self ):
97309723 self .run_process ([EMXX , test_file ('modularize_instance_embind.cpp' ),
97319724 '-sMODULARIZE=instance' ,
@@ -9905,7 +9898,6 @@ def setUp(self):
99059898
99069899# Add DEFAULT_TO_CXX=0
99079900strict = make_run ('strict' , cflags = [], settings = {'STRICT' : 1 })
9908- strict_js = make_run ('strict_js' , cflags = [], settings = {'STRICT_JS' : 1 })
99099901
99109902ubsan = make_run ('ubsan' , cflags = ['-fsanitize=undefined' , '--profiling' ])
99119903lsan = make_run ('lsan' , cflags = ['-fsanitize=leak' , '--profiling' ], settings = {'ALLOW_MEMORY_GROWTH' : 1 })
0 commit comments