diff options
author | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-05-13 21:24:48 +0200 |
---|---|---|
committer | Andras Becsi <becsi.andras@gmail.com> | 2015-08-28 08:40:18 +0000 |
commit | 1df4983268673e514d700cc4491310da7dd26a26 (patch) | |
tree | 7c10172bcb47a0f6956787fc35a5fe8f8437f60e /tests/quicktestbrowser/ApplicationRoot.qml | |
parent | ec2b89a03d884c5d767a92eddc264d7dbf702470 (diff) |
Add invokable to QQuickWebEngineProfile to set cookie client
This makes it possible to set a cookie client in the C++ part of
a QtQuick application to receive notifications about cookies.
Add setting for blocking third party cookies to quicktestbrowser.
Change-Id: I627eaab067e92a7be5b36ffed68794e54c7be0e8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tests/quicktestbrowser/ApplicationRoot.qml')
-rw-r--r-- | tests/quicktestbrowser/ApplicationRoot.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/quicktestbrowser/ApplicationRoot.qml b/tests/quicktestbrowser/ApplicationRoot.qml index 71737694d..5641b89a3 100644 --- a/tests/quicktestbrowser/ApplicationRoot.qml +++ b/tests/quicktestbrowser/ApplicationRoot.qml @@ -44,6 +44,8 @@ import QtWebEngine 1.1 QtObject { id: root + property bool thirdPartyCookiesEnabled: true + property QtObject testProfile: WebEngineProfile { storageName: "Test" } |