Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8180825

Javafx WebView fails to render pdf.js

    Details

    • Subcomponent:
      web
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.8.0_131"
        Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
        Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [version 6.3.9600]

        A DESCRIPTION OF THE PROBLEM :
        Webview of javafx v1.8.0_131 isn't able to display demo page of pdf.js ("https://mozilla.github.io/pdf.js/web/viewer.html").

        This works in previous versions of java.

        REGRESSION. Last worked in version 8u112


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        //import com.mohamnag.fxwebview_debugger.DevToolsDebuggerServer;

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

        public class WebView131Test extends Application
        {
        public static void main(String[] args)
        {
        launch(args);
        }

        @Override
        public void start(Stage primaryStage) throws Exception
        {
        WebView browser = new WebView();
        WebEngine webEngine = browser.getEngine();
        webEngine.setOnError(event -> System.err.println(event.getMessage()));
        webEngine.setOnAlert(event -> System.err.println(event.getData()));

        webEngine.setJavaScriptEnabled(true);
        webEngine.load("https://mozilla.github.io/pdf.js/web/viewer.html");

        Scene scene = new Scene(browser);
        primaryStage.setScene(scene);

        primaryStage.show();

        // try{
        // DevToolsDebuggerServer.startDebugServer(webEngine.impl_getDebugger(), 51742);
        // }
        // catch(Exception e){
        // e.printStackTrace();
        // }
        // primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>(){
        // @Override
        // public void handle(WindowEvent event){
        // try{
        // DevToolsDebuggerServer.stopDebugServer();
        // }
        // catch(Exception e){
        // e.printStackTrace();
        // }
        // }
        // });

        }

        }

        ---------- END SOURCE ----------

        1. WebView131Test.java
          1 kB
          Priyanka Mangal
        1. MiniBrowser_Screenshot.png
          1.23 MB

          Issue Links

            Activity

            webbuggrp Webbug Group created issue -
            pmangal Priyanka Mangal made changes -
            Field Original Value New Value
            Assignee Priyanka Mangal [ pmangal ]
            pmangal Priyanka Mangal made changes -
            Status New [ 10000 ] Open [ 1 ]
            pmangal Priyanka Mangal made changes -
            Labels regression webbug dcsprm regression webbug
            pmangal Priyanka Mangal made changes -
            Labels dcsprm regression webbug dcsprm regression reproducer-yes webbug
            pmangal Priyanka Mangal made changes -
            Attachment WebView131Test.java [ 70209 ]
            pmangal Priyanka Mangal made changes -
            OS other [ 17019 ] generic [ 17010 ]
            pmangal Priyanka Mangal made changes -
            CPU x86 [ 17004 ] generic [ 17008 ]
            pmangal Priyanka Mangal made changes -
            Affects Version/s 9 [ 16400 ]
            pmangal Priyanka Mangal made changes -
            Assignee Priyanka Mangal [ pmangal ]
            pmangal Priyanka Mangal made changes -
            Project Java Incidents [ 10301 ] JDK [ 10100 ]
            Key JI-9049218 JDK-8180825
            Workflow JBS Incident Workflow [ 4942755 ] JBS Workflow [ 4942755 ]
            Component/s javafx [ 11900 ]
            Component/s javafx [ 11901 ]
            Affects Version/s 8u131 [ 18707 ]
            Affects Version/s 9 [ 14949 ]
            Affects Version/s 9 [ 16400 ]
            Affects Version/s 8u131 [ 18703 ]
            Introduced In Version 8u131 [ 18707 ]
            pmangal Priyanka Mangal made changes -
            Subcomponent web [ 1406 ] web [ 1389 ]
            pmangal Priyanka Mangal made changes -
            Status Open [ 1 ] New [ 10000 ]
            pmangal Priyanka Mangal made changes -
            Link This issue duplicates JDK-8143604 [ JDK-8143604 ]
            pmangal Priyanka Mangal made changes -
            Link This issue duplicates JDK-8088852 [ JDK-8088852 ]
            vdyakov Victor Dyakov made changes -
            Assignee Guru Hb [ ghb ]
            kcr Kevin Rushforth made changes -
            Summary Javafx WebView regression JavaFX WebView fails to display pdf.js
            kcr Kevin Rushforth made changes -
            Summary JavaFX WebView fails to display pdf.js JavaFX WebView fails to display pdf.js viewer
            mbilla Murali Billa made changes -
            Assignee Guru Hb [ ghb ] Murali Billa [ mbilla ]
            kcr Kevin Rushforth made changes -
            Priority P3 [ 3 ] P2 [ 2 ]
            mbilla Murali Billa made changes -
            Status New [ 10000 ] Open [ 1 ]
            mbilla Murali Billa made changes -
            Fix Version/s 10 [ 16302 ]
            mbilla Murali Billa made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vdyakov Victor Dyakov made changes -
            Fix Version/s 9 [ 14949 ]
            Fix Version/s 10 [ 16302 ]
            ghb Guru Hb made changes -
            Summary JavaFX WebView fails to display pdf.js viewer Javafx WebView fails to render pdf.js
            ghb Guru Hb made changes -
            Fix Version/s 10 [ 16302 ]
            Fix Version/s 9 [ 14949 ]
            ghb Guru Hb made changes -
            Fix Version/s 9 [ 14949 ]
            Fix Version/s 10 [ 16302 ]
            mbilla Murali Billa made changes -
            Attachment MiniBrowser_Screenshot.png [ 70314 ]
            vdyakov Victor Dyakov made changes -
            Due Date 2017-06-09
            vdyakov Victor Dyakov made changes -
            Due Date 2017-06-09 2017-06-16
            arajkumar Arunprasad Rajkumar made changes -
            Assignee Murali Billa [ mbilla ] Arunprasad Rajkumar [ arajkumar ]
            arajkumar Arunprasad Rajkumar made changes -
            Labels dcsprm regression reproducer-yes webbug dcsprm regression reproducer-yes review-requested webbug
            arajkumar Arunprasad Rajkumar made changes -
            Labels dcsprm regression reproducer-yes review-requested webbug dcsprm noreg-other regression reproducer-yes review-requested webbug
            arajkumar Arunprasad Rajkumar made changes -
            Labels dcsprm noreg-other regression reproducer-yes review-requested webbug dcsprm jdk9-fix-request noreg-other regression reproducer-yes review-requested webbug
            vdyakov Victor Dyakov made changes -
            Labels dcsprm jdk9-fix-request noreg-other regression reproducer-yes review-requested webbug 8-bp dcsprm jdk9-fix-request noreg-other regression reproducer-yes review-requested webbug
            arajkumar Arunprasad Rajkumar made changes -
            Labels 8-bp dcsprm jdk9-fix-request noreg-other regression reproducer-yes review-requested webbug 8-bp dcsprm jdk9-fix-request noreg-other regression reproducer-yes webbug
            kcr Kevin Rushforth made changes -
            Labels 8-bp dcsprm jdk9-fix-request noreg-other regression reproducer-yes webbug 8-bp dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            arajkumar Arunprasad Rajkumar made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            pmangal Priyanka Mangal made changes -
            Link This issue relates to JDK-8182150 [ JDK-8182150 ]
            arajkumar Arunprasad Rajkumar made changes -
            Link This issue backported by JDK-8182277 [ JDK-8182277 ]
            ghb Guru Hb made changes -
            Labels 8-bp dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug 8-bp CPU17_04-critical-watch dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            ghb Guru Hb made changes -
            Labels 8-bp CPU17_04-critical-watch dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug 8-bp CPU17_04-critical-request dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            pmohan Praveen Mohan made changes -
            Labels 8-bp CPU17_04-critical-request dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-request dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            ydagra Yashi Dagra made changes -
            Labels 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-request dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-approved dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            prr Philip Race made changes -
            Link This issue backported by JDK-8184395 [ JDK-8184395 ]
            dbuck David Buck made changes -
            Labels 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-approved dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug CPU17_04-critical-SQE-OK CPU17_04-critical-approved dcsprm jdk9-fix-request jdk9-fix-yes noreg-other regression reproducer-yes webbug
            ghb Guru Hb made changes -
            Link This issue relates to JDK-8187344 [ JDK-8187344 ]

              People

              • Assignee:
                arajkumar Arunprasad Rajkumar
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: