Migration

Contents

From 8.17.2 to 8.18.0

In JxBrowser 8.18.0, the Chromium 146 upgrade introduces two enum-level API changes: PermissionType.DURABLE_STORAGE was removed, PermissionType.PERSISTENT_STORAGE was added, and NetError.PROXY_REQUIRED was removed.

PermissionType.DURABLE_STORAGE removed, PermissionType.PERSISTENT_STORAGE added 

PermissionType.DURABLE_STORAGE was removed, and PermissionType.PERSISTENT_STORAGE was added.

8.17.2 and earlier:

if (permissionType == PermissionType.DURABLE_STORAGE) {
    grant();
}

8.18.0:

if (permissionType == PermissionType.PERSISTENT_STORAGE) {
    grant();
}

Remove all references to PermissionType.DURABLE_STORAGE and use PermissionType.PERSISTENT_STORAGE instead.

NetError.PROXY_REQUIRED removed 

Chromium removed the corresponding network error, so JxBrowser removed NetError.PROXY_REQUIRED.

Remove references to NetError.PROXY_REQUIRED. If your application had special-case handling for this error, review the remaining proxy-related NetError values in the current API and keep only the cases that still exist.