Skip to content

Commit c6c24d4

Browse files
Remove Chromium note in serialization algorithm (#124)
1 parent 643b92c commit c6c24d4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

index.bs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,16 +251,11 @@ The <dfn method for=ModelContext>registerTool(<var>tool</var>)</dfn> method step
251251
<li><p><i>Throws a new {{TypeError}}</i> when the backing "<code>JSON.stringify()</code>"
252252
yields undefined, e.g.,
253253
"<code>inputSchema: { toJSON() {return HTMLDivElement;}}</code>", or
254-
"<code>innputSchema: { toJSON() {return undefined;}}</code>".</p></li>
254+
"<code>inputSchema: { toJSON() {return undefined;}}</code>".</p></li>
255255

256256
<li><p><i>Re-throws exceptions</i> thrown by "<code>JSON.stringify()</code>", e.g., when
257257
"<code>inputSchema</code>" is an object with a circular reference, etc.</p></li>
258258
</ol>
259-
260-
<p class="XXX">Currently, the only implementation of this spec (Chromium) does not throw
261-
exceptions in the first case above. And for the second case, Chromium throws new {{TypeError}}
262-
exceptions, as opposed to <em>re-throwing</em> the original exception. We <span
263-
class=allow-2119>should</span> reconcile this difference.</p>
264259
</div>
265260

266261
1. Let |read-only hint| be true if |tool|'s {{ModelContextTool/annotations}} [=map/exists=], and if

0 commit comments

Comments
 (0)