JDK-8119855 : WebView fails to render famo.us
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-07-23
  • Updated: 2015-06-17
  • Resolved: 2013-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Duplicate :  
Relates :  
Description
The following fails to render anything beyond the initial blurry background image. Maybe the JS engine dies? Not sure.


import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
import javafx.stage.Stage;

/**
 */
public class HelloWebView extends Application {
    @Override public void start(Stage stage) throws Exception {
        WebView web = new WebView();
        web.getEngine().load("http://famo.us/");
        Scene scene = new Scene(web);
        stage.setScene(scene);
        stage.setTitle("HelloWebView");
        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}

Comments
Sorry, the last comment was for the link from the new issue to this. But by some reason I can't delete it.
06-11-2013

I'm not sure, but maybe the fix for that issue broke this one
06-11-2013

I'm marking it as verified and it's really rendered but incorrect, so maybe there were some workaround that made it render but incorrectly. So I'll open the new bug and link this to the new. Verified in Lombard b112
06-11-2013

The regression has been fixed as part of RT-32039. What remains is 3D transform support which is tracked by RT-31887.
09-10-2013

I see that with JDK8 b106 the famo.us website still does not display properly but there has obviously been some improvements and it looks like it's nearly there. Now the animations are visible and they seem to perform at a very acceptable speed but they are not quite correct in that they do not display the correct formations of the tiles.
11-09-2013

There are at least two problems here. The first one is reported by RT-32039 (Yandex Maps are broken after sync with WebKit trunk) and is currently being fixed. The second one is RT-31887 (WebView 3D transforms are wrong), and we don't have a solution for it yet.
02-08-2013

This has likely (and somewhat expectedly) been broken by the recent sync with WebKit trunk, see RT-31450. As to why the page in question is so slow to render in 2.2.5, it really looks like the page is the case for the so-called "accelerated compositing", see RT-22913, which was not implemented in WebView until 8 (and, as you can see, still requires further polishing), which explains the slowness in 2.2.5. If you want to see how much the page in question relies on accelerated compositing, try running Chrome as follows and open the page in it: chrome.exe --show-composited-layer-borders The page's reliance on accelerated compositing comes from its heavy use of CSS animations, if that matters. There of course can be other reasons for slowness, but accelerated compositing is the main one I suspect.
24-07-2013

This appears to be a regression from previous releases.
23-07-2013