Skip to content

fix: preserve page state during iframe refresh - #33

Open
LIlGG wants to merge 1 commit into
halo-dev:mainfrom
LIlGG:feat/fix-page-refresh-rollback
Open

fix: preserve page state during iframe refresh#33
LIlGG wants to merge 1 commit into
halo-dev:mainfrom
LIlGG:feat/fix-page-refresh-rollback

Conversation

@LIlGG

@LIlGG LIlGG commented Aug 27, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

  • 将脚本更新后的 iframe 原生刷新替换为受控重建。
  • 重建前保存当前页面 DOM 快照,避免当前会话的修改被旧文档覆盖。
  • 补充脚本更新和页面重建的回归测试。

Which issue(s) this PR fixes:

Related to lxware-dev/upage#76

Does this PR introduce a user-facing change?

修复 Agent 修改页面后,页面刷新可能导致当前会话修改丢失的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant