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
Describe the bug document.body.classList is not iterable object in partytown. Which then cause spread operator to fail (amongst probably many other side effects).
I get this error:
const bodyClassValues = [...document.body.classList];
TypeError: document.body.classList is not iterable
at Proxy.eval (eval at run (partytown-ww-sw.js?v=0.7.0:689:9), <anonymous>:18:51)
at run (partytown-ww-sw.js?v=0.7.0:689:37)
at runScriptContent (partytown-ww-sw.js?v=0.7.0:677:13)
at partytown-ww-sw.js?v=0.7.0:1686:54
at receiveMessageFromSandboxToWorker (partytown-ww-sw.js?v=0.7.0:1690:1
To Reproduce
Steps to reproduce the behavior:
This simple script will cause exception in the browser:
Partytown moves to QwikDev organization, this is a new beginning for the project. So it's time to clarify the status and clean up the current state a bit. This issue was automatically marked as deprecated and closed because it was not detected recent activity for 8 months, date of latest version. If this issue is still relevant, feel free to comment below and the maintainers will reopen it. Thank you for your contributions.
Describe the bug
document.body.classList is not iterable object in partytown. Which then cause spread operator to fail (amongst probably many other side effects).
I get this error:
To Reproduce
Steps to reproduce the behavior:
This simple script will cause exception in the browser:
Reproduction link
https://github.com/linuxd3v/partytown-iterable
^clone it, open index.html in browser - and you will see error in console.
Expected behavior
Objects that are usually iterable should be iterable with partytown and should not throw exceptions.
Partytown version
0.7.0
Screenshots
Additional context
I'm running into this issue with cafemedia and adthrive scripts.
The text was updated successfully, but these errors were encountered: