Closed Bug 1296234 Opened 4 years ago Closed 1 year ago

Bound format and compare functions should be anonymous

Categories

(Core :: JavaScript: Internationalization API, defect, P3)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox51 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

Test case:
---
assertEq(Intl.Collator().compare.hasOwnProperty("name"), false);
assertEq(Intl.DateTimeFormat().format.hasOwnProperty("name"), false);
assertEq(Intl.NumberFormat().format.hasOwnProperty("name"), false);
---

Expected: All three assertEq calls pass
Actual: All three calls fail


https://tc39.github.io/ecma402/#sec-intl.collator.prototype.compare
https://tc39.github.io/ecma402/#sec-intl.numberformat.prototype.format
https://tc39.github.io/ecma402/#sec-intl.datetimeformat.prototype.format
Blocks: test262
Priority: -- → P3

No longer valid, see → bug 1574180

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.