Re: [whatwg/webidl] `Legacy platform object [[Set]]` inconsistent with default JavaScript `[[Set]]` behavior (Issue #1536)

annevk left a comment (whatwg/webidl#1536)

I agree that Chromium doing something else might give us wiggle room, but Chromium today does not throw either. Oh but they do with `"use strict"` (although in that case Firefox also throws it seems). Some more tests for both non-strict and strict cases would help here as I think all browsers diverge a bit in behavior. E.g., I don't see WebKit rejecting your `obj[0] = 42` example.

Maybe @evilpie, and @mgaudet can give opinions for Mozilla?

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

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

Received on Friday, 26 June 2026 13:02:00 UTC