Closed Bug 918160 Opened 11 years ago Closed 9 years ago

Set.js contains lots of .call()

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 987243

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

I think all these need to be replaced with callFunction.
Lest I get pegged with the review I'm taking this.
Assignee: general → jorendorff
Attached patch v1 (deleted) — Splinter Review
This patch changes the error message when you do something silly like: js> var obj = new Date; js> obj.forEach = Map.prototype.forEach; js> obj.forEach(_ => _) typein:3:0 TypeError: entries method called on incompatible Date It used to say "unknown type object".
Attachment #807714 - Flags: review?(till)
Comment on attachment 807714 [details] [diff] [review] v1 Review of attachment 807714 [details] [diff] [review]: ----------------------------------------------------------------- There's nothing not to love about this.
Attachment #807714 - Flags: review?(till) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: