Skip to main content

CMP Known Compatibility Issues

This is a list of software that CMP is known not to work with. If your site or page makes use of any of these, please take note.

Contents

NgZone (aka zone.js)

Websites:

Versions before 0.8.18

Problem:

When using HTMLElement's load event via the onload property (e.g. myElement.onload = handlerFn), CMP will cause affected code to throw a "Maximum call stack size exceeded" error.

Resolution:

Use a version of zone.js newer than v0.8.18.

References:

Microsoft Ajax Framework

Websites:

Versions 3.5-4.5.2

Problem:

The script file MicrosoftAjax.js overwrites standard JavaScript functions such as String.startsWith and String.endsWith with versions that are not fully compatible. CMP may not function correctly or Microsoft's script may report errors such as "Parameter Count Mismatch".

Resolution:

The polyfills applied by MicrosoftAjax.js should not be used as they are not compatible with the JavaScript language standard.