Sha256: a5d7b894ccef6e38e82d2fe88133282f9f19f7f125240521135c59263ecc3a09

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

#include "RequestedUrl.h"
#include "WebPage.h"

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

void RequestedUrl::start() {
  QUrl humanUrl = page()->currentFrame()->requestedUrl();
  QByteArray encodedBytes = humanUrl.toEncoded();
  emit finished(new Response(true, encodedBytes));
}

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
imseng-capybara-webkit-0.12.1 src/RequestedUrl.cpp
capybara-webkit-0.12.1 src/RequestedUrl.cpp
otherinbox-capybara-webkit-0.12.0 src/RequestedUrl.cpp
capybara-webkit-0.12.0 src/RequestedUrl.cpp