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

crash in test WebEngineViewLoadUrl::test_urlProperty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0 Beta
    • Component/s: WebEngine
    • Labels:
      None

      Description

      WebEngineViewLoadUrl::test_urlProperty crashes in the following part:

      var handleLoadFailed = function(loadRequest) {
          if (loadRequest.status == WebEngineView.LoadFailedStatus) {
              webEngineView.loadHtml("load failed", bogusSite)
              // Since the load did not succeed the active url is the
              // url of the previous successful load.
              compare(webEngineView.url, "about:blank")
              compare(loadRequest.url, bogusSite)
          }
      }
      webEngineView.loadingChanged.connect(handleLoadFailed)
      webEngineView.url = bogusSite
      compare(webEngineView.url, bogusSite)
      verify(webEngineView.waitForLoadSucceeded())
      compare(webEngineView.url, bogusSite)
      webEngineView.loadingChanged.disconnect(handleLoadFailed)
      

      The FrameTreeNode* retrieved from render_frame_host is 0 in WebContentsImpl::DidFailProvisionalLoadWithError.

        Attachments

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

          Activity

            People

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              jbornema Joerg Bornemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: