chromium/third_party/blink/web_tests/fast/canvas/shadow-offset-1.html

<!DOCTYPE HTML>
<body>
<script src="resources/shadow-offset.js"></script>
<script>
setter = function(ctx, offsetX, offsetY) {
    ctx.shadowOffsetX = offsetX;
    ctx.shadowOffsetY = offsetY;
    ctx.shadowBlur = 0;
    ctx.shadowColor = "green";
}

onload = test(setter);
</script>
</body>