Closed Bug 1617585 Opened 4 years ago Closed 4 years ago

Remove steps 2 and 4 from ProxyCreate

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: yulia, Assigned: anba)

Details

Attachments

(1 file)

as discussed in: https://github.com/tc39/ecma262/pull/1814

Currently, ProxyCreate is sensitive to whether its arguments are revoked proxies. If either is, it throws a TypeError. This proposal alters the algorithm to remove that sensitivity. Its consequence is that a Proxy could be created successfully where target or handlers are revoked Proxy exotic objects. (It was already possible for such Proxies to exist — just not for them to be created while already in that state.)

We are waiting on tests and editor signoff. This reached consensus in the February 2020.

Priority: -- → P2
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8c80e8c358d0
Remove the revoked proxy check from ProxyCreate. r=evilpie
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: