FS#46756 - [chromium] toDataURL fails for image/jpeg type.

Attached to Project: Arch Linux
Opened by Thom Wiggers (twiggers) - Friday, 16 October 2015, 20:48 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 19 October 2015, 12:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
canvas.toDataURL() doesn't work with type image/jpeg on Arch Linux only.

Steps to reproduce the problem:
1. Have a canvas <canvas id="cv" height="400" width="400"></canvas>
2. cv.toDataURL() works ("data:image/png;base64,...)
3. cv.toDataURL('image/jpeg') doesn't: ("data:,")

This appears to only occur in Arch Linux builds.

Attached is an example.

What is the expected behavior?
Get the data url with type 'image/jpeg'

What went wrong?
We don't get that, we get an error string.

Additional info:
* Since at least 43.0.2357.130 - 46.0.2490.71-1
* aur/chromium-snapshot-bin isn't affected.
* Ubuntu, other OSes unaffected.
* Upstream bug URL and discussion: https://code.google.com/p/chromium/issues/detail?id=505226
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 19 October 2015, 12:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  chromium 46.0.2490.71-2

Loading...