Closed Bug 1296237 Opened 4 years ago Closed 1 year ago

%ThrowTypeError% should be an anonymous function

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox51 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: triage-deferred)

Test case:
---
function getThrowTypeError() {
    "use strict";
    return Object.getOwnPropertyDescriptor(arguments, "caller").get;
}
assertEq(getThrowTypeError().hasOwnProperty("name"), false);
---

Expected: assertEq call succeeds
Actual: assertEq call fails

https://tc39.github.io/ecma262/#sec-%throwtypeerror%
Keywords: triage-deferred
Priority: -- → P3
Blocks: test262

No longer valid b/c spec is about to change → 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.