JavaScript compatibility

May I please get advice which JavaScript versions are being used by the OL Connect Designer, OL Connect Server and OL Connect Workflow?

I’m using 2026.1.2.

Recently we tried to use Uin8Array, which is a standard type, and is recognised by the Designer script context help. When previewing or rendering via the Workflow, this type is not supported.

Do these tools use the Chromium from locally installed Edge or Chrome instance? Do these products ship their own Chromium? Is the JavaScript version configurable?

Hi @iwest,

The Chromium-based editions of the Designer and Merge Engine currently (with 2026.1.2) use Chromium 143. If you need to know whether a particular feature is supported you can look at the compatibility table in MDN. I see that Uint8Array is supported since Chrome 140, so it should be available in Chromium 143.

That means you should be able to use Uint8Array in browser scripts (Resources panel), but there is no guarantee that it can be used in Control, Standard, or Post Pagination scripts (Scripts panel). Scripts in the Scripts panel run in a sandbox, and we need to explicitly whitelist top-level browser properties.

We may have overlooked some useful properties in the whitelist, and we probably did not consider a recent addition like Uint8Array. Your feedback is very helpful, I’ll create a ticket to make sure we revisit the whitelist and at the very least include all TypedArray classes.

The JS version is not configurable, it is directly linked to the embedded Chromium version. We do not make use of any locally installed Edge or Chrome instance.

Workflow is a very different beast, it does not use the same technology stack. I’m afraid I don’t know very much about that.

1 Like

May I also please request support for btoa and atob, as we use base64 encoding to support extended UTF-8 content through the OL Connect Workflow, so the OL Connect designer scripts and control script need additional helpers to transport the letter content, before being decoded and rendered into the output.

I made a note of that in the ticket (internal reference: 98636).

toLowerCase() and toUpperCase() are also missing
In both cases I get the message it is not a function.

The whitelist I mentioned is only for top-level properties. String prototype entries like toLowerCase and toUpperCase are available with the Chromium edition regardless of the whitelist.

What you may be referring to is the fact that toLowerCase and toUpperCase can no longer be used as static methods. For example, String.toLowerCase("Foo") will not work.

We support those static methods in the Mozilla edition because it uses Rhino internally. However, this is not standard JS syntax, so it is no longer supported.

For example:

let foo = "bar";
logger.info(String.toUpperCase(foo)); // Will error out
logger.info(foo.toUpperCase()); // Should work fine
1 Like