jasmine-headless-webkit/ext/jasmine-webkit-specrunner/Page.cpp

12 lines
265 B
C++
Raw Normal View History

2011-08-01 17:09:08 +00:00
#include <QtGui>
#include <QtWebKit>
2011-08-26 15:18:04 +00:00
#include <iostream>
2011-08-01 17:09:08 +00:00
#include "Page.h"
Page::Page() : QWebPage() {}
2011-08-01 17:09:08 +00:00
void Page::javaScriptConsoleMessage(const QString & message, int lineNumber, const QString & sourceID) {
emit handleError(message, lineNumber, sourceID);
2011-10-25 15:25:28 +00:00
}