List icon Contents

From 7.30.3 to 7.31

Remote debugging port

In JxBrowser 7.31, if you’re using the remote debugging port, you will need to add remote-allow-origins switch:

7.30.3 and earlier:

Java
Kotlin
Engine engine = Engine.newInstance(EngineOptions.newBuilder(...)
        .remoteDebuggingPort(9222)
        .build());
val engine = Engine.newInstance(EngineOptions.newBuilder(...)
        .remoteDebuggingPort(9222)
        .build())

7.31:

Java
Kotlin
Engine engine = Engine.newInstance(EngineOptions.newBuilder(...)
        .addSwitch("--remote-allow-origins=http://localhost:9222")
        .remoteDebuggingPort(9222)
        .build());
val engine = Engine.newInstance(EngineOptions.newBuilder(...)
        .addSwitch("--remote-allow-origins=http://localhost:9222")
        .remoteDebuggingPort(9222)
        .build())

This is an intentional change in Chromium 111. More details in Issue 1422444.