summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/publicapi
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2018-03-01 14:55:01 +0100
committerKai Koehne <kai.koehne@qt.io>2018-03-08 14:41:10 +0000
commita03fb5fc7ac03c35739324d63eb29da756e1e908 (patch)
tree85fe63d86d1ffcb37cbb937c02579040b72e6a3a /tests/auto/quick/publicapi
parent349d11dd83578b5baeec87e41c71f612e5bd21b3 (diff)
Rename protocol() to scheme() in QWERPHPermissionRequest
Scheme refers to a part of a URL. Protocol refers to a formal standard for communication over a network. Therefore scheme is more accurate here, since registerProtocolHandler only defines simple aliases. Change-Id: I71a1511aa92e41c3e3aca4c0403f54af6d91c563 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests/auto/quick/publicapi')
-rw-r--r--tests/auto/quick/publicapi/tst_publicapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp
index 0da6e71cc..efd063512 100644
--- a/tests/auto/quick/publicapi/tst_publicapi.cpp
+++ b/tests/auto/quick/publicapi/tst_publicapi.cpp
@@ -688,7 +688,7 @@ static QStringList expectedAPI = QStringList()
<< "QWebEngineRegisterProtocolHandlerPermissionRequest.accept() --> void"
<< "QWebEngineRegisterProtocolHandlerPermissionRequest.origin --> QUrl"
<< "QWebEngineRegisterProtocolHandlerPermissionRequest.reject() --> void"
- << "QWebEngineRegisterProtocolHandlerPermissionRequest.protocol --> QString"
+ << "QWebEngineRegisterProtocolHandlerPermissionRequest.scheme --> QString"
;
static bool isCheckedEnum(const QByteArray &typeName)