From d0b80122464f87781159b8d4a683f55a81272b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Tue, 9 Jun 2026 11:53:43 +0200 Subject: [PATCH 1/3] Reject registerTool promise if signal is aborted --- index.bs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 6f86e33..777f073 100644 --- a/index.bs +++ b/index.bs @@ -399,9 +399,8 @@ The registerTool(tool, options Date: Tue, 9 Jun 2026 13:31:19 +0200 Subject: [PATCH 2/3] Update abort algorithm --- index.bs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/index.bs b/index.bs index 777f073..567dca7 100644 --- a/index.bs +++ b/index.bs @@ -395,6 +395,8 @@ The registerTool(tool, optionsregisterTool(tool, optionsregisterTool(tool, options Date: Wed, 17 Jun 2026 10:30:12 +0200 Subject: [PATCH 3/3] Fix unregister tool algorithm --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 567dca7..fd3c0bc 100644 --- a/index.bs +++ b/index.bs @@ -258,7 +258,7 @@ To unregister a tool given a {{ModelContext}} |mo 1. Let |tool map| be |modelContext|'s [=ModelContext/internal context=]'s [=model context/tool map=]. -1. [=Assert=] |tool map|[|tool name|] [=map/exists=]. +1. If |tool map|[|tool name|] does not [=map/exist=], then return. 1. Let |exposed origins| be |tool map|[|tool name|]'s [=tool definition/exposed origins=].