- From: Elliott Sprehn <notifications@github.com>
- Date: Wed, 15 Nov 2017 07:12:04 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 November 2017 07:12:27 UTC
Since resolving a promise looks for a thenable and accessing the `then` property on a cross domain WindowProxy throws you can't do something like: ```js const loadFrame = (src) => new Promise((resolve) => { frame.src = src; frame.onload = () => resolve(frame.contentWindow); }); ``` Perhaps cross domain WindowProxy objects should allow accessing `then` and have it always be undefined? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/536
Received on Wednesday, 15 November 2017 07:12:27 UTC