-
Notifications
You must be signed in to change notification settings - Fork 23k
setTimeout() on Window/Worker plus consistency fixes #42072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Preview URLs (7 pages)
External URLs (3)URL:
URL:
(comment last updated: 2025-12-02 05:53:18) |
|
@pepelsbey Can you please review? |
|
@wbamberg Would you also/instead consider reviewing this. I ask because it is for TrustedTypes, and we've both been looking at all of those. |
|
I'm happy to look at this, yes, but it will take me a few days until I can find the time. |
This updates
Window.setTimeout()andWorkerGlobalScope.setTimeout()for trusted types, following the same approach as #42042This also did some consistency fixes across both this and the
setIntervalmethods so that they have the same name for the function param (func) and the arguments are referred to asparamrather thanargs- which is consistent with the template for web apis.There were a few layout change and improvements to the docs - these map the similar changes done previously for
setInterval()This is part of project being tracked in #41507