[heycam/webidl] Normative: Match ECMA‑262 function property enumeration order (#914)

This makes the order of the `"length"`, `"name"` and `"prototype"` properties on **WebIDL** function objects match web reality (at least **Firefox**’s behaviour) and **ECMA‑262** as of <https://github.com/tc39/ecma262/pull/1490>.


I’ve also moved the computation of the function’s `name` and `length` to before the [CreateBuiltinFunction] call in preparation for <https://github.com/tc39/ecma262/pull/2116>.


[CreateBuiltinFunction]: https://tc39.es/ecma262/#sec-createbuiltinfunction

You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/914


-- Commit Summary --

  * Normative: Match ECMA‑262 function property enumeration order

-- File Changes --

    M index.bs (62)

-- Patch Links --

https://github.com/heycam/webidl/pull/914.patch

https://github.com/heycam/webidl/pull/914.diff


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/914

Received on Thursday, 3 September 2020 05:16:04 UTC