Skip to content

Commit

Permalink
[Wasm] Remove deprecated browser Chrome Wasm GC
Browse files Browse the repository at this point in the history
^KT-67863 fixed
  • Loading branch information
ilgonmic authored and qodana-bot committed Sep 17, 2024
1 parent cd71751 commit 725a3c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5252,7 +5252,6 @@ public final class org/jetbrains/kotlin/gradle/targets/js/testing/karma/KotlinKa
public final fun useChromeCanaryHeadless ()V
public final fun useChromeHeadless ()V
public final fun useChromeHeadlessNoSandbox ()V
public final fun useChromeHeadlessWasmGc ()V
public final fun useChromium ()V
public final fun useChromiumHeadless ()V
public final fun useConfigDirectory (Ljava/io/File;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,21 +217,6 @@ class KotlinKarma(

fun useChromeCanaryHeadless() = useChromeLike("ChromeCanaryHeadless")

@Deprecated(
"Chrome supports wasm GC by default, so you can use useChromeHeadless",
replaceWith = ReplaceWith("useChromeHeadless"),
level = DeprecationLevel.ERROR
)
fun useChromeHeadlessWasmGc() {
val chromeCanaryHeadlessWasmGc = "ChromeHeadlessWasmGc"

config.customLaunchers[chromeCanaryHeadlessWasmGc] = CustomLauncher("ChromeHeadless").apply {
flags.add("--js-flags=--experimental-wasm-gc")
}

useChromeLike(chromeCanaryHeadlessWasmGc)
}

fun useDebuggableChrome() {
val debuggableChrome = "DebuggableChrome"

Expand Down

0 comments on commit 725a3c9

Please sign in to comment.