Should be mostly similar to the HTMLImageElement implementation. I haven't yet found the equivalent to the imageElement->complete() check, though.
Any update on this? Safari is the last vendor that still needs to implement createImageBitmap.
*** This bug has been marked as a duplicate of bug 260000 ***