whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
7.86k stars 2.57k forks source link

ECMAScript's OrdinaryFunctionCreate has another new parameter #10271

Open Ms2ger opened 2 months ago

Ms2ger commented 2 months ago

What is the issue with the HTML Standard?

OrdinaryFunctionCreate now has env and privateEnv arguments, but is called with a scope argument instead in getting the current value of the event handler.

annevk commented 2 months ago

It seems you added the new parameter in https://github.com/tc39/ecma262/pull/1667 and after that there was a non-normative rename of the arguments by @jmdyck.

cc @ljharb

ljharb commented 2 months ago

https://github.com/tc39/ecma262/pull/1668 is the class fields PR that was subsumed by.