diff --git a/index.bs b/index.bs index dcc00cd..c896150 100644 --- a/index.bs +++ b/index.bs @@ -52,7 +52,8 @@ Die On: warning .XXX { color: #D50606; - background: white; + /* The value #111 is what WHATWG uses in dark mode: `--xxx-bg: #111;`. */ + background: light-dark(white, #111); border: solid #D50606; } @@ -79,6 +80,11 @@ p + dl.props { margin-top: -0.5em; } } +
+spec:html; type:dfn; + text:form-associated element ++
navigator.{{Navigator/modelContext}}.{{ModelContext/provideContext(options)}}The serialization algorithm above throws exceptions in the following cases:
+ +Throws a new {{TypeError}} when the backing "JSON.stringify()"
+ yields undefined, e.g.,
+ "inputSchema: { toJSON() {return HTMLDivElement;}}", or
+ "innputSchema: { toJSON() {return undefined;}}".
Re-throws exceptions thrown by "JSON.stringify()", e.g., when
+ "inputSchema" is an object with a circular reference, etc.
Currently, the only implementation of this spec (Chromium) does not throw + exceptions in the first case above. And for the second case, Chromium throws new {{TypeError}} + exceptions, as opposed to re-throwing the original exception. We should reconcile this difference.
+
{
"mcp": {
@@ -311,6 +429,16 @@ The requestUserInteraction(callba
}
+