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

Kevin Rushforth kcr at openjdk.org
Tue Apr 8 11:57:24 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.

Reviewers: @kevinrushforth @arapte

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

PR Comment: https://git.openjdk.org/jfx/pull/1765#issuecomment-2786189921


More information about the openjfx-dev mailing list