On Wed, 5 Aug 2026 12:57:16 GMT, Jay Bhaskar <[email protected]> wrote:

> Issue: document.startViewTransition triggers texture update which is trying 
> to access GL based data which is not supported in JavaFX Webkit. 
> 
> Solution: After 623.1 upgrade, BitmapTexture and BitmapTextureJava are 
> unrelated class, since BitmapTextureJava::updateContent was no op code in 
> 622.1 upgrade, whose drawing method was commented out. JavaFX Webkit does not 
> have the OpenGL texture-upload and surface state hence making 
> BitmapTexture:updateContent method no op code for JavaFX Webkit platform 
> which restore 622.1 behavior. 
> 
> The TextureMapperTest.java test program covers JavaFX TextureMapper behavior, 
> the test pass with fix and failed without fix.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: caa8403b
Author:    Jay Bhaskar <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/caa8403b201ab027e5dbb5bb054f5ee3042e8928
Stats:     151 lines in 5 files changed: 148 ins; 2 del; 1 mod

8386859: WebView crashes when calling document.startViewTransition()

Reviewed-by: kcr, arapte

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

PR: https://git.openjdk.org/jfx/pull/2245

Reply via email to