Changeset 142538 in webkit
- Timestamp:
- Feb 11, 2013 4:01:36 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142535 r142538 1 2013-02-11 Yong Li <yoli@rim.com> 2 3 XMLHttpRequestProgressEventThrottle::resume() always schedules timer even when unnecessary 4 https://bugs.webkit.org/show_bug.cgi?id=105348 5 6 Reviewed by Alexey Proskuryakov. 7 8 Let resume() clear the defer flag and return if there is deferred events to dispatch. 9 10 No new tests as this should not affect existing cross-platform behavior. It should be 11 OK as long as it doesn't break anything. 12 13 * xml/XMLHttpRequestProgressEventThrottle.cpp: 14 (WebCore::XMLHttpRequestProgressEventThrottle::resume): 15 1 16 2013-02-11 Eric Seidel <eric@webkit.org> 2 17 -
trunk/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp
r114374 r142538 199 199 ASSERT(!m_total); 200 200 201 if (m_deferredEvents.isEmpty() && !m_deferredProgressEvent) { 202 m_deferEvents = false; 203 return; 204 } 205 201 206 // Do not dispatch events inline here, since ScriptExecutionContext is iterating over 202 207 // the list of active DOM objects to resume them, and any activated JS event-handler
Note: See TracChangeset
for help on using the changeset viewer.