Open
Description
Global disabling of .prototype
and .constructor
keys is unlikely to be viable. Node does have --disable-proto
that it wished to turn on by default and even then the ecosystem has struggled to make it work (last run of our ecosystems tests still had it failing). I think deleting of __proto__
is possible but harder than framed given attempt to do so already.
Unfortunately due to some specifications like web components properties on these are intended to be accessed and would require major shifts to make them change not just in specifications but also in polyfills etc. See https://html.spec.whatwg.org/multipage/custom-elements.html#element-definition
Metadata
Metadata
Assignees
Labels
No labels