Changeset 182918 in webkit
- Timestamp:
- Apr 16, 2015, 4:04:00 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
html/HTMLMediaElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r182914 r182918 1 2015-04-16 Brady Eidson <beidson@apple.com> 2 3 Media element can manipulate DOM during Document destruction. 4 rdar://problem/20553898 and https://bugs.webkit.org/show_bug.cgi?id=143780 5 6 Reviewed by Jer Noble. 7 8 * html/HTMLMediaElement.cpp: 9 (WebCore::HTMLMediaElement::configureMediaControls): Bail if the element has no active document. 10 1 11 2015-04-13 Jer Noble <jer.noble@apple.com> 2 12 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r182860 r182918 5324 5324 5325 5325 #if ENABLE(MEDIA_CONTROLS_SCRIPT) 5326 if (!requireControls || !inDocument() )5326 if (!requireControls || !inDocument() || !inActiveDocument()) 5327 5327 return; 5328 5328 5329 5329 ensureUserAgentShadowRoot(); 5330 5330 #else 5331 if (!requireControls || !inDocument() ) {5331 if (!requireControls || !inDocument() || !inActiveDocument()) { 5332 5332 if (hasMediaControls()) 5333 5333 mediaControls()->hide();
Note:
See TracChangeset
for help on using the changeset viewer.