summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests')
-rw-r--r--tests/auto/quick/qmltests/data/tst_newViewRequest.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_newViewRequest.qml b/tests/auto/quick/qmltests/data/tst_newViewRequest.qml
index c79a3aee8..ac402674d 100644
--- a/tests/auto/quick/qmltests/data/tst_newViewRequest.qml
+++ b/tests/auto/quick/qmltests/data/tst_newViewRequest.qml
@@ -69,9 +69,11 @@ TestWebEngineView {
"}", webEngineView);
if (viewType === "dialog")
- dialog.webEngineView.acceptAsNewView(request);
+ request.openIn(dialog.webEngineView);
+ else if (viewType === "null")
+ request.openIn(0);
else if (viewType === "webEngineView")
- webEngineView.acceptAsNewView(request);
+ request.openIn(webEngineView);
}
TestCase {