Hi Chromium developers,
Calls to setTimeout(..., 0) were previously clamped to a 1 ms timeout, instead of resulting in a callback as soon as possible. This clamping is being removed. To get the old behavior, please use setTimeout(..., 1) instead.
References
- https://bugs.chromium.org/p/chromium/issues/detail?id=402694
- https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
Thanks,
Wanming
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcBb6a%2B8Q%3DtAPJLc5qgRp2ixnm-YBwVDpFHeCbzqWf7eQ%40mail.gmail.com.
--
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJL3UpQyfp4xPBfQ8HNYspTxXiQu%3DaRxcE%3Dqe5pNgZqNCfu-OQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8pw8wSiT%2BYNNjaW3_TeLiksQji-6T_urnsxmKn0pZcFQ%40mail.gmail.com.