fixed TypeError when call e.url in page.onResourceRequested handler

http://code.google.com/p/phantomjs/issues/detail?id=305
1.4
Danny Wang 2011-12-13 16:39:09 +08:00
parent b10dc130ce
commit 15ac9ab291
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkR
QVariantMap data;
data["id"] = m_idCounter;
data["url"] = url;
data["url"] = url.data();
data["method"] = toString(op);
data["headers"] = headers;
data["time"] = QDateTime::currentDateTime();