- From: Ms2ger <notifications@github.com>
- Date: Wed, 23 Jan 2019 03:23:00 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 January 2019 11:23:22 UTC
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