Media element can manipulate DOM during Document destruction.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Apr 2015 23:04:00 +0000 (23:04 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Apr 2015 23:04:00 +0000 (23:04 +0000)
commit47ab015b98852b710d12572e1b23e2b68588c2ae
tree8b202c3ab1ae1fcc092f672f61b04685b9eb4652
parenteca0a72b86e38fec51f88af172038d73157e2f9f
Media element can manipulate DOM during Document destruction.
rdar://problem/20553898 and https://bugs.webkit.org/show_bug.cgi?id=143780

Patch by Brady Eidson <beidson@apple.com> on 2015-04-16
Reviewed by Jer Noble.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::configureMediaControls): Bail if the element has no active document.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp