Sha256: a54ada15296b140d900c0c2d4047960c0e242a414d8fc930acc7cd774b571fba

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

#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);
}

void Page::javaScriptAlert(QWebFrame *, const QString &) {}
bool Page::javaScriptConfirm(QWebFrame *, const QString &) {
  return false;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jasmine-headless-webkit-0.8.4 ext/jasmine-webkit-specrunner/Page.cpp
jasmine-headless-webkit-0.8.3 ext/jasmine-webkit-specrunner/Page.cpp
jasmine-headless-webkit-0.8.1 ext/jasmine-webkit-specrunner/Page.cpp
jasmine-headless-webkit-0.8.0 ext/jasmine-webkit-specrunner/Page.cpp
jasmine-headless-webkit-0.8.0.alpha.1 ext/jasmine-webkit-specrunner/Page.cpp
jasmine-headless-webkit-0.7.3.2 ext/jasmine-webkit-specrunner/Page.cpp