Property creation order for "length", "name", and "prototype" in classes

NEW
Unassigned

Status

()

P3
normal
2 years ago
a year ago

People

(Reporter: anba, Unassigned)

Tracking

(Blocks: 2 bugs, {triage-deferred})

Trunk
triage-deferred
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox53 affected)

Details

(Reporter)

Description

2 years ago
Test case:
---
class C { static m(){} }

print(Object.getOwnPropertyNames(C));
---

Expected: Prints "length,prototype,m,name"
Actual: Prints "prototype,m,length,name"


ES2017 spec:
https://tc39.github.io/ecma262/#sec-runtime-semantics-classdefinitionevaluation
https://tc39.github.io/ecma262/#sec-runtime-semantics-bindingclassdeclarationevaluation
Keywords: triage-deferred
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.