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:
parent
b10dc130ce
commit
15ac9ab291
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user