This commit is contained in:
Chase Knowlden 2024-11-20 20:01:47 -05:00 committed by GitHub
commit eb50479161
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5203,11 +5203,11 @@ size_t Document::broadcast_active_resize_observations()
shallowest_target_depth = target_depth; shallowest_target_depth = target_depth;
} }
// 4. Invoke observer.[[callback]] with entries. // 4. Clear observer.[[activeTargets]].
observer->invoke_callback(entries);
// 5. Clear observer.[[activeTargets]].
observer->active_targets().clear(); observer->active_targets().clear();
// 5. Invoke observer.[[callback]] with entries.
observer->invoke_callback(entries);
} }
return shallowest_target_depth; return shallowest_target_depth;