From b119b4de02e9a3bef7dbb8b36f6a8ba789e951a3 Mon Sep 17 00:00:00 2001 From: Gavriil Maksyutenko Date: Wed, 20 Sep 2023 20:03:24 +0300 Subject: [PATCH] [Wasm] Return SpiderMonkey in box tests ^KT-61958 fixed --- .../org/jetbrains/kotlin/wasm/test/handlers/WasmBoxRunner.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wasm/wasm.tests/test/org/jetbrains/kotlin/wasm/test/handlers/WasmBoxRunner.kt b/wasm/wasm.tests/test/org/jetbrains/kotlin/wasm/test/handlers/WasmBoxRunner.kt index 11e45d5e25e..45e96de0840 100644 --- a/wasm/wasm.tests/test/org/jetbrains/kotlin/wasm/test/handlers/WasmBoxRunner.kt +++ b/wasm/wasm.tests/test/org/jetbrains/kotlin/wasm/test/handlers/WasmBoxRunner.kt @@ -117,8 +117,7 @@ class WasmBoxRunner( val disableExceptions = DISABLE_WASM_EXCEPTION_HANDLING in testServices.moduleStructure.allDirectives - // TODO: KT-61958 Update SpiderMonkey and return its usage in tests when they switch to the final opcodes for GC and FTR proposals. - val exceptions = listOf(WasmVM.V8, /*WasmVM.SpiderMonkey*/).mapNotNull { vm -> + val exceptions = listOf(WasmVM.V8, WasmVM.SpiderMonkey).mapNotNull { vm -> vm.runWithCathedExceptions( debugMode = debugMode, disableExceptions = disableExceptions,