Re: [WICG/webcomponents] rethrown 'change' events lose `isTrusted` flag (Issue #1016)

I can confirm the issue. I just tried this code to re-dispatch:

```js
requestAnimationFrame(() => this.dispatchEvent(event));
```

When doing this, the `isTrusted` is `true` in the rAF handler before calling dispatch. After dispatching, when the receiver inspects the event object, it is now `false` even though no changes have been made to the event by user code.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1016#issuecomment-1613434898
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1016/1613434898@github.com>

Received on Thursday, 29 June 2023 15:42:51 UTC