[heycam/webidl] Consider removing call to named property setter in legacy platform object [[Set]] (#630)

Test:
```html
<!DOCTYPE html>
<script>
sessionStorage.clear()
var a = new Proxy(sessionStorage.__proto__, {
  set(...args) { w(args); return false; },
});
sessionStorage.__proto__ = a;
sessionStorage.x = "foo";
w(sessionStorage.x)
</script>
```
Gecko and Chrome call proto.\[[Set]]() rather than taking the early return, as shown by the log:
```
log: object "[object Storage],x,foo,[object Storage]" (4 props: 0="[object Storage]", 1="x", 2="foo", 3="[object Storage]")
log: undefined
```
but WebKit may be following the spec:
```
log: foo
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/630

Received on Wednesday, 23 January 2019 11:23:22 UTC