Correct complete threshold for CanvasAsyncBlobCreator
We were too conservative in setting a larger-than-enough threshold for complete idle task detection in canvas_async_blob_creator. Based on latest user statistics, 5 seconds delay for desktop and 9 seconds delay for mobile are good for 99% users. This long threshold might be contributing to the flakiness on leak bot of the convertToBlob tests--the delayed task for current thread takes too long to finish, even longer than the timeout limit of the test, causing a JS object leak. Bug: 836278, 787972 Change-Id: I01ced35c4f910b4193adec6f8b26d9a02885a279 Reviewed-on: https://chromium-review.googlesource.com/1042534Reviewed-by:Justin Novosad <junov@chromium.org> Commit-Queue: Olivia Lai <xlai@chromium.org> Cr-Commit-Position: refs/heads/master@{#556160}
Showing
Please register or sign in to comment