Fix browser node lifetime and fail closed on unknown protection

Retire ATK nodes without accessing freed children or retaining dangling parent and ID pointers. Treat failed and malformed MSAA state queries as protected, and initialize worker logging before argument validation.

Add publisher lifetime and worker privacy regressions, correct the publisher build target dependency, and remove both browser artifacts during uninstall.

Validation: build, all 12 CTests, updated startup-error regression, AddressSanitizer lifetime check, shellcheck, and temporary-prefix removal check passed. Live speech and Braille acceptance remains separate.
This commit is contained in:
Storm Dragon committed 2026-12-02 23:22:12 -05:00
1 parent 9c1fc644ba
commit 6bdd04cce1
8 files changed
+150 -11

No files matched your search

+4
View File
@@ -89,6 +89,10 @@ Rules established by comparison with native Chromium 158 and Electron 42:
## Verification
- `ctest -R 'browser-publisher-lifetime|browser-worker-privacy'`: checks node
retirement, replacement ID ownership, retained defunct objects, failed or
malformed password-state queries, and worker argument-error logging.
Unknown protection is treated as protected before reading values or text.
- `ctest -R browser-publisher-snapshot`: publishes a recorded Electron 45
snapshot (no Wine) and compares the tree, including text boundaries, with
native Chromium 158 and Electron 42.