));
}, 'Test that createImageBitmap on a bitmaprenderer canvas that never consumes any source produces correct result');


async_test(function(t) {
    var canvas = document.createElement("canvas");
    canvas.width = width;
    canvas.height = height;
    var ctx = canvas.getContext('bitmaprenderer');
    ctx.transferFromImageBitmap(null);
    createImageBitmap(canvas).then(t.step_func_done(function(image) {
        assert_equals(image.width, width);
        assert_equals(image.height, height);

        va