https://trac.webkit.org/r236781 delayed the clearing of m_pendingTargets until the end of microtask to avoid a race between JSMutationRecord's wrappers to be created and GC. Cleanup this code so that we don't have to delay the clearing until the end of Microtask.
Created attachment 351496 [details] Cleanup
Comment on attachment 351496 [details] Cleanup r=me Can you add a bindings test for this? Here are two alternative names to consider: [ResultField=records] [ResultExtractor=result.records]
<rdar://problem/44997466>
(In reply to Geoffrey Garen from comment #2) > Comment on attachment 351496 [details] > Cleanup > > r=me > > Can you add a bindings test for this? Will do. > Here are two alternative names to consider: > > [ResultField=records] > [ResultExtractor=result.records] Will use ResultField.
Committed r236825: <https://trac.webkit.org/changeset/236825>