From cfb884480e2dd2d2cfaa5fdea0f7d6bd518baf2a Mon Sep 17 00:00:00 2001 From: jgraham Date: Wed, 25 May 2022 13:29:25 +0100 Subject: [PATCH] Cleanup bikeshed warnings on master (#215) --- index.bs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.bs b/index.bs index c70af064..7f72eba1 100644 --- a/index.bs +++ b/index.bs @@ -1047,7 +1047,7 @@ To deserialize remote reference given |realm| and |remote reference|: 1. Let |handle map| be |realm|'s [=handle object map=] -1. If |handle map| does not contain |handle value|, then return [=error=] with +1. If |handle map| does not contain |handle id|, then return [=error=] with [=error code=] [=invalid argument=]. 1. Return |handle map|[|handle id|]. @@ -3451,8 +3451,8 @@ To get exception details given a |realm|, a [=completion record=] this data with regex or something equally bad. 1. Let |exception| be the result of [=serialize as a remote value=] given - |record|.\[[Value]], 1 as |max depth|, |ownership type|, - new map as |serialization internal map| and |realm|. + |record|.\[[Value]], 1 as max depth, |ownership type|, + a new [=Map=] as serialization internal map and |realm|. 1. Let |stack trace| be the [=stack trace for an exception=] given |record|. @@ -3580,7 +3580,7 @@ To get the realm info given |environment settings|:
|global object| is a [=Window=] object
1. Let |document| be |environment settings|' [=responsible document=]. - 1. Let |browsing context| be |document|'s [=browsing context=]. + 1. Let |browsing context| be |document|'s [=/browsing context=]. 1. Let |context id| be the [=browsing context id=] for |browsing context|. 1. Let |realm info| be a map matching the WindowRealmInfo production, with the realm field set to |realm id|, the origin @@ -3849,10 +3849,10 @@ other handles or strong ECMAScript references.
       ScriptDisownCommand = {
         method: "script.disown",
-        params: DisownParameters
+        params: ScriptDisownParameters
       }
 
-      GetRealmsParameters = {
+      ScriptDisownParameters = {
         handles: [Handle]
         target: Target;
       }
@@ -3939,8 +3939,8 @@ To deserialize arguments given |realm| and |serialized arguments list
 
 
 
-To evaluate function body with a given |function declaration|, -|environment settings|, |base URL|, |options| and |realm|: +To evaluate function body given |function declaration|, +|environment settings|, |base URL|, and |options|: Note: the |function declaration| is parenthesized and evaluated. @@ -3997,7 +3997,7 @@ The [=remote end steps=] with |command parameters| are: |command parameters|, if present, or none otherwise. 1. Let |function body evaluation status| be the result of [=evaluate function body=] - (|function declaration|, |environment settings|, |base URL|, |options| and |realm|). + (|function declaration|, |environment settings|, |base URL|, and |options|). 1. If |function body evaluation status|.\[[Type]] is throw, return [=error=] with [=error code=] [=invalid argument=]. @@ -4554,8 +4554,8 @@ ignore>options: 1. For each |arg| of |args|: 1. Let |serialized arg| be the result of [=serialize as a remote value=] given - |arg| as |value|, 1 as |max depth|, none as - |ownership type|, new map as |serialization internal map| and + |arg| as value, 1 as max depth, none as + ownership type, a new [=Map=] as serialization internal map, and |realm|. 1. Add |serialized arg| to |serialized args|.