AwaitPromiseFromAnotherFrame is supposed to test behavior for a Promise instance created in an iframe. Wrapping it into an async function changes the behavior in a way that a new promise is created in the calling context when the function is called.
Pull request: https://github.com/WebKit/WebKit/pull/20579
Committed 270830@main (b6955d53f2d3): <https://commits.webkit.org/270830@main> Reviewed commits have been landed. Closing PR #20579 and removing active labels.
<rdar://problem/118514384>