Changeset 260669 in webkit
- Timestamp:
- Apr 24, 2020 2:11:01 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260663 r260669 1 2020-04-24 Chris Dumez <cdumez@apple.com> 2 3 ASSERTION FAILED: m_wrapper under HTMLMediaElement::setIsPlayingToWirelessTarget 4 https://bugs.webkit.org/show_bug.cgi?id=210983 5 <rdar://problem/61611994> 6 7 Reviewed by Eric Carlson. 8 9 The issue was that we were trying to fire a JS event as a result of ActiveDOMObject::stop() 10 getting called, which is not allowed. To address the issue, we avoid firing the event if 11 the context is already stopped. 12 13 No new tests, already covered by: 14 media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html 15 16 * html/HTMLMediaElement.cpp: 17 (WebCore::HTMLMediaElement::setIsPlayingToWirelessTarget): 18 1 19 2020-04-24 Tim Horton <timothy_horton@apple.com> 2 20 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r260350 r260669 5799 5799 scheduleCheckPlaybackTargetCompatability(); 5800 5800 5801 dispatchEvent(Event::create(eventNames().webkitcurrentplaybacktargetiswirelesschangedEvent, Event::CanBubble::No, Event::IsCancelable::Yes)); 5801 if (!isContextStopped()) 5802 dispatchEvent(Event::create(eventNames().webkitcurrentplaybacktargetiswirelesschangedEvent, Event::CanBubble::No, Event::IsCancelable::Yes)); 5802 5803 }); 5803 5804 }
Note: See TracChangeset
for help on using the changeset viewer.