[csswg-drafts] [view-transitions-1] Callback is invoked without required parameters (#12188)

Psychpsyo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [view-transitions-1] Callback is invoked without required parameters ==
[Invoking](https://webidl.spec.whatwg.org/#invoke-a-callback-function) a callback function requires "a [Web IDL arguments list](https://webidl.spec.whatwg.org/#web-idl-arguments-list) *args*, exception behavior *exceptionBehavior* (either "report" or "rethrow"), and an optional [callback this value](https://webidl.spec.whatwg.org/#dfn-callback-this-value) *thisArg*"

[Call the update callback](https://drafts.csswg.org/css-view-transitions-1/#call-the-update-callback), in step 5, says to "set *callbackPromise* to the result of [invoking](https://webidl.spec.whatwg.org/#invoke-a-callback-function) *transition*’s [update callback](https://drafts.csswg.org/css-view-transitions-1/#viewtransition-update-callback)."

This should be passing an arguments list and either "report" or "rethrow".
(currently, "rethrow" is the implied default, but it should be explicit at the callsite)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12188 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 13 May 2025 16:46:53 UTC