mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
We don't need to clear the page if we're visiting about:blank
This commit is contained in:
parent
5b57eee8c5
commit
b3b1adf63f
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ void Reset::start(QStringList &arguments) {
|
||||||
Q_UNUSED(arguments);
|
Q_UNUSED(arguments);
|
||||||
|
|
||||||
page()->triggerAction(QWebPage::Stop);
|
page()->triggerAction(QWebPage::Stop);
|
||||||
page()->currentFrame()->setHtml("<html><body></body></html>");
|
|
||||||
page()->networkAccessManager()->setCookieJar(new NetworkCookieJar());
|
page()->networkAccessManager()->setCookieJar(new NetworkCookieJar());
|
||||||
page()->setCustomNetworkAccessManager();
|
page()->setCustomNetworkAccessManager();
|
||||||
page()->setUserAgent(NULL);
|
page()->setUserAgent(NULL);
|
||||||
|
|
Loading…
Reference in a new issue