Skip to content

Commit b8617aa

Browse files
authored
Fix typos in two explainer files (#203)
1 parent ec37ec4 commit b8617aa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ By default, WebMCP is enabled in top-level `Window`s and its same-origin iframes
321321
<iframe src="https://chat-bot-provider.example/" allow="tools"></iframe>
322322
```
323323

324-
Calls to `document.modelContext.registerTool()` will return a promise rejected with `NotAllowedError` DOMException when the permission is disabled, whether by the `allow` attribute or the `Permissions-Policy: tools=()` header. Handling of declarative tool registration errors, including when the permisssion is disabled is TBD; see [Issue #182](https://github.com/webmachinelearning/webmcp/issues/182).
324+
Calls to `document.modelContext.registerTool()` will return a promise rejected with `NotAllowedError` DOMException when the permission is disabled, whether by the `allow` attribute or the `Permissions-Policy: tools=()` header. Handling of declarative tool registration errors, including when the permission is disabled is TBD; see [Issue #182](https://github.com/webmachinelearning/webmcp/issues/182).
325325

326326
#### Cross-origin iframe exposure: `exposedTo`
327327

declarative-api-explainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ TODO: The exact algorithms reducing a form, its form-associated elements, and *t
109109
like [`step`](https://html.spec.whatwg.org/C#the-step-attribute) and
110110
[`min`](https://html.spec.whatwg.org/C#attr-input-min) is TBD. We need to concretely specify how
111111
various form-associated elements like `<input>` and `<select>` reduce to a JSON Schema that includes
112-
`anyOf`, `oneOf`, and `maximum`/`mininum` declarations.
112+
`anyOf`, `oneOf`, and `maximum`/`minimum` declarations.
113113

114114
Chromium is implementing a loose version of this and will conduct testing/trials to see if what
115115
we've come up with should be supported by the community as a general approach.

0 commit comments

Comments
 (0)