The MediaKeySession.generateRequest() method returns a Promise after generating a media request based on initialization data.