RESOLVED FIXED220888
[JSC] DeferredWorkTimer should clear pending task after running
https://bugs.webkit.org/show_bug.cgi?id=220888
Summary [JSC] DeferredWorkTimer should clear pending task after running
Yusuke Suzuki
Reported 2021-01-22 21:22:26 PST
[JSC] DeferredWorkTimer should clear pending task after running
Attachments
Patch (5.07 KB, patch)
2021-01-22 21:28 PST, Yusuke Suzuki
no flags
Patch (5.33 KB, patch)
2021-01-22 21:31 PST, Yusuke Suzuki
no flags
Patch (14.22 KB, patch)
2021-01-22 23:44 PST, Yusuke Suzuki
no flags
Patch (14.22 KB, patch)
2021-01-23 02:18 PST, Yusuke Suzuki
mark.lam: review+
Yusuke Suzuki
Comment 1 2021-01-22 21:28:15 PST
Yusuke Suzuki
Comment 2 2021-01-22 21:31:39 PST
Yusuke Suzuki
Comment 3 2021-01-22 23:12:08 PST
Comment on attachment 418211 [details] Patch Looking.
Yusuke Suzuki
Comment 4 2021-01-22 23:44:00 PST
Yusuke Suzuki
Comment 5 2021-01-23 02:18:20 PST
Mark Lam
Comment 6 2021-01-23 11:33:59 PST
Comment on attachment 418220 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418220&action=review r=me > Source/JavaScriptCore/runtime/JSPromise.cpp:-186 > - vm.deferredWorkTimer->cancelPendingWork(this); Is there a reason to still keep DeferredWorkTimer::cancelPendingWork()? I see that you've removed all calls to it. If not, we should remove it.
Yusuke Suzuki
Comment 7 2021-01-23 14:07:48 PST
Comment on attachment 418220 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418220&action=review >> Source/JavaScriptCore/runtime/JSPromise.cpp:-186 >> - vm.deferredWorkTimer->cancelPendingWork(this); > > Is there a reason to still keep DeferredWorkTimer::cancelPendingWork()? I see that you've removed all calls to it. If not, we should remove it. There are no users, so we can remove it :).
Yusuke Suzuki
Comment 8 2021-01-23 14:11:39 PST
Radar WebKit Bug Importer
Comment 9 2021-01-23 14:12:16 PST
Note You need to log in before you can comment on or make changes to this bug.