Bug 182062 - Wait for promises before ending layout tests
Summary: Wait for promises before ending layout tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2018-01-24 14:06 PST by Jonathan Bedard
Modified: 2018-04-02 21:58 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2018-01-24 14:06:53 PST
This acts as an umbrella bug tracking race conditions in layout tests where a promise may be left unfulfilled before a test exits.
Comment 1 Wenson Hsieh 2018-01-24 14:11:24 PST
I imagine one starting point is grepping for layout tests that use async UIHelper methods and/or testRunner.runUIScript(), but don't use testRunner.waitUntilDone() (or jsTestIsAsync = true) anywhere.