Bug 26771: Canvas is incorrectly tainted when drawing from a video element that uses <source> elements
Reviewed by Maciej Stachowiak.
The drawImage(<video>) logic naively assumes that it just needs
to check the src attribute of the video element when in fact it
needs to look at the url that is being played instead. Failure
to do this means that video provided through source elements
taints the canvas.
Test: media/video-canvas-source.html
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6 files changed