Stores a key/value pair to associate with a given window. You can subsequently retrieve this value using sessions.getWindowValue.
Note that this data will only be visible to the extension that set it, and not to any other extensions.
This is an asynchronous function that returns a Promise.