Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67337

Unable to capture XMLHttpRequest events from a Javascript file run by QQmlEngine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.12.0 Alpha
    • 5.10.1, 5.11.1
    • None
    • Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.1.1 20180531) on "xcb"
      OS: Arch Linux [linux version 4.17.4-1-ARCH]
    • 70f73add3aedcaab07beeda470b7da5ab94dffe8 51b73e0bb68812d78315af032546750d04656c02

      I have a javascript file that uses the XMLHttpRequest object to fetch JSON data from web services. Its code runs fine under Firefox 59.0.1, Chromium 65.0.3325.181 and Opera 51.0.2830.55 , however it does not run under a QQmlEngine object.

      Qt can successfully run the startup javascript function, but it does not process events triggered by any of the XMLHttpRequest instances.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            shausman Simon Hausmann
            amg1127 Anderson Gomes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes