Fix interfaces/Document/getAnimations.html test
This test was assuming that the iframe load event could not fire during appendChild, which it does on Chrome. To fix this, setup the promise before calling appendChild, but only await on it afterwards. Bug: None Change-Id: Ie5ebdd7cec0fe0c276621033afaa8e8a5699dad1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833902Reviewed-by:Kevin Ellis <kevers@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#702037}
Showing
Please register or sign in to comment