archives

« Bugzilla Issues Index

#3823 — chapter 8: misc editorial


----------------------------------------
In 8.1.1.4.7 "DeleteBinding (N)":

{1}
8.1.1.4.7 / step 5.c.i:
Let /varNames/ be /envRec/.[[VarNames]] List.

Delete "List".

----------------------------------------
In 8.1.1.5.1 "GetBindingValue(N,S)":

{2}
8.1.1.5.1 / step 3.a:
Assert: /M/ and /N2/ are the indirection values provided when this binding for
/N/ was created.

This is a misuse of Assert.
Change to "Let /M/ and /N2/ be the indirection..."

----------------------------------------
In 8.1.2.5 "NewGlobalEnvironment ( G ) Abstract Operation":

{3}
8.1.2.5 / step 3:
Set /objRec/'s /unscopables/ to an empty List.

'unscopables' isn't a component of object environment record any more.
Delete the step.

----------------------------------------
In 8.2.2 "CreateIntrinsics ( realmRec ) Abstract Operation":

{4}
8.2.2 / step 5:
Let /throwerSteps/ be the algorithm steps of the %ThrowTypeError% function
(9.2.8.1).

It's slightly incongruous to refer to the steps of a function
that hasn't been created yet.
Of course, the algorithm exists, even though the function doesn't.
Maybe change "of" to "specified for".

{5}
8.2.2 / step 9:
Let /funcProto/ be the CreateBuiltinFunction(/realmRec/, /noSteps/, /objProto/).

Delete extraneous "the"

----------------------------------------
In 8.2.3 "SetRealmGlobalObj ( realmRec, globalObj ) Abstract Operation":

{6+7}
8.2.3 / step 3 + 4:
Set /realmRec/.[[globalThis]] to /newGlobal/.
Let /newGlobalEnv/ be NewGlobalEnvironment(/newGlobal/).

'newGlobal' isn't defined. s|newGlobal|globalObj|

----------------------------------------
In 8.4.1 "EnqueueJob ( queueName, job, arguments) Abstract Operation":

{8}
8.4.1 / step 7:
Perform any implementation or host environment defined processing of /pending/.
This may including modify the [[HostDefined]] field ...

s|including modify|include modifying|

----------------------------------------
In 8.5 "Initialization":

{9}
8.5 / header:

Add "()" to indicate no parameters.

{10+11}
8.5 / step 8.a.ii, 8.b.i:
EnqueueJob("ScriptJobs", ScriptEvaluationJob, <</sourceCodeId/>>).
EnqueueJob("ScriptJobs", ModuleEvaluationJob, <</sourceCodeId/ >>).

For consistency with other invocations, insert "Perform" before "EnqueueJob"

----------------------------------------
In 8.5.1 "InitializeFirstRealm ( realm ) Abstract Operation":

{12}
8.5.1 / step 3:
Perform SetRealmGlobalObject(/realm/, /global/).

s|Object|Obj|
(or change the name of the abstract operation)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


fixed in rev33 editor's draft


fixed in rev33