Re: [whatwg/webidl] The attribute setter operation mismatch between browsers for the arguments count (Issue #1497)

arai-a left a comment (whatwg/webidl#1497)

Yes, the possible modification is the following, for steps 4.1-2.

```
  4. Let steps be the following series of steps:
    1. If no arguments were passed, let V be undefined.
    2. Otherwise, let V be the value of the first argument passed.
```

To my understanding, this:
  * matches Safari for all cases
  * matches Chrome for a half cases
  * matches Firefox for LegacyLenientThis case

and also:
  * effectively matches what ECMAScript built-ins would do for the same situation


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

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

Received on Monday, 30 June 2025 13:52:31 UTC