From 83a6c1b92f38b4b0bdb3f90d67be7bb1e4caef7a Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 6 Aug 2014 14:58:33 +0200 Subject: Move the runJavaScript function from experimental to public API This is essential API that should be public. Change-Id: Ifbd86171933936112e2495ebed074faa2e52464d Reviewed-by: Jocelyn Turcotte --- tests/auto/quick/publicapi/tst_publicapi.cpp | 2 ++ tests/auto/quick/qmltests/data/TestWebEngineView.qml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/quick') diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp index ad54bd12e..2f8644d48 100644 --- a/tests/auto/quick/publicapi/tst_publicapi.cpp +++ b/tests/auto/quick/publicapi/tst_publicapi.cpp @@ -105,6 +105,8 @@ static QStringList expectedAPI = QStringList() << "QQuickWebEngineView.iconChanged() --> void" << "QQuickWebEngineView.linkHovered(QUrl) --> void" << "QQuickWebEngineView.navigationRequested(QQuickWebEngineNavigationRequest*) --> void" + << "QQuickWebEngineView.runJavaScript(QString,QJSValue) --> void" + << "QQuickWebEngineView.runJavaScript(QString) --> void" << "QQuickWebEngineView.loadHtml(QString,QUrl) --> void" << "QQuickWebEngineView.loadHtml(QString) --> void" << "QQuickWebEngineView.goBack() --> void" diff --git a/tests/auto/quick/qmltests/data/TestWebEngineView.qml b/tests/auto/quick/qmltests/data/TestWebEngineView.qml index 5cbb2c899..dd05aea8b 100644 --- a/tests/auto/quick/qmltests/data/TestWebEngineView.qml +++ b/tests/auto/quick/qmltests/data/TestWebEngineView.qml @@ -79,8 +79,6 @@ WebEngineView { return predicate() } - function runJavaScript(script, callback) { experimental.runJavaScript(script, callback); } - TestResult { id: testResult } onLoadingChanged: { -- cgit v1.2.3