From f8311a963171f89ecdb3f0a93df6a21325bd8226 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Fri, 17 Jan 2025 11:34:12 +0100 Subject: [PATCH] add validation --- index.bs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.bs b/index.bs index 60630315..2e441226 100644 --- a/index.bs +++ b/index.bs @@ -9784,6 +9784,10 @@ script=].
The [=remote end steps=] given |session| and |command parameters| are: +1. If |command parameters| [=map/contains=] "userContexts" + and |command parameters| [=map/contains=] "contexts", + return [=error=] with [=error code=] [=invalid argument=]. + 1. Let |function declaration| be the functionDeclaration field of |command parameters|.