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

Discrepancy between WebEngine#load(String) and WebEngine#loadContent(String)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6
    • javafx
    • None
    • Windows XP 64 bit
      Java JDK 7u6

    • web

      When the following HTML is present within the file source passed to WebEngine#load(String) the page loads fine, but when the same HTML content is passed to WebEngine#loadContent(String) a blank page is shown (HTML file path in the first case is on a file system).

      <html>
      <head>
      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
      <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
      <script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
      </head>
      <body>TEST</body>
      </html>

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: