1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:07:34 +00:00

LibJS: Move additional notes to spec comments onto their own line

Having all spec comments verbatim on their own line with no additions
made by us will make it easier to automate comparing said comments to
their current spec counterparts.
This commit is contained in:
Linus Groh 2022-04-11 21:32:37 +01:00
parent 90f14de1e9
commit 24d772af7c
5 changed files with 14 additions and 7 deletions

View file

@ -52,7 +52,8 @@ ThrowCompletionOr<Value> Interpreter::run(Script& script_record)
// 2. Let scriptContext be a new ECMAScript code execution context.
ExecutionContext script_context(vm.heap());
// 3. Set the Function of scriptContext to null. (This was done in the construction of script_context)
// 3. Set the Function of scriptContext to null.
// NOTE: This was done during execution context construction.
// 4. Set the Realm of scriptContext to scriptRecord.[[Realm]].
script_context.realm = &script_record.realm();