The current assert: ASSERT_UNUSED(addResult, addResult.iterator->value->refCount() == 2 || (addResult.iterator->value.ptr() == m_rootNode.get() && m_rootNode->refCount() == 3)); Doesn't say what the refcount actually is, making it harder to debug. This was a problem for me when working on a previous patch.
Created attachment 446552 [details] Patch
<rdar://problem/86287382>
Committed r286811 (245047@main): <https://commits.webkit.org/245047@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446552 [details].