From 36e266daa7b790d1648673b519a76eedeec3f89e Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Wed, 21 May 2025 16:43:05 +0900 Subject: [PATCH] Use "invoke" properly This reflects changes in Web IDL and HTML's exception reporting. See https://github.com/whatwg/html/issues/10516. --- index.bs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 67c6865..114d27c 100644 --- a/index.bs +++ b/index.bs @@ -704,9 +704,7 @@ run these steps: slot. 3. Clear |observer|'s internal {{[[QueuedEntries]]}} slot. 4. Let |callback| be the value of |observer|'s internal {{[[callback]]}} slot. - 5. Invoke |callback| with |queue| as the first argument, |observer| as the second argument, - and |observer| as the callback this value. - If this throws an exception, report the exception. + 5. [=Invoke=] |callback| with « |queue|, |observer| », "`report`", and |observer|.

Queue an IntersectionObserverEntry