Move to WebIDL Promise type