mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1190705 - Add crashtest for canvas 2d. r=Bas
This commit is contained in:
parent
01275d0e89
commit
2dfa9e7cc7
17
dom/canvas/crashtests/1190705.html
Normal file
17
dom/canvas/crashtests/1190705.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var canvas = document.createElement('canvas');
|
||||
var ctx = canvas.getContext('2d');
|
||||
ctx.rotate(1e308);
|
||||
ctx.fillText("A", 1, 1);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
@ -23,3 +23,5 @@ load 916128-1.html
|
||||
load 934939-1.html
|
||||
load 1099143-1.html
|
||||
load 1183363.html
|
||||
load 1190705.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user