RESOLVED FIXED 141886
[iOS] Max canvas size is lower than expected
https://bugs.webkit.org/show_bug.cgi?id=141886
Summary [iOS] Max canvas size is lower than expected
Dean Jackson
Reported 2015-02-22 18:38:31 PST
[iOS] Max canvas size is lower than expected
Attachments
Patch (2.12 KB, patch)
2015-02-22 18:42 PST, Dean Jackson
thorton: review+
Dean Jackson
Comment 1 2015-02-22 18:42:30 PST
Antoine Quint
Comment 2 2015-02-22 23:32:29 PST
While I greatly appreciate this limit being bumped to a more accurate limit, what exactly is the purpose of the limit? Is it for performance reason? Memory consumption reasons? If so, why not let content degrade and/or jetsam if values are too large? Especially as there is no mechanism in place to predictably figure out, in code, whether a given <canvas> size will actually allow the content to be rendered.
Dean Jackson
Comment 3 2015-02-23 10:20:23 PST
(In reply to comment #2) > While I greatly appreciate this limit being bumped to a more accurate limit, > what exactly is the purpose of the limit? Is it for performance reason? > Memory consumption reasons? If so, why not let content degrade and/or jetsam > if values are too large? Especially as there is no mechanism in place to > predictably figure out, in code, whether a given <canvas> size will actually > allow the content to be rendered. I tried Firefox and it fails silently when the canvas gets too big, like us. So I think it is worth keeping a limit in, just in case. Note that it's a pretty bad developer experience if their page instantly quits/crashes - that gives them no way to debug without removing random code and starting over. At least with a large limit they'll get a warning in the console as to what went wrong.
Dean Jackson
Comment 4 2015-02-23 14:42:48 PST
Note You need to log in before you can comment on or make changes to this bug.