1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-10-26 14:29:13 +03:00

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

http://code.google.com/p/phantomjs/issues/detail?id=305
This commit is contained in:
Danny Wang 2011-12-13 16:39:09 +08:00
parent b10dc130ce
commit 15ac9ab291

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();