Skip to content

[Bug] Demo loads ~15s in Edge when Enhanced Security Mode is active #6

@Tom-Dynamsoft

Description

@Tom-Dynamsoft

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

  1. Open Edge 145.0.3800.58 (64-bit)
  2. Navigate to the demo page
  3. Toggle Enhanced Security via lock icon → site info panel
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions