ScriptedDirectProxyHandler needs an objectClassIs trap to fix this. (It actually needs one to handle revoked proxies correctly, independent of this issue.)
Jeff: A DXR link and and a general outline of the fix turns this in to a great first bug.
Relevant discussion thread on es-discuss: <https://esdiscuss.org/topic/array-isarray-new-proxy-should-be-false-bug-1096753>
This bug should await TC39 discussing the spec issue next week. /be
es-discuss went ahead and made this into a more full-blown thing with property-gets, a canonical symbol, and a bit more. It's all rather more than seems to fit a mentored bug, at this point. (Tho it'd work fine for someone half a dozen patches into SpiderMonkey development, far enough to have a sense of SpiderMonkey idioms and such.)
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1111785
You need to log in before you can comment on or make changes to this bug.