You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior window.queueMicrotask exists and behaves according to specification (or perhaps a rough proxy of it, e.g. cb => Promise.resolve().then(cb), is enough for most use cases that happy dom is to cover?)
Additional context
I am unsure if this should be considered a feature request or a bug. Currently I listed this as a bug since happy-dom aims to be useful for testing and server-side rendering of custom elements, but lacking this feature means it cannot run custom elements relying on the functionality (that's how I encountered the issue actually).
The text was updated successfully, but these errors were encountered:
Describe the bug
window.queueMicrotask
is undefined, causing issues with running some custom components that use the functionality.To Reproduce
Run the following code (sandbox):
Expected behavior
window.queueMicrotask
exists and behaves according to specification (or perhaps a rough proxy of it, e.g.cb => Promise.resolve().then(cb)
, is enough for most use cases that happy dom is to cover?)Additional context
I am unsure if this should be considered a feature request or a bug. Currently I listed this as a bug since
happy-dom
aims to be useful for testing and server-side rendering of custom elements, but lacking this feature means it cannot run custom elements relying on the functionality (that's how I encountered the issue actually).The text was updated successfully, but these errors were encountered: