Repository navigation
Commit 44af7f5
committed
test(webui): keep a Mini App's view URL stable across a proxy restart
Closes #255's stability criterion with evidence. The page's `localStorage` and
`IndexedDB` are keyed by its origin, so a port that moved between runs would silently
discard the page's own state. The derived port is a pure function of the plugin id, and
this asserts the property end to end: start on the derived port, close, start again from
a fresh derivation, and the view URL is identical.
Verified: pnpm typecheck:webui; the focused suite (9 cases).1 parent 5ca1c6e commit 44af7f5
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
151 | 173 | | |
152 | 174 | | |
153 | 175 | | |
| |||
0 commit comments