Files
alehel 504595dfa8 fix(js): an XFA click past its 32 questions gets the safe default in every session
Review on #6984: past the 32nd question, a click split across script
sessions gave the later message boxes their buttons' safe default (the
click-wide limiter answers nothing), but a single session failed with
"too many interactive prompts" (interaction::reserve), so a form could
take its error path in one case and go on in the other. XfaHost's
message box now asks only while interaction::can_ask() and otherwise
gives the safe default, as the PR describes; the 32-question bound is
unchanged. FormCalc's $host.messageBox goes through the same path.
AcroForm app.alert keeps its own limit.

Test: an_xfa_click_asks_at_most_32_questions now asserts what the
script receives: 32 asked and answered Yes, the other 28 get No without
being asked, and the script completes (seen failing without the fix:
"too many interactive prompts").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 18:56:44 +01:00
..