推进 INI 面板浏览器 control-page API methods 清单

This commit is contained in:
2026-06-15 06:14:16 +08:00
parent b5d36cf2a4
commit efc4bcf64f
5 changed files with 110 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ contract lists readonly status fields for `stateBundle`, `workflowStatus`,
The browser control page also exposes this contract through
`linuxCncIniPanelControlPageApi.getControlPageContract()`, so real iframe-based
smokes can verify the same API shape before reading the embedded panel state.
Use `linuxCncIniPanelControlPageApi.getControlPageApiMethods()` when a browser
outer page needs the exact exposed method list before calling the read-only
control page API.
Use `linuxCncIniPanelControlPageApi.readControlPageStatus()` when a browser
outer page needs the same readonly status snapshot from the real embedded
control page after save/load session workflows.