Fix #2143: pass back all parameters in promise.resolve