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

Webengine doesn't allow to open local content from html files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.7.0
    • WebEngine
    • None

    Description

      Splitting out an unresolved issue from the closed bug report https://bugreports.qt.io/browse/QTBUG-52085

      If you copy 'test.png' to C: and run local.py, you get:
      js: Not allowed to load local resource: file:///C:/test.png
      This is with pyqt 5.7 installed through pip on Windows 10.

      Even "--disable-web-security" doesn't seem to help.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            urnammu Peter Bienstman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes