-
japhet@chromium.org authored
Reviewed by Adam Barth. Invalid cast due to <video> inside <foreignObject> inside <svg> inside <img> https://bugs.webkit.org/show_bug.cgi?id=37331 Added a setting to enable/disable media per-page and have the SVGImage disable media for its dummy page. Also found and fixed a related bad cast in the V8 bindings (JSC had a custom wrapper for this already). Tests: media/svg-as-image-with-media-blocked.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fd9a5070