Media elements not in a page shouldn't load.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2015 21:24:45 +0000 (21:24 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2015 21:24:45 +0000 (21:24 +0000)
commit9051e6ffe72f3ccd9b27d26c396cfd2e604e6829
treea82577228afdfef6c1872d9babdb51dcdea6df9c
parent54da3b0406f08a7d6a85ea2a5e701163ff612029
Media elements not in a page shouldn't load.
https://bugs.webkit.org/show_bug.cgi?id=143720

Reviewed by Jer Noble.

No new tests (Theoretical problem noticed in code review).

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::loadResource): Make sure the frame is in a page.

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