capybara-webkit/src/IgnoreSslErrors.cpp

14 lines
319 B
C++
Raw Normal View History

#include "IgnoreSslErrors.h"
#include "WebPage.h"
#include "WebPageManager.h"
IgnoreSslErrors::IgnoreSslErrors(WebPageManager *manager, QStringList &arguments, QObject *parent) :
SocketCommand(manager, arguments, parent) {
}
void IgnoreSslErrors::start() {
manager()->setIgnoreSslErrors(true);
2013-02-11 23:31:41 +00:00
finish(true);
}