diff options
author | Michal Klocek <michal.klocek@qt.io> | 2019-04-03 15:16:35 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-04-04 16:38:51 +0000 |
commit | 320c7316b75be22112cb4802187c3873c9934eab (patch) | |
tree | 9b0ade0d4fa7bb7d23a13f63a77d1a3887308883 /tests/auto/quick/dialogs/server.h | |
parent | ded7536c90023fdf5f643a180ced405643ba7ab5 (diff) |
Fix tst_Dialogs::authenticationDialogRequested
Chromium returns unexpected proxy reply if localhost is used.
Since proxy resolver works now, the workaround to trigger dialog
with "localhost proxy" can be skipped.
Change-Id: I26d88c43779809e4f481101266e6b8784a6b196d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/quick/dialogs/server.h')
-rw-r--r-- | tests/auto/quick/dialogs/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/dialogs/server.h b/tests/auto/quick/dialogs/server.h index 24da47523..fa9a73811 100644 --- a/tests/auto/quick/dialogs/server.h +++ b/tests/auto/quick/dialogs/server.h @@ -40,6 +40,7 @@ public: explicit Server(QObject *parent = nullptr); bool isListening(); + void setReply(const QByteArray &reply); public slots: void run(); @@ -50,6 +51,7 @@ private slots: private: QByteArray m_data; + QByteArray m_reply; QTcpServer m_server; }; |