Experimental Promise use
Reverting Promise for `getWindowInfo`

Didn’t find it useful for this use case.