Closed
Bug 899517
Opened 11 years ago
Closed 3 years ago
Canvas2D hangs
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: posidron, Unassigned)
References
Details
(Keywords: hang, testcase, Whiteboard: [fuzzblocker])
Attachments
(1 file)
(deleted),
text/html
|
Details |
These similar testcases involving stroke methods cause Firefox to hang till the user will be forced to restart the process. Peers like Google Chrome seem to reject or ignore those large values.
// exhausts CPU
o0 = document.createElement('canvas').getContext('2d')
o0.mozDash = [1,0,1,1,1]
o0.strokeRect(0, 0, 0, 8589934591)
// allocates all available memory
o0 = document.createElement('canvas').getContext('2d')
o0.mozDash = [0,1,0,0,1,0,0,1,0,0]
o0.rect(0, 0, 0, 67108865)
o0.isPointInStroke(0, 0)
// exhausts CPU
o0 = document.createElement('canvas').getContext('2d')
o0.bezierCurveTo(9.335285731017646e+306, 0, 0, 0, 0, 0)
o0.stroke()
Tested with https://hg.mozilla.org/integration/mozilla-inbound/rev/f7496fddb076 and Firefox 22
Reporter | ||
Updated•11 years ago
|
Hardware: x86 → x86_64
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Summary: Canvas2D hangs involving stroke methods → Canvas2D hangs
Whiteboard: [fuzzblocker]
Reporter | ||
Updated•11 years ago
|
Updated•7 years ago
|
Has Regression Range: --- → irrelevant
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•