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

Synchron XMLHttpRequest not receiving data

    XMLWordPrintable

Details

    • web
    • b08
    • windows

    Backports

      Description

        Since an updated Webkit, synchron XMLHttpRequests do not receive the full data.
        Debugging shows, that the call to "twkDidReceiveData" in
        com.sun.webkit.network.URLLoader receives a buffer with the full length of received data. However the Network-dataReceived entry from the WebView-Debugger only shows 1 byte of data.

        Attached is a sample gradle project, that uses undertow to demonstrate this.
        This opens a WebViews, that has two links with onClick-handlers for XMLHttpRequests.
        In both cases a line with "["N","J","20.0.0.111","_","1030924534.5084621120561509448.7657568095387879952.0.0",3,"469033f83c8474486a45259c78f58a10"]" should be written to System.out.

        On "Sync" only "[" is written.

        Attachments

          Issue Links

            Activity

              People

                bae Andrew Brygin
                oschmidtmer Oliver Schmidtmer
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: