From 3017294fd8dd8070a84a8c04821c1c69448c849c Mon Sep 17 00:00:00 2001 From: Jeremy Roman Date: Thu, 8 Aug 2024 16:46:08 -0400 Subject: [PATCH] Editorial: Update use of WebIDL "invoke a callback function" This algorithm can now handle the need to report an exception thrown by the callback. Some small tweaks are made for consistency with other specifications. Part of whatwg/webidl#1425. --- index.src.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.src.html b/index.src.html index 8294b18..7253976 100644 --- a/index.src.html +++ b/index.src.html @@ -833,10 +833,9 @@

3. Empty |observer|'s report queue - 4. Invoke |observer|'s callback with a list of - arguments consisting of |reports| and |observer|, and |observer| as the - callback this value. If this throws an exception, report the - exception. + 4. Invoke |observer|'s callback with + « |reports|, |observer| » and "`report`", and with |observer| as the + callback this value.