bug 834961: require("window/utils").close returns a promise now.