- From: Shiino Yuki <notifications@github.com>
- Date: Mon, 15 Mar 2021 03:55:06 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 March 2021 10:55:18 UTC
> @yuki3 Is it possible to make the `[[Set]]` ignored? Currently it is an interop issue: Firefox throws (it should't since no `"use strict"` there, but ok), while Chrome creates expando `foo` property that shadows `<form name=foo>`. To my best understanding, this is simply a bug. We're forbidding `Object.defineProperty(wp, 'foo', {value: 1})` on purpose, but somehow assignments are mis-implemented. I'm now fixing this issue. IIUC, `[[Set]]` in this case will fallback to [`[[DefineOwnProperty]]`](https://heycam.github.io/webidl/#named-properties-object-defineownproperty) and the property won't be defined. Correct me if I'm wrong. -- 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/pull/963#issuecomment-799322301
Received on Monday, 15 March 2021 10:55:18 UTC