Closed Bug 1585402 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19448 - Fix interfaces/Document/getAnimations.html test

Categories

(Core :: DOM: Animation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19448 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19448
Details from upstream follow.

Stephen McGruer <smcgruer@chromium.org> wrote:

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/1833902
WPT-Export-Revision: bc27d4db5564096d0a44f924e8a0d02d96e5e235

Component: web-platform-tests → DOM: Animation
Product: Testing → Core
Ran 1 tests and 7 subtests
OK     : 1
PASS   : 7
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/63c731ad93f9
[wpt PR 19448] - Fix interfaces/Document/getAnimations.html test, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.