WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
150028
Canvas.toDataURL incorrectly raises exception when using Media Source Extensions
https://bugs.webkit.org/show_bug.cgi?id=150028
Summary
Canvas.toDataURL incorrectly raises exception when using Media Source Extensions
Alex
Reported
2015-10-12 05:30:42 PDT
Hi all, these steps can be followed to reproduce the bug: 1. Create a "video" element, a "canvas" element and its 2d "context". 2. Have the video element's "src" be a "MediaSource" URL (createObjectURL is called for a new MediaSource object). 3. Draw an image with context.drawImage(video, 0, 0); 4. You will not be able to call canvas.toDataURL, because a security exception will be raised (incorrectly). Alex
Attachments
Add attachment
proposed patch, testcase, etc.
Alex
Comment 1
2016-06-08 07:34:50 PDT
Ok, this bug is now 6 months old and still has the NEW status :). So there is point in reporting the bugs here... Alex
Alex
Comment 2
2016-06-08 07:36:26 PDT
Should be "no point" of course...
Jer Noble
Comment 3
2016-06-08 11:22:26 PDT
Ve don't yet support painting MSE video into canvas (see
bug #125157
). This work (ensuring that painting MSE doesn't taint canvases) will take place in that bug.
Brent Fulgham
Comment 4
2022-07-18 14:43:53 PDT
We believe this issue is resolved now that
Bug 125157
is shipping. If you believe there is still a problem, please REOPEN this radar with a relevant test case.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug