Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 9 lines (7 sloc) 0.337 kb
1 2 3 4 5 6 7 8 9
#include "NullCommand.h"
#include "WebPage.h"

NullCommand::NullCommand(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {}

void NullCommand::start() {
  QString failure = QString("[Capybara WebKit] Unknown command: ") + arguments()[0] + "\n";
  emit finished(new Response(false, failure));
}
Something went wrong with that request. Please try again.