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

QWebEnginePage::WebWindowType not covered by tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.2, 6.6.0
    • 6.5.0
    • WebEngine
    • None

    Description

      We run web engine page test with tst_qwebenginepage ,however
      function QWebEnginePage::createWindow has WebWindowType parameter
      which is never tested.

      Create test function which checks if WebWindowType is correct type

      to trigger for example QWebEnginePage::WebDialog

      following content has to be loaded:

      https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_opener

      when button is clicked QWebEnginePage::createWindow should be called with WebWindowType == WebDialog

      Attachments

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

        Activity

          People

            anualiyas Anu Aliyas
            michal Michal Klocek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes