web-animations/web-animations-js — pull request #428 by mithro (2013-08-20 12:34:31+00:00)
Title: Creation of a timing log in tests

This was invaluable when debugging the tests under IE as it allowed me to see what was called when.

Example log outpug;

```
TestTimeline constructor undefined
TestTimeline schedule 0 function () {}
TestTimeline schedule 0 "#background at t=0s"
TestTimeline schedule 0 "#border at t=0s"
TestTimeline schedule 0 "#table at t=0s"
TestTimeline schedule 0 "#opacity at t=0s"
TestTimeline schedule 0 "#outline at t=0s"
TestTimeline schedule 0 "#padding at t=0s"
TestTimeline schedule 0 "#transform at t=0s"
TestTimeline schedule 0 "#text at t=0s"
TestTimeline schedule 1000 "#background at t=1s"
TestTimeline schedule 1000 "#border at t=1s"
TestTimeline schedule 1000 "#table at t=1s"
TestTimeline schedule 1000 "#opacity at t=1s"
TestTimeline schedule 1000 "#outline at t=1s"
TestTimeline schedule 1000 "#padding at t=1s"
TestTimeline schedule 1000 "#transform at t=1s"
TestTimeline schedule 1000 "#text at t=1s"
TestTimeline schedule 2000 "#background at t=2s"
TestTimeline schedule 2000 "#border at t=2s"
TestTimeline schedule 2000 "#table at t=2s"
TestTimeline schedule 2000 "#opacity at t=2s"
TestTimeline schedule 2000 "#outline at t=2s"
TestTimeline schedule 2000 "#padding at t=2s"
TestTimeline schedule 2000 "#transform at t=2s"
TestTimeline schedule 2000 "#text at t=2s"
testharness_after_loaded
testharness_timeline_setup
TestTimeline now 0
TestTimeline setTime 0
TestTimeline setting time to 0
TestTimeline raf callback function (rafTime) {
documentTimeZeroAsRafTime = rafTime;
} 0
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 0
TestTimelineGroup calling function function () {}
TestTimelineGroup calling test "#background at t=0s"
TestTimelineGroup calling test "#border at t=0s"
TestTimelineGroup calling test "#table at t=0s"
TestTimelineGroup calling test "#opacity at t=0s"
TestTimelineGroup calling test "#outline at t=0s"
TestTimelineGroup calling test "#padding at t=0s"
TestTimelineGroup calling test "#transform at t=0s"
TestTimelineGroup calling test "#text at t=0s"
TestTimeline setTime 103.22900000028312
TestTimeline setting time to 103.22900000028312
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 103.22900000028312
TestTimeline setTime 149.86900007352233
TestTimeline setting time to 149.86900007352233
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 149.86900007352233
TestTimeline setTime 195.6650000065565
TestTimeline setting time to 195.6650000065565
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 195.6650000065565
TestTimeline setTime 232.13600006420165
TestTimeline setting time to 232.13600006420165
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 232.13600006420165
TestTimeline setTime 272.0640000188723
TestTimeline setting time to 272.0640000188723
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 272.0640000188723
TestTimeline setTime 309.3150000786409
TestTimeline setting time to 309.3150000786409
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 309.3150000786409
TestTimeline setTime 349.9590000137687
TestTimeline setting time to 349.9590000137687
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 349.9590000137687
TestTimeline setTime 389.2480001086369
TestTimeline setting time to 389.2480001086369
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 389.2480001086369
TestTimeline setTime 439.1780000878498
TestTimeline setting time to 439.1780000878498
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 439.1780000878498
TestTimeline setTime 479.36900006607175
TestTimeline setting time to 479.36900006607175
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 479.36900006607175
TestTimeline setTime 524.3710000067949
TestTimeline setting time to 524.3710000067949
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 524.3710000067949
TestTimeline setTime 581.4000000245869
TestTimeline setting time to 581.4000000245869
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 581.4000000245869
TestTimeline setTime 613.4720001136884
TestTimeline setting time to 613.4720001136884
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 613.4720001136884
TestTimeline setTime 662.9070000490174
TestTimeline setting time to 662.9070000490174
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 662.9070000490174
TestTimeline setTime 723.6890000058338
TestTimeline setting time to 723.6890000058338
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 723.6890000058338
TestTimeline setTime 775.076000019908
TestTimeline setting time to 775.076000019908
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 775.076000019908
TestTimeline setTime 826.9900000886992
TestTimeline setting time to 826.9900000886992
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 826.9900000886992
TestTimeline setTime 890.3360000113025
TestTimeline setting time to 890.3360000113025
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 890.3360000113025
TestTimeline setTime 946.2870000861585
TestTimeline setting time to 946.2870000861585
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 946.2870000861585
TestTimeline setTime 1000.7550000445917
TestTimeline setting time to 1000
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1000
TestTimelineGroup calling test "#background at t=1s"
TestTimelineGroup calling test "#border at t=1s"
TestTimelineGroup calling test "#table at t=1s"
TestTimelineGroup calling test "#opacity at t=1s"
TestTimelineGroup calling test "#outline at t=1s"
TestTimelineGroup calling test "#padding at t=1s"
TestTimelineGroup calling test "#transform at t=1s"
TestTimelineGroup calling test "#text at t=1s"
TestTimeline setting time to 1000.7550000445917
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1000.7550000445917
TestTimeline setTime 1137.0300000999123
TestTimeline setting time to 1137.0300000999123
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1137.0300000999123
TestTimeline setTime 1193.862000014633
TestTimeline setting time to 1193.862000014633
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1193.862000014633
TestTimeline setTime 1240.993000101298
TestTimeline setting time to 1240.993000101298
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1240.993000101298
TestTimeline setTime 1295.3220000490546
TestTimeline setting time to 1295.3220000490546
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1295.3220000490546
TestTimeline setTime 1342.4060000106692
TestTimeline setting time to 1342.4060000106692
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1342.4060000106692
TestTimeline setTime 1391.8470001081005
TestTimeline setting time to 1391.8470001081005
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1391.8470001081005
TestTimeline setTime 1462.038000114262
TestTimeline setting time to 1462.038000114262
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1462.038000114262
TestTimeline setTime 1528.7880001123995
TestTimeline setting time to 1528.7880001123995
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1528.7880001123995
TestTimeline setTime 1608.4040000569075
TestTimeline setting time to 1608.4040000569075
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1608.4040000569075
TestTimeline setTime 1657.395000103861
TestTimeline setting time to 1657.395000103861
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1657.395000103861
TestTimeline setTime 1737.2360000154004
TestTimeline setting time to 1737.2360000154004
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1737.2360000154004
TestTimeline setTime 1805.8440000750124
TestTimeline setting time to 1805.8440000750124
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1805.8440000750124
TestTimeline setTime 1878.0350000597537
TestTimeline setting time to 1878.0350000597537
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1878.0350000597537
TestTimeline setTime 1935.9340000664815
TestTimeline setting time to 1935.9340000664815
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 1935.9340000664815
TestTimeline setTime 2006.5230000764132
TestTimeline setting time to 2000
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 2000
TestTimelineGroup calling test "#background at t=2s"
TestTimelineGroup calling test "#border at t=2s"
TestTimelineGroup calling test "#table at t=2s"
TestTimelineGroup calling test "#opacity at t=2s"
TestTimelineGroup calling test "#outline at t=2s"
TestTimelineGroup calling test "#padding at t=2s"
TestTimelineGroup calling test "#transform at t=2s"
TestTimelineGroup calling test "#text at t=2s"
TestTimeline setting time to 2006.5230000764132
TestTimeline raf callback function (rafTime, isRepeat) {
// Don't tick till the page is loaded....
if (!isDefined(documentTimeZeroAsRafTime)) {
...
}
} 2006.5230000764132
TestTimeline setTime 2200
TestTimeline setting time to 2200
```