Guard watchdog recovery from duplicate voice-mode resume

This commit is contained in:
Rod Boev committed 2026-06-11 19:24:57 -04:00
1 parent 4ba4f77343
commit a8137ff21c
2 files changed
+2 -1

No files matched your search

@@ -40,6 +40,7 @@ def test_browser_tts_callbacks_and_deactivate_clear_recovery_handles():
"Both browser TTS completion callbacks must clear watchdog/keep-alive handles."
)
assert "_browserTtsSuppressNextErrorRearm=false;" in speak_body
assert "_voiceModeActive&&_voiceModeState==='speaking'" in speak_body
assert "if(_browserTtsSuppressNextErrorRearm){" in speak_body
assert "_armBrowserTtsRecovery(clean, utter.rate);" in speak_body