Changeset 241598 in webkit
- Timestamp:
- Feb 15, 2019 11:06:47 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r241594 r241598 1 2019-02-15 Youenn Fablet <youenn@apple.com> 2 3 Performance should not fire events when its context is stopped 4 https://bugs.webkit.org/show_bug.cgi?id=194689 5 6 Reviewed by Alex Christensen. 7 8 Stop the timer when its context is destroyed. 9 Add an assertion to ensure the timer does not fire after context is destroyed. 10 11 * page/Performance.cpp: 12 (WebCore::Performance::stop): 13 1 14 2019-02-15 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebCore/page/Performance.cpp
r239579 r241598 65 65 { 66 66 m_performanceTimelineTaskQueue.close(); 67 67 m_resourceTimingBufferFullTimer.stop(); 68 68 ContextDestructionObserver::contextDestroyed(); 69 69 } … … 212 212 void Performance::resourceTimingBufferFullTimerFired() 213 213 { 214 ASSERT(scriptExecutionContext()); 215 214 216 while (!m_backupResourceTimingBuffer.isEmpty()) { 215 217 auto backupBuffer = WTFMove(m_backupResourceTimingBuffer);
Note: See TracChangeset
for help on using the changeset viewer.