Bug 1071514 - use Promises in resize operations