[whatwg/webidl] Legacy platform objects' [[DefineOwnProperty]] refers to possibly nonexistent Desc.[[Value]] (Issue #1460)

### What is the issue with the Web IDL Standard?

Step 1.3 and 2.2.2.2 of [[[DefineOwnProperty]] for legacy platform objects](https://webidl.spec.whatwg.org/#legacy-platform-object-defineownproperty) refer to <var>Desc</var>.[[Value]]. It is unclear what should happen if <var>Desc</var> doesn't have a field named [[Value]]:

```js
Reflect.defineProperty(localStorage, "foo", { writable: true });
```


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

Message ID: <whatwg/webidl/issues/1460@github.com>

Received on Sunday, 5 January 2025 06:05:49 UTC