diff --git a/index.bs b/index.bs index f125c260..77383b74 100644 --- a/index.bs +++ b/index.bs @@ -4458,7 +4458,7 @@ To run WebDriver BiDi preload scripts given |environment setti script.Channel = text; -The script.Channel type represents the id of a specific channel +The script.Channel type represents the id of a specific channel used to send custom messages from the [=remote end=] to the [=local end=]. #### The script.ChannelValue Type #### {#type-script-ChannelValue} @@ -4598,11 +4598,13 @@ strong [=/map=] from handle ids to their corresponding objects. #### The script.LocalValue Type #### {#type-script-LocalValue} -[=Remote end definition=] and [=local end definition=] +[=Remote end definition=] -
+
 script.LocalValue = (
+  script.RemoteReference //
   script.PrimitiveProtocolValue //
+  script.ChannelValue //
   script.ArrayLocalValue //
   script.DateLocalValue //
   script.MapLocalValue //
@@ -4651,9 +4653,10 @@ script.SetLocalValue = {
 }
 
-The script.LocalValue type represents both primitive and -non-primitive values which can be deserialized to ECMAScript without reference -to existing objects. +The script.LocalValue type represents values which can be +deserialized into ECMAScript. This includes both primitive and non-primitive +values as well as [=script.RemoteReference|remote references=] and +[=script.Channel|channels=].
@@ -5232,7 +5235,7 @@ script.RemoteObjectReference = { }
-The script.RemoteReference type is either a +The script.RemoteReference type is either a script.RemoteObjectReference representing a remote reference to an existing ECMAScript object in [=handle object map=] in the given [=Realm=], or is a script.SharedReference representing a reference to a [=node=]. @@ -6384,18 +6387,11 @@ Note: In case of an arrow function in functionDeclaration, the functionDeclaration: text, awaitPromise: bool, target: script.Target, - ? arguments: [*script.ArgumentValue], + ? arguments: [*script.LocalValue], ? resultOwnership: script.ResultOwnership, ? serializationOptions: script.SerializationOptions, - ? this: script.ArgumentValue, + ? this: script.LocalValue, } - - script.ArgumentValue = ( - script.RemoteReference // - script.LocalValue // - script.ChannelValue - ); -
Result Type