Closed Bug 1479793 Opened Last year Closed Last year

Trying to define an accessor property with an integer name on a DOM proxy with an indexed setter should fail

Categories

(Core :: DOM: Bindings (WebIDL), enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Spun off from bug 1301754.  We don't do this right now, and neither does Safari, but the spec says to and chrome does.  So I suspect that this is fairly safe to do.
Comment on attachment 8996362 [details]
Bug 1479793.  Throw when someone tries to define an accessor property with an integer name on a DOM proxy with an indexed setter.  r=jorendorff,qdot

Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) has approved the revision.

https://phabricator.services.mozilla.com/D2571
Attachment #8996362 - Flags: review+
Comment on attachment 8996362 [details]
Bug 1479793.  Throw when someone tries to define an accessor property with an integer name on a DOM proxy with an indexed setter.  r=jorendorff,qdot

Jason Orendorff [:jorendorff] has approved the revision.
Attachment #8996362 - Flags: review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d5bb48ca0b9
Throw when someone tries to define an accessor property with an integer name on a DOM proxy with an indexed setter.  r=qdot,jorendorff
https://hg.mozilla.org/mozilla-central/rev/5d5bb48ca0b9
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.