Reported Behavior
https://demo.dynamsoft.com/barcode-reader-js/ takes ~15 s to load in Edge 145 when Enhanced Security Mode (ESM) is active for the site. Disabling ESM brings it to ~5 s. Chrome loads the same page in 3–4 s. Reporter never manually enabled ESM — Edge auto-applied it.
Reproduction Steps
- Open Edge 145.0.3800.58 (64-bit)
- Navigate to the demo page
- Toggle Enhanced Security via lock icon → site info panel
- Compare load time: ESM ON ~15 s, ESM OFF ~5 s, Chrome ~3–4 s
Environment
|
|
| Edge 145 (ESM ON) |
~15 s |
| Edge 145 (ESM OFF) |
~5 s |
| Chrome 144/145 |
~3–4 s |
| Test modes |
Normal + InPrivate both affected |
Root Cause
Edge ESM disables JIT, which severely impacts WASM execution. The DBR JS SDK is WASM-heavy. demo.dynamsoft.com is not on Microsoft's ESM trusted list, so Edge auto-restricted it.
Fix Approach
- Short term: detect ESM impact on page load and show a user notice with instructions to exempt the site
- Medium term: submit
demo.dynamsoft.com to Microsoft's trusted site list