Verify persisted settings and save-before-play through production updates
This commit is contained in:
@@ -335,3 +335,24 @@ No product behavior changes are involved in these measurement corrections.
|
||||
Keep browser/build/test processes idle during full timing measurements. WebKit's
|
||||
zero long-task field means unavailable, not zero work. Autoplay-blocked/media-ready
|
||||
null results do not establish playback performance or iPhone audio continuity.
|
||||
|
||||
## Existing-install settings preservation
|
||||
|
||||
```sh
|
||||
node perf/settings-persist.mjs --browser all --target main --allow-unsupported-webkit
|
||||
node perf/settings-persist.mjs --browser all --target 0b8e398 --allow-unsupported-webkit --out perf/results/settings-persist-live-base.json
|
||||
```
|
||||
|
||||
The harness archives b77938a and the requested target into worktree-local scratch,
|
||||
serves actual Bun servers at the same origin, sets values through Settings UI
|
||||
handlers, reloads, invokes the old banner's actual Refresh UI button, and diffs
|
||||
every `_ytpdata.settings` key and control. A real local H.264/AAC clip verifies
|
||||
OPFS storage and blob playback before/after in Chromium. A local HTTP proxy
|
||||
mocks profile timestamps for worker-owned fetches on both engines and tests
|
||||
backup import. There are no external profile writes or media requests.
|
||||
|
||||
Failures exit 1. Linux WebKit has no native OPFS; without the explicit allowance
|
||||
the unverified storage capability exits 2. The allowance only skips unsupported
|
||||
storage assertions; every preservation/profile/import assertion still runs.
|
||||
No storage shim substitutes for a genuine iPhone test. Snapshot results and the
|
||||
per-key table are in `plans/settings-persist-investigation.md`.
|
||||
|
||||
Reference in New Issue
Block a user