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

Fix tst_QWebEnginePage::setHtmlWithImageResource test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7
    • WebEngine
    • None

    Description

      Loading local resources without having a local base url (a proper security origin), causes creation of "broken image" images instead of the requested images. The "broken images" do not get created in 5.6.

      Figure out if the "broken images" should not be created, just like in 5.6, or alternatively adapt the test.

      Things to note:
      1) If images are first requested with a proper secure origin, and afterwards without one, the "broken images" are created.
      2) If images are requested without a secure origin from the beggining, the "broken images" do not get created, and the test passes.

      It appears there is some dependency with leftover images, or a race-condition in regards to creation of images.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes