Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

Clarify timeout: the runtime-lifecycle harness provides the new readiness promise

Barack Sokulluc5e41c974206
diff --git a/test/runtime-lifecycle.mjs b/test/runtime-lifecycle.mjs
index ca49fc571..2c39d1e59 100644
--- a/test/runtime-lifecycle.mjs
+++ b/test/runtime-lifecycle.mjs
@@ -397,7 +397,8 @@ async function chatInputFixture(browser) {
assertNoActiveTabRun:() => { effects.run++; throw reached; },
};
for (const key of ['planBeforeActReady','planReviewReady','customSkillsReady','userMemoryReady','imageGenConfigReady','browserBatchEnabledReady',
- 'alwaysAllowApiMutationsReady','strictSecretModeReady','webMcpEnabledReady','screenshotRedactionReady','imageBudgetReady','researchEscalationReady']) context[key] = Promise.resolve();
+ 'alwaysAllowApiMutationsReady','strictSecretModeReady','webMcpEnabledReady','screenshotRedactionReady','imageBudgetReady','researchEscalationReady',
+ 'clarifyTimeoutReady']) context[key] = Promise.resolve();
const functions = ['assertChatRequestInput', 'handleMessage'].map(name => chatInputFunction(source,name)).join('\n');
chatInputVM.runInNewContext(functions + '\nglobalThis.request = handleMessage;', context);
return { effects, reached, request:msg => context.request({ tabId:73, ...msg }, {}) };