Changeset 129692 in webkit
- Timestamp:
- Sep 26, 2012 1:10:16 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r129691 r129692 1 2012-09-26 Marcelo Lira <marcelo.lira@openbossa.org> 2 3 [Qt] load event fires on XMLHttpRequestUpload twice with Qt5 4 https://bugs.webkit.org/show_bug.cgi?id=92669 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 When finishing, after the upload have already been done, Qt5's 9 QNetworkReply emits an uploadProgress signal with total bytes set to 10 zero. Since 0 of 0 bytes doesn't make any sense as progress, a 11 conditional was added to QNetworkReplyHandler::uploadProgress to make 12 do nothing with such values. 13 14 Unskip XMLHttpRequestUpload tests. 15 16 * platform/qt-5.0/Skipped: 17 1 18 2012-09-26 Filip Pizlo <fpizlo@apple.com> 2 19 -
trunk/LayoutTests/platform/qt-5.0/Skipped
r129234 r129692 1 # [Qt] load event fires on XMLHttpRequestUpload twice with Qt52 # https://bugs.webkit.org/show_bug.cgi?id=926693 http/tests/xmlhttprequest/upload-onprogress-event.html4 http/tests/xmlhttprequest/upload-progress-events.html5 6 1 # timeout 7 2 fast/events/bogus-dropEffect-effectAllowed.html -
trunk/Source/WebCore/ChangeLog
r129689 r129692 1 2012-09-26 Marcelo Lira <marcelo.lira@openbossa.org> 2 3 [Qt] load event fires on XMLHttpRequestUpload twice with Qt5 4 https://bugs.webkit.org/show_bug.cgi?id=92669 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 When finishing, after the upload have already been done, Qt5's 9 QNetworkReply emits an uploadProgress signal with total bytes set to 10 zero. Since 0 of 0 bytes doesn't make any sense as progress, a 11 conditional was added to QNetworkReplyHandler::uploadProgress to make 12 do nothing with such values. 13 14 Unskip XMLHttpRequestUpload tests. 15 16 * platform/network/qt/QNetworkReplyHandler.cpp: 17 (WebCore::QNetworkReplyHandler::uploadProgress): 18 1 19 2012-09-26 Bear Travis <betravis@adobe.com> 2 20 -
trunk/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r129647 r129692 582 582 if (!client) 583 583 return; 584 585 if (!bytesTotal) { 586 // When finished QNetworkReply emits a progress of 0 bytes. 587 // Ignore that, to avoid firing twice. 588 return; 589 } 584 590 585 591 client->didSendData(m_resourceHandle, bytesSent, bytesTotal);
Note: See TracChangeset
for help on using the changeset viewer.