jasmine-headless-webkit/ext/jasmine-webkit-specrunner/Page.cpp
2011-10-25 15:41:22 -04:00

12 lines
265 B
C++

#include <QtGui>
#include <QtWebKit>
#include <iostream>
#include "Page.h"
Page::Page() : QWebPage() {}
void Page::javaScriptConsoleMessage(const QString & message, int lineNumber, const QString & sourceID) {
emit handleError(message, lineNumber, sourceID);
}