Windows uses `WorkQueueGeneric` instead of `WorkQueueWin` from WebKit 610.2 
onwards. In `WorkQueueWin`, `WorkQueue::dispatchAfter()` had a 20 ms 
`slopAdjustment` as the timer (called from `::SetTimer`) sometimes fire a few 
ms early. The same is not present in `WorkQueueGeneric` and needs to be added.

Also removing `WorkQueueWin` as it's removed for WebKit as well.

-------------

Commit messages:
 - 8260163: IrresponsiveScriptTest.testInfiniteLoopInScript unit test fails on 
Windows

Changes: https://git.openjdk.java.net/jfx/pull/391/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=391&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260163
  Stats: 204 lines in 3 files changed: 5 ins; 199 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/391.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/391/head:pull/391

PR: https://git.openjdk.java.net/jfx/pull/391

Reply via email to