embedded in a document communicates with its host. Last modified: Jan 13, 2021, by MDN contributors. The testPromise() method is called each time the