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

crash in test WebEngineViewLoadUrl::test_urlProperty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 Beta
    • 5.6
    • WebEngine
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: