RFR: 8353916: Unexpected event type for DOM mutation events with WebKit 620.1

Ambarish Rapte arapte at openjdk.org
Wed Apr 9 06:13:40 UTC 2025


On Tue, 8 Apr 2025 11:50:05 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:

> Issue: In WebKit 619.1, MutationEvent was properly handled and overridden, so casting to it worked as expected. In newer WebKit versions (like the one embedded in current JavaFX), MutationEvent is deprecated, and the actual event dispatched is just a generic DOM Event.
> Solution: restore the old style mutation event support, which will cause the returned events to again be instances of MutationEvent.

lgtm

-------------

Marked as reviewed by arapte (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1765#pullrequestreview-2752151578


More information about the openjfx-dev mailing list