mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Stabilize and align Intersection Observers
- Fixes several crashes - Aligns the feature with the W3C WD spec Tag #249
This commit is contained in:
parent
ea3ff24118
commit
5af4107852
9 changed files with 111 additions and 64 deletions
|
|
@ -12507,7 +12507,8 @@ nsDocument::ScheduleIntersectionObserverNotification()
|
|||
void
|
||||
nsDocument::NotifyIntersectionObservers()
|
||||
{
|
||||
for (const auto& observer : mIntersectionObservers) {
|
||||
nsTArray<RefPtr<DOMIntersectionObserver>> observers(mIntersectionObservers);
|
||||
for (const auto& observer : observers) {
|
||||
observer->Notify();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue