Web Inspector: Audit: create new IDL type for exposing special functionality in test...
[WebKit-https.git] / LayoutTests / inspector / canvas / recording-2d-expected.txt
1 Test that CanvasManager is able to record actions made to 2D canvas contexts.
2
3
4 == Running test suite: Canvas.recording2D
5 -- Running test case: Canvas.recording2D.singleFrame
6 initialState:
7   attributes:
8     width: 2
9     height: 2
10   current state:
11     setTransform: [[1,0,0,1,0,0]]
12     globalAlpha: 1
13     globalCompositeOperation: "source-over"
14     lineWidth: 1
15     lineCap: "butt"
16     lineJoin: "miter"
17     miterLimit: 10
18     shadowOffsetX: 0
19     shadowOffsetY: 0
20     shadowBlur: 0
21     shadowColor: "rgba(0, 0, 0, 0)"
22     setLineDash: [[]]
23     lineDashOffset: 0
24     font: "10px sans-serif"
25     textAlign: "start"
26     textBaseline: "alphabetic"
27     direction: "ltr"
28     strokeStyle: "#000000"
29     fillStyle: "#000000"
30     imageSmoothingEnabled: true
31     imageSmoothingQuality: "low"
32     setPath: [{}]
33   parameters:
34   content: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAAAtJREFUCB1jYEAHAAASAAGAFMrMAAAAAElFTkSuQmCC"
35 frames:
36   0: (duration)
37     0: arc(1, 2, 3, 4, 5, false)
38       swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
39       trace:
40         0: arc
41         1: (anonymous function)
42         2: ignoreException
43         3: (anonymous function)
44         4: executeFrameFunction
45         5: performActions
46         6: Global Code
47         7: evaluateWithScopeExtension
48         8: (anonymous function)
49         9: _wrapCall
50     1: arc(6, 7, 8, 9, 10, true)
51       swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
52       trace:
53         0: arc
54         1: (anonymous function)
55         2: ignoreException
56         3: (anonymous function)
57         4: executeFrameFunction
58         5: performActions
59         6: Global Code
60         7: evaluateWithScopeExtension
61         8: (anonymous function)
62         9: _wrapCall
63
64 -- Running test case: Canvas.recording2D.multipleFrames
65 initialState:
66   attributes:
67     width: 2
68     height: 2
69   current state:
70     setTransform: [[1,0,0,1,0,0]]
71     globalAlpha: 1
72     globalCompositeOperation: "source-over"
73     lineWidth: 1
74     lineCap: "butt"
75     lineJoin: "miter"
76     miterLimit: 10
77     shadowOffsetX: 0
78     shadowOffsetY: 0
79     shadowBlur: 0
80     shadowColor: "rgba(0, 0, 0, 0)"
81     setLineDash: [[]]
82     lineDashOffset: 0
83     font: "10px sans-serif"
84     textAlign: "start"
85     textBaseline: "alphabetic"
86     direction: "ltr"
87     strokeStyle: "#000000"
88     fillStyle: "#000000"
89     imageSmoothingEnabled: true
90     imageSmoothingQuality: "low"
91     setPath: [{}]
92   parameters:
93   content: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAAAtJREFUCB1jYEAHAAASAAGAFMrMAAAAAElFTkSuQmCC"
94 frames:
95   0: (duration)
96     0: arc(1, 2, 3, 4, 5, false)
97       swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
98       trace:
99         0: arc
100         1: (anonymous function)
101         2: ignoreException
102         3: (anonymous function)
103         4: executeFrameFunction
104         5: performActions
105         6: Global Code
106         7: evaluateWithScopeExtension
107         8: (anonymous function)
108         9: _wrapCall
109     1: arc(6, 7, 8, 9, 10, true)
110       swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
111       trace:
112         0: arc
113         1: (anonymous function)
114         2: ignoreException
115         3: (anonymous function)
116         4: executeFrameFunction
117         5: performActions
118         6: Global Code
119         7: evaluateWithScopeExtension
120         8: (anonymous function)
121         9: _wrapCall
122   1: (duration)
123     0: arcTo(1, 2, 3, 4, 5)
124       swizzleTypes: [Number, Number, Number, Number, Number]
125       trace:
126         0: arcTo
127         1: (anonymous function)
128         2: ignoreException
129         3: (anonymous function)
130         4: executeFrameFunction
131   2: (duration)
132     0: beginPath()
133       trace:
134         0: beginPath
135         1: (anonymous function)
136         2: executeFrameFunction
137   3: (duration)
138     0: bezierCurveTo(1, 2, 3, 4, 5, 6)
139       swizzleTypes: [Number, Number, Number, Number, Number, Number]
140       trace:
141         0: bezierCurveTo
142         1: (anonymous function)
143         2: executeFrameFunction
144   4: (duration)
145     0: clearRect(1, 2, 3, 4)
146       swizzleTypes: [Number, Number, Number, Number]
147       trace:
148         0: clearRect
149         1: (anonymous function)
150         2: executeFrameFunction
151   5: (duration)
152     0: clearShadow()
153       trace:
154         0: clearShadow
155         1: (anonymous function)
156         2: executeFrameFunction
157   6: (duration)
158     0: clip("nonzero")
159       swizzleTypes: [String]
160       trace:
161         0: clip
162         1: (anonymous function)
163         2: executeFrameFunction
164     1: clip("evenodd")
165       swizzleTypes: [String]
166       trace:
167         0: clip
168         1: (anonymous function)
169         2: executeFrameFunction
170     2: clip([object Path2D], "nonzero")
171       swizzleTypes: [Path2D, String]
172       trace:
173         0: clip
174         1: (anonymous function)
175         2: executeFrameFunction
176     3: clip([object Path2D], "evenodd")
177       swizzleTypes: [Path2D, String]
178       trace:
179         0: clip
180         1: (anonymous function)
181         2: executeFrameFunction
182   7: (duration)
183     0: closePath()
184       trace:
185         0: closePath
186         1: (anonymous function)
187         2: executeFrameFunction
188   8: (duration)
189     0: createImageData([object ImageData])
190       swizzleTypes: [ImageData]
191       trace:
192         0: createImageData
193         1: (anonymous function)
194         2: ignoreException
195         3: (anonymous function)
196         4: executeFrameFunction
197     1: createImageData(2, 3)
198       swizzleTypes: [Number, Number]
199       trace:
200         0: createImageData
201         1: (anonymous function)
202         2: ignoreException
203         3: (anonymous function)
204         4: executeFrameFunction
205   9: (duration)
206     0: createLinearGradient(1, 2, 3, 4)
207       swizzleTypes: [Number, Number, Number, Number]
208       trace:
209         0: createLinearGradient
210         1: (anonymous function)
211         2: ignoreException
212         3: (anonymous function)
213         4: executeFrameFunction
214   10: (duration)
215     0: createPattern([object HTMLImageElement], "testA")
216       swizzleTypes: [Image, String]
217       trace:
218         0: createPattern
219         1: (anonymous function)
220         2: ignoreException
221         3: (anonymous function)
222         4: executeFrameFunction
223     1: createPattern([object HTMLImageElement], "testB")
224       swizzleTypes: [Image, String]
225       trace:
226         0: createPattern
227         1: (anonymous function)
228         2: ignoreException
229         3: (anonymous function)
230         4: executeFrameFunction
231     2: createPattern([object HTMLImageElement], "testC")
232       swizzleTypes: [Image, String]
233       trace:
234         0: createPattern
235         1: (anonymous function)
236         2: ignoreException
237         3: (anonymous function)
238         4: executeFrameFunction
239     3: createPattern([object ImageBitmap], "testD")
240       swizzleTypes: [ImageBitmap, String]
241       trace:
242         0: createPattern
243         1: (anonymous function)
244         2: ignoreException
245         3: (anonymous function)
246         4: executeFrameFunction
247   11: (duration)
248     0: createRadialGradient(1, 2, 3, 4, 5, 6)
249       swizzleTypes: [Number, Number, Number, Number, Number, Number]
250       trace:
251         0: createRadialGradient
252         1: (anonymous function)
253         2: ignoreException
254         3: (anonymous function)
255         4: executeFrameFunction
256   12: (duration)
257     0: direction
258       trace:
259         0: (anonymous function)
260         1: executeFrameFunction
261   13: (duration)
262     0: drawFocusIfNeeded("Element")
263       swizzleTypes: [None]
264       trace:
265         0: drawFocusIfNeeded
266         1: (anonymous function)
267         2: executeFrameFunction
268     1: drawFocusIfNeeded([object Path2D], "Element")
269       swizzleTypes: [Path2D, None]
270       trace:
271         0: drawFocusIfNeeded
272         1: (anonymous function)
273         2: executeFrameFunction
274   14: (duration)
275     0: drawImage([object HTMLImageElement], 11, 12)
276       swizzleTypes: [Image, Number, Number]
277       trace:
278         0: drawImage
279         1: (anonymous function)
280         2: ignoreException
281         3: (anonymous function)
282         4: executeFrameFunction
283     1: drawImage([object HTMLImageElement], 13, 14, 15, 16)
284       swizzleTypes: [Image, Number, Number, Number, Number]
285       trace:
286         0: drawImage
287         1: (anonymous function)
288         2: ignoreException
289         3: (anonymous function)
290         4: executeFrameFunction
291     2: drawImage([object HTMLImageElement], 17, 18, 19, 110, 111, 112, 113, 114)
292       swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
293       trace:
294         0: drawImage
295         1: (anonymous function)
296         2: ignoreException
297         3: (anonymous function)
298         4: executeFrameFunction
299     3: drawImage([object HTMLImageElement], 21, 22)
300       swizzleTypes: [Image, Number, Number]
301       trace:
302         0: drawImage
303         1: (anonymous function)
304         2: ignoreException
305         3: (anonymous function)
306         4: executeFrameFunction
307     4: drawImage([object HTMLImageElement], 23, 24, 25, 26)
308       swizzleTypes: [Image, Number, Number, Number, Number]
309       trace:
310         0: drawImage
311         1: (anonymous function)
312         2: ignoreException
313         3: (anonymous function)
314         4: executeFrameFunction
315     5: drawImage([object HTMLImageElement], 27, 28, 29, 210, 211, 212, 213, 214)
316       swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
317       trace:
318         0: drawImage
319         1: (anonymous function)
320         2: ignoreException
321         3: (anonymous function)
322         4: executeFrameFunction
323     6: drawImage([object HTMLImageElement], 31, 32)
324       swizzleTypes: [Image, Number, Number]
325       trace:
326         0: drawImage
327         1: (anonymous function)
328         2: ignoreException
329         3: (anonymous function)
330         4: executeFrameFunction
331     7: drawImage([object HTMLImageElement], 33, 34, 35, 36)
332       swizzleTypes: [Image, Number, Number, Number, Number]
333       trace:
334         0: drawImage
335         1: (anonymous function)
336         2: ignoreException
337         3: (anonymous function)
338         4: executeFrameFunction
339     8: drawImage([object HTMLImageElement], 37, 38, 39, 310, 311, 312, 313, 314)
340       swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
341       trace:
342         0: drawImage
343         1: (anonymous function)
344         2: ignoreException
345         3: (anonymous function)
346         4: executeFrameFunction
347     9: drawImage([object ImageBitmap], 41, 42)
348       swizzleTypes: [ImageBitmap, Number, Number]
349       trace:
350         0: drawImage
351         1: (anonymous function)
352         2: ignoreException
353         3: (anonymous function)
354         4: executeFrameFunction
355     10: drawImage([object ImageBitmap], 43, 44, 45, 46)
356       swizzleTypes: [ImageBitmap, Number, Number, Number, Number]
357       trace:
358         0: drawImage
359         1: (anonymous function)
360         2: ignoreException
361         3: (anonymous function)
362         4: executeFrameFunction
363     11: drawImage([object ImageBitmap], 47, 48, 49, 410, 411, 412, 413, 414)
364       swizzleTypes: [ImageBitmap, Number, Number, Number, Number, Number, Number, Number, Number]
365       trace:
366         0: drawImage
367         1: (anonymous function)
368         2: ignoreException
369         3: (anonymous function)
370         4: executeFrameFunction
371   15: (duration)
372     0: drawImageFromRect([object HTMLImageElement], 1, 2, 3, 4, 5, 6, 7, 8, "")
373       swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number, String]
374       trace:
375         0: drawImageFromRect
376         1: (anonymous function)
377         2: executeFrameFunction
378     1: drawImageFromRect([object HTMLImageElement], 9, 10, 11, 12, 13, 14, 15, 16, "test")
379       swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number, String]
380       trace:
381         0: drawImageFromRect
382         1: (anonymous function)
383         2: executeFrameFunction
384   16: (duration)
385     0: ellipse(1, 2, 3, 4, 5, 6, 7, false)
386       swizzleTypes: [Number, Number, Number, Number, Number, Number, Number, Boolean]
387       trace:
388         0: ellipse
389         1: (anonymous function)
390         2: ignoreException
391         3: (anonymous function)
392         4: executeFrameFunction
393     1: ellipse(8, 9, 10, 11, 12, 13, 14, true)
394       swizzleTypes: [Number, Number, Number, Number, Number, Number, Number, Boolean]
395       trace:
396         0: ellipse
397         1: (anonymous function)
398         2: ignoreException
399         3: (anonymous function)
400         4: executeFrameFunction
401   17: (duration)
402     0: fill("nonzero")
403       swizzleTypes: [String]
404       trace:
405         0: fill
406         1: (anonymous function)
407         2: executeFrameFunction
408     1: fill("evenodd")
409       swizzleTypes: [String]
410       trace:
411         0: fill
412         1: (anonymous function)
413         2: executeFrameFunction
414     2: fill([object Path2D], "nonzero")
415       swizzleTypes: [Path2D, String]
416       trace:
417         0: fill
418         1: (anonymous function)
419         2: executeFrameFunction
420     3: fill([object Path2D], "evenodd")
421       swizzleTypes: [Path2D, String]
422       trace:
423         0: fill
424         1: (anonymous function)
425         2: executeFrameFunction
426   18: (duration)
427     0: fillRect(1, 2, 3, 4)
428       swizzleTypes: [Number, Number, Number, Number]
429       trace:
430         0: fillRect
431         1: (anonymous function)
432         2: executeFrameFunction
433   19: (duration)
434     0: fillStyle
435       trace:
436         0: (anonymous function)
437         1: executeFrameFunction
438     1: fillStyle = "test"
439       swizzleTypes: [String]
440       trace:
441         0: (anonymous function)
442         1: executeFrameFunction
443     2: fillStyle = [object CanvasGradient]
444       swizzleTypes: [CanvasGradient]
445       trace:
446         0: (anonymous function)
447         1: executeFrameFunction
448     3: fillStyle = [object CanvasGradient]
449       swizzleTypes: [CanvasGradient]
450       trace:
451         0: (anonymous function)
452         1: executeFrameFunction
453     4: fillStyle = [object CanvasPattern]
454       swizzleTypes: [CanvasPattern]
455       trace:
456         0: (anonymous function)
457         1: executeFrameFunction
458   20: (duration)
459     0: fillText("testA", 1, 2)
460       swizzleTypes: [String, Number, Number]
461       trace:
462         0: fillText
463         1: (anonymous function)
464         2: executeFrameFunction
465     1: fillText("testB", 3, 4, 5)
466       swizzleTypes: [String, Number, Number, Number]
467       trace:
468         0: fillText
469         1: (anonymous function)
470         2: executeFrameFunction
471   21: (duration)
472     0: font
473       trace:
474         0: (anonymous function)
475         1: executeFrameFunction
476     1: font = "test"
477       swizzleTypes: [String]
478       trace:
479         0: (anonymous function)
480         1: executeFrameFunction
481   22: (duration)
482     0: getImageData(1, 2, 3, 4)
483       swizzleTypes: [Number, Number, Number, Number]
484       trace:
485         0: getImageData
486         1: (anonymous function)
487         2: ignoreException
488         3: (anonymous function)
489         4: executeFrameFunction
490   23: (duration)
491     0: getLineDash()
492       trace:
493         0: getLineDash
494         1: (anonymous function)
495         2: executeFrameFunction
496   24: (duration)
497     0: getTransform()
498       trace:
499         0: getTransform
500         1: (anonymous function)
501         2: executeFrameFunction
502   25: (duration)
503     0: globalAlpha
504       trace:
505         0: (anonymous function)
506         1: executeFrameFunction
507     1: globalAlpha = 0
508       swizzleTypes: [Number]
509       trace:
510         0: (anonymous function)
511         1: executeFrameFunction
512   26: (duration)
513     0: globalCompositeOperation
514       trace:
515         0: (anonymous function)
516         1: executeFrameFunction
517     1: globalCompositeOperation = "test"
518       swizzleTypes: [String]
519       trace:
520         0: (anonymous function)
521         1: executeFrameFunction
522   27: (duration)
523     0: imageSmoothingEnabled
524       trace:
525         0: (anonymous function)
526         1: executeFrameFunction
527     1: imageSmoothingEnabled = true
528       swizzleTypes: [Boolean]
529       trace:
530         0: (anonymous function)
531         1: executeFrameFunction
532   28: (duration)
533     0: imageSmoothingQuality
534       trace:
535         0: (anonymous function)
536         1: executeFrameFunction
537     1: imageSmoothingQuality = "low"
538       swizzleTypes: [String]
539       trace:
540         0: (anonymous function)
541         1: executeFrameFunction
542   29: (duration)
543     0: isPointInPath([object Path2D], 5, 6, "nonzero")
544       swizzleTypes: [Path2D, Number, Number, String]
545       trace:
546         0: isPointInPath
547         1: (anonymous function)
548         2: executeFrameFunction
549     1: isPointInPath([object Path2D], 7, 8, "evenodd")
550       swizzleTypes: [Path2D, Number, Number, String]
551       trace:
552         0: isPointInPath
553         1: (anonymous function)
554         2: executeFrameFunction
555     2: isPointInPath(9, 10, "nonzero")
556       swizzleTypes: [Number, Number, String]
557       trace:
558         0: isPointInPath
559         1: (anonymous function)
560         2: executeFrameFunction
561     3: isPointInPath(11, 12, "evenodd")
562       swizzleTypes: [Number, Number, String]
563       trace:
564         0: isPointInPath
565         1: (anonymous function)
566         2: executeFrameFunction
567   30: (duration)
568     0: isPointInStroke([object Path2D], 3, 4)
569       swizzleTypes: [Path2D, Number, Number]
570       trace:
571         0: isPointInStroke
572         1: (anonymous function)
573         2: executeFrameFunction
574     1: isPointInStroke(5, 6)
575       swizzleTypes: [Number, Number]
576       trace:
577         0: isPointInStroke
578         1: (anonymous function)
579         2: executeFrameFunction
580   31: (duration)
581     0: lineCap
582       trace:
583         0: (anonymous function)
584         1: executeFrameFunction
585   32: (duration)
586     0: lineDashOffset
587       trace:
588         0: (anonymous function)
589         1: executeFrameFunction
590     1: lineDashOffset = 1
591       swizzleTypes: [Number]
592       trace:
593         0: (anonymous function)
594         1: executeFrameFunction
595   33: (duration)
596     0: lineJoin
597       trace:
598         0: (anonymous function)
599         1: executeFrameFunction
600   34: (duration)
601     0: lineTo(1, 2)
602       swizzleTypes: [Number, Number]
603       trace:
604         0: lineTo
605         1: (anonymous function)
606         2: executeFrameFunction
607   35: (duration)
608     0: lineWidth
609       trace:
610         0: (anonymous function)
611         1: executeFrameFunction
612     1: lineWidth = 1
613       swizzleTypes: [Number]
614       trace:
615         0: (anonymous function)
616         1: executeFrameFunction
617   36: (duration)
618     0: measureText("test")
619       swizzleTypes: [String]
620       trace:
621         0: measureText
622         1: (anonymous function)
623         2: executeFrameFunction
624   37: (duration)
625     0: miterLimit
626       trace:
627         0: (anonymous function)
628         1: executeFrameFunction
629     1: miterLimit = 1
630       swizzleTypes: [Number]
631       trace:
632         0: (anonymous function)
633         1: executeFrameFunction
634   38: (duration)
635     0: moveTo(1, 2)
636       swizzleTypes: [Number, Number]
637       trace:
638         0: moveTo
639         1: (anonymous function)
640         2: executeFrameFunction
641   39: (duration)
642     0: putImageData([object ImageData], 5, 6)
643       swizzleTypes: [ImageData, Number, Number]
644       trace:
645         0: putImageData
646         1: (anonymous function)
647         2: executeFrameFunction
648     1: putImageData([object ImageData], 7, 8, 9, 10, 11, 12)
649       swizzleTypes: [ImageData, Number, Number, Number, Number, Number, Number]
650       trace:
651         0: putImageData
652         1: (anonymous function)
653         2: executeFrameFunction
654   40: (duration)
655     0: quadraticCurveTo(1, 2, 3, 4)
656       swizzleTypes: [Number, Number, Number, Number]
657       trace:
658         0: quadraticCurveTo
659         1: (anonymous function)
660         2: executeFrameFunction
661   41: (duration)
662     0: rect(1, 2, 3, 4)
663       swizzleTypes: [Number, Number, Number, Number]
664       trace:
665         0: rect
666         1: (anonymous function)
667         2: executeFrameFunction
668   42: (duration)
669     0: resetTransform()
670       trace:
671         0: resetTransform
672         1: (anonymous function)
673         2: executeFrameFunction
674   43: (duration)
675     0: restore()
676       trace:
677         0: restore
678         1: (anonymous function)
679         2: executeFrameFunction
680   44: (duration)
681     0: rotate(1)
682       swizzleTypes: [Number]
683       trace:
684         0: rotate
685         1: (anonymous function)
686         2: executeFrameFunction
687   45: (duration)
688     0: save()
689       trace:
690         0: save
691         1: (anonymous function)
692         2: executeFrameFunction
693   46: (duration)
694     0: scale(1, 2)
695       swizzleTypes: [Number, Number]
696       trace:
697         0: scale
698         1: (anonymous function)
699         2: executeFrameFunction
700   47: (duration)
701     0: setAlpha(null)
702       swizzleTypes: [Number]
703       trace:
704         0: setAlpha
705         1: (anonymous function)
706         2: executeFrameFunction
707     1: setAlpha(1)
708       swizzleTypes: [Number]
709       trace:
710         0: setAlpha
711         1: (anonymous function)
712         2: executeFrameFunction
713   48: (duration)
714     0: setCompositeOperation("undefined")
715       swizzleTypes: [String]
716       trace:
717         0: setCompositeOperation
718         1: (anonymous function)
719         2: executeFrameFunction
720     1: setCompositeOperation("test")
721       swizzleTypes: [String]
722       trace:
723         0: setCompositeOperation
724         1: (anonymous function)
725         2: executeFrameFunction
726   49: (duration)
727     0: setFillColor("testA")
728       swizzleTypes: [String]
729       trace:
730         0: setFillColor
731         1: (anonymous function)
732         2: executeFrameFunction
733     1: setFillColor("testB", 1)
734       swizzleTypes: [String, Number]
735       trace:
736         0: setFillColor
737         1: (anonymous function)
738         2: executeFrameFunction
739     2: setFillColor(2, 1)
740       swizzleTypes: [Number, Number]
741       trace:
742         0: setFillColor
743         1: (anonymous function)
744         2: executeFrameFunction
745     3: setFillColor(3, 4)
746       swizzleTypes: [Number, Number]
747       trace:
748         0: setFillColor
749         1: (anonymous function)
750         2: executeFrameFunction
751     4: setFillColor(5, 6, 7, 8)
752       swizzleTypes: [Number, Number, Number, Number]
753       trace:
754         0: setFillColor
755         1: (anonymous function)
756         2: executeFrameFunction
757     5: setFillColor(9, 10, 11, 12, 13)
758       swizzleTypes: [Number, Number, Number, Number, Number]
759       trace:
760         0: setFillColor
761         1: (anonymous function)
762         2: executeFrameFunction
763   50: (duration)
764     0: setLineCap("undefined")
765       swizzleTypes: [String]
766       trace:
767         0: setLineCap
768         1: (anonymous function)
769         2: executeFrameFunction
770     1: setLineCap("test")
771       swizzleTypes: [String]
772       trace:
773         0: setLineCap
774         1: (anonymous function)
775         2: executeFrameFunction
776   51: (duration)
777     0: setLineDash([1,2])
778       swizzleTypes: [Array]
779       trace:
780         0: setLineDash
781         1: (anonymous function)
782         2: executeFrameFunction
783   52: (duration)
784     0: setLineJoin("undefined")
785       swizzleTypes: [String]
786       trace:
787         0: setLineJoin
788         1: (anonymous function)
789         2: executeFrameFunction
790     1: setLineJoin("test")
791       swizzleTypes: [String]
792       trace:
793         0: setLineJoin
794         1: (anonymous function)
795         2: executeFrameFunction
796   53: (duration)
797     0: setLineWidth(null)
798       swizzleTypes: [Number]
799       trace:
800         0: setLineWidth
801         1: (anonymous function)
802         2: executeFrameFunction
803     1: setLineWidth(1)
804       swizzleTypes: [Number]
805       trace:
806         0: setLineWidth
807         1: (anonymous function)
808         2: executeFrameFunction
809   54: (duration)
810     0: setMiterLimit(null)
811       swizzleTypes: [Number]
812       trace:
813         0: setMiterLimit
814         1: (anonymous function)
815         2: executeFrameFunction
816     1: setMiterLimit(1)
817       swizzleTypes: [Number]
818       trace:
819         0: setMiterLimit
820         1: (anonymous function)
821         2: executeFrameFunction
822   55: (duration)
823     0: setShadow(1, 2, 3, "")
824       swizzleTypes: [Number, Number, Number, String]
825       trace:
826         0: setShadow
827         1: (anonymous function)
828         2: executeFrameFunction
829     1: setShadow(4, 5, 6, "test", 7)
830       swizzleTypes: [Number, Number, Number, String, Number]
831       trace:
832         0: setShadow
833         1: (anonymous function)
834         2: executeFrameFunction
835     2: setShadow(8, 9, 10, 11, 1)
836       swizzleTypes: [Number, Number, Number, Number, Number]
837       trace:
838         0: setShadow
839         1: (anonymous function)
840         2: executeFrameFunction
841     3: setShadow(12, 13, 14, 15, 16)
842       swizzleTypes: [Number, Number, Number, Number, Number]
843       trace:
844         0: setShadow
845         1: (anonymous function)
846         2: executeFrameFunction
847     4: setShadow(17, 18, 19, 20, 21, 22, 23)
848       swizzleTypes: [Number, Number, Number, Number, Number, Number, Number]
849       trace:
850         0: setShadow
851         1: (anonymous function)
852         2: executeFrameFunction
853     5: setShadow(24, 25, 26, 27, 28, 29, 30, 31)
854       swizzleTypes: [Number, Number, Number, Number, Number, Number, Number, Number]
855       trace:
856         0: setShadow
857         1: (anonymous function)
858         2: executeFrameFunction
859   56: (duration)
860     0: setStrokeColor("testA")
861       swizzleTypes: [String]
862       trace:
863         0: setStrokeColor
864         1: (anonymous function)
865         2: executeFrameFunction
866     1: setStrokeColor("testB", 1)
867       swizzleTypes: [String, Number]
868       trace:
869         0: setStrokeColor
870         1: (anonymous function)
871         2: executeFrameFunction
872     2: setStrokeColor(2, 1)
873       swizzleTypes: [Number, Number]
874       trace:
875         0: setStrokeColor
876         1: (anonymous function)
877         2: executeFrameFunction
878     3: setStrokeColor(3, 4)
879       swizzleTypes: [Number, Number]
880       trace:
881         0: setStrokeColor
882         1: (anonymous function)
883         2: executeFrameFunction
884     4: setStrokeColor(5, 6, 7, 8)
885       swizzleTypes: [Number, Number, Number, Number]
886       trace:
887         0: setStrokeColor
888         1: (anonymous function)
889         2: executeFrameFunction
890     5: setStrokeColor(9, 10, 11, 12, 13)
891       swizzleTypes: [Number, Number, Number, Number, Number]
892       trace:
893         0: setStrokeColor
894         1: (anonymous function)
895         2: executeFrameFunction
896   57: (duration)
897     0: setTransform(1, 2, 3, 4, 5, 6)
898       swizzleTypes: [Number, Number, Number, Number, Number, Number]
899       trace:
900         0: setTransform
901         1: (anonymous function)
902         2: executeFrameFunction
903     1: setTransform(matrix(1, 0, 0, 1, 0, 0))
904       swizzleTypes: [DOMMatrix]
905       trace:
906         0: setTransform
907         1: (anonymous function)
908         2: ignoreException
909         3: (anonymous function)
910         4: executeFrameFunction
911     2: setTransform(matrix(7, 8, 9, 10, 11, 12))
912       swizzleTypes: [DOMMatrix]
913       trace:
914         0: setTransform
915         1: (anonymous function)
916         2: ignoreException
917         3: (anonymous function)
918         4: executeFrameFunction
919   58: (duration)
920     0: shadowBlur
921       trace:
922         0: (anonymous function)
923         1: executeFrameFunction
924     1: shadowBlur = 1
925       swizzleTypes: [Number]
926       trace:
927         0: (anonymous function)
928         1: executeFrameFunction
929   59: (duration)
930     0: shadowColor
931       trace:
932         0: (anonymous function)
933         1: executeFrameFunction
934     1: shadowColor = "test"
935       swizzleTypes: [String]
936       trace:
937         0: (anonymous function)
938         1: executeFrameFunction
939   60: (duration)
940     0: shadowOffsetX
941       trace:
942         0: (anonymous function)
943         1: executeFrameFunction
944     1: shadowOffsetX = 1
945       swizzleTypes: [Number]
946       trace:
947         0: (anonymous function)
948         1: executeFrameFunction
949   61: (duration)
950     0: shadowOffsetY
951       trace:
952         0: (anonymous function)
953         1: executeFrameFunction
954     1: shadowOffsetY = 1
955       swizzleTypes: [Number]
956       trace:
957         0: (anonymous function)
958         1: executeFrameFunction
959   62: (duration)
960     0: stroke()
961       trace:
962         0: stroke
963         1: (anonymous function)
964         2: executeFrameFunction
965     1: stroke([object Path2D])
966       swizzleTypes: [Path2D]
967       trace:
968         0: stroke
969         1: (anonymous function)
970         2: executeFrameFunction
971   63: (duration)
972     0: strokeRect(1, 2, 3, 4)
973       swizzleTypes: [Number, Number, Number, Number]
974       trace:
975         0: strokeRect
976         1: (anonymous function)
977         2: executeFrameFunction
978   64: (duration)
979     0: strokeStyle
980       trace:
981         0: (anonymous function)
982         1: executeFrameFunction
983     1: strokeStyle = "test"
984       swizzleTypes: [String]
985       trace:
986         0: (anonymous function)
987         1: executeFrameFunction
988     2: strokeStyle = [object CanvasGradient]
989       swizzleTypes: [CanvasGradient]
990       trace:
991         0: (anonymous function)
992         1: executeFrameFunction
993     3: strokeStyle = [object CanvasGradient]
994       swizzleTypes: [CanvasGradient]
995       trace:
996         0: (anonymous function)
997         1: executeFrameFunction
998     4: strokeStyle = [object CanvasPattern]
999       swizzleTypes: [CanvasPattern]
1000       trace:
1001         0: (anonymous function)
1002         1: executeFrameFunction
1003   65: (duration)
1004     0: strokeText("testA", 1, 2)
1005       swizzleTypes: [String, Number, Number]
1006       trace:
1007         0: strokeText
1008         1: (anonymous function)
1009         2: executeFrameFunction
1010     1: strokeText("testB", 3, 4, 5)
1011       swizzleTypes: [String, Number, Number, Number]
1012       trace:
1013         0: strokeText
1014         1: (anonymous function)
1015         2: executeFrameFunction
1016   66: (duration)
1017     0: textAlign
1018       trace:
1019         0: (anonymous function)
1020         1: executeFrameFunction
1021   67: (duration)
1022     0: textBaseline
1023       trace:
1024         0: (anonymous function)
1025         1: executeFrameFunction
1026   68: (duration)
1027     0: transform(1, 2, 3, 4, 5, 6)
1028       swizzleTypes: [Number, Number, Number, Number, Number, Number]
1029       trace:
1030         0: transform
1031         1: (anonymous function)
1032         2: executeFrameFunction
1033   69: (duration)
1034     0: translate(1, 2)
1035       swizzleTypes: [Number, Number]
1036       trace:
1037         0: translate
1038         1: (anonymous function)
1039         2: executeFrameFunction
1040   70: (duration)
1041     0: webkitImageSmoothingEnabled
1042       trace:
1043         0: (anonymous function)
1044         1: executeFrameFunction
1045     1: webkitImageSmoothingEnabled = true
1046       swizzleTypes: [Boolean]
1047       trace:
1048         0: (anonymous function)
1049         1: executeFrameFunction
1050   71: (duration)
1051     0: webkitLineDash
1052       trace:
1053         0: (anonymous function)
1054         1: executeFrameFunction
1055     1: webkitLineDash = [1,2]
1056       swizzleTypes: [Array]
1057       trace:
1058         0: (anonymous function)
1059         1: executeFrameFunction
1060   72: (duration)
1061     0: webkitLineDashOffset
1062       trace:
1063         0: (anonymous function)
1064         1: executeFrameFunction
1065     1: webkitLineDashOffset = 1
1066       swizzleTypes: [Number]
1067       trace:
1068         0: (anonymous function)
1069         1: executeFrameFunction
1070   73: (duration)
1071     0: width
1072       trace:
1073         0: (anonymous function)
1074         1: executeFrameFunction
1075     1: width = 2
1076       swizzleTypes: [Number]
1077       trace:
1078         0: (anonymous function)
1079         1: executeFrameFunction
1080   74: (duration)
1081     0: height
1082       trace:
1083         0: (anonymous function)
1084         1: executeFrameFunction
1085     1: height = 2
1086       swizzleTypes: [Number]
1087       trace:
1088         0: (anonymous function)
1089         1: executeFrameFunction
1090
1091 -- Running test case: Canvas.recording2D.memoryLimit
1092 initialState:
1093   attributes:
1094     width: 2
1095     height: 2
1096   current state:
1097     setTransform: [[1,0,0,1,0,0]]
1098     globalAlpha: 1
1099     globalCompositeOperation: "source-over"
1100     lineWidth: 1
1101     lineCap: "butt"
1102     lineJoin: "miter"
1103     miterLimit: 10
1104     shadowOffsetX: 0
1105     shadowOffsetY: 0
1106     shadowBlur: 0
1107     shadowColor: "rgba(0, 0, 0, 0)"
1108     setLineDash: [[]]
1109     lineDashOffset: 0
1110     font: "10px sans-serif"
1111     textAlign: "start"
1112     textBaseline: "alphabetic"
1113     direction: "ltr"
1114     strokeStyle: "#000000"
1115     fillStyle: "#000000"
1116     imageSmoothingEnabled: true
1117     imageSmoothingQuality: "low"
1118     setPath: [{}]
1119   parameters:
1120   content: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAAAtJREFUCB1jYEAHAAASAAGAFMrMAAAAAElFTkSuQmCC"
1121 frames:
1122   0: (duration) (incomplete)
1123     0: arc(1, 2, 3, 4, 5, false)
1124       swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
1125       trace:
1126         0: arc
1127         1: (anonymous function)
1128         2: ignoreException
1129         3: (anonymous function)
1130         4: executeFrameFunction
1131         5: performActions
1132         6: Global Code
1133         7: evaluateWithScopeExtension
1134         8: (anonymous function)
1135         9: _wrapCall
1136
1137 -- Running test case: Canvas.recording2D.Console
1138 PASS: The recording should have the name "TEST".
1139 PASS: The recording should have one frame.
1140 PASS: The first frame should have one action.
1141
1142 -- Running test case: Canvas.recording2D.ActionParameterNaN
1143 PASS: The recording should have 1 frame.
1144 PASS: The first frame should have 1 action.
1145 PASS: The action should have 1 parameter.
1146 PASS: The parameter should be null.
1147
1148 -- Running test case: Canvas.recording2D.ExistingSaves
1149 PASS: There should be 4 existing states.
1150 PASS: State 0 should match expected fillStyle value.
1151 PASS: State 1 should match expected fillStyle value.
1152 PASS: State 2 should match expected fillStyle value.
1153 PASS: State 3 should match expected fillStyle value.
1154
1155 -- Running test case: Canvas.recording2D.NoActions
1156 PASS: A recording should have been started and stopped once.
1157 PASS: A recording should have been started and stopped twice.
1158