add unsafe-eval to CSP (El native_js compatibility) #88

Merged
will.anderson merged 1 commits from fix/stage-ci-paths into dev 2026-05-11 16:44:57 +00:00
Owner

El runtime native_js() compiles to eval(). checkout-auth.el uses it for all auth logic. CSP was blocking eval, leaving window.showSignIn / window.initStripe undefined and all checkout E2E tests failing.

El runtime native_js() compiles to eval(). checkout-auth.el uses it for all auth logic. CSP was blocking eval, leaving window.showSignIn / window.initStripe undefined and all checkout E2E tests failing.
will.anderson added 1 commit 2026-05-11 16:44:48 +00:00
add unsafe-eval to CSP for El runtime native_js() compatibility
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 3m9s
90f7c3655e
El's native_js() compiles to eval(). checkout-auth.el uses native_js()
to embed the auth logic, so all window globals (showSignIn, initStripe,
etc.) live inside an eval call. Stage CSP was blocking it, leaving the
page with no auth functions defined.
will.anderson merged commit acca3cfddf into dev 2026-05-11 16:44:57 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#88