Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6
-
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.