# Test Run Mode / dev-0.4.5

UnifiedControl Designer can now run the current `ContentControl.content` in a runtime preview surface.

## Modes

- Safe Preview: renders the content for visual inspection and never binds or executes event-handler code.
- Test Run: renders the content through `ContentControlRuntimeRenderer` and binds component events. Handler code runs only when `allowTestRunScriptExecution` is explicitly true.
- Stop Test Run: disposes runtime event bindings and closes the Test Run dialog.

## Commands

- `showSafePreview`
- `testRunContent`
- `stopTestRun`

## Runtime services

- `ContentControlRuntimeRenderer`: converts the ComponentTree to actual input/button/container DOM.
- `EventBindingService`: maps component event definitions to runtime DOM events.
- `RestrictedScriptRunner`: executes handler code only when the Host/test option permits it.

## Security stance

Loaded handler code is never executed during Open. Test Run defaults to script-disabled mode. Enabling scripts is a Host/demo option and should be treated as trusted-author debugging, not as a production sandbox.
