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
Mutations records include a bunch of unexpected "CharacterData" updates:
inserted HTML
inserted HEAD
inserted BODY
inserted #text
#text: "a" => "a b c d"
#text: "a " => "a b c d"
#text: "a b" => "a b c d"
#text: "a b " => "a b c d"
#text: "a b c" => "a b c d"
#text: "a b c " => "a b c d"
How does similar code behave in browsers?
Mutation record does not contain these updates:
inserted HTML
inserted HEAD
inserted BODY
inserted #text
Thanks for this report! #3296 is a fix, though we still need to write a test for it to be mergeable.
@mlrawlings if you're interested in contributing your test as a Web Platform Test (put it under test/web-platform-tests/to-upstream), that would be wonderful.
domenic
pushed a commit
to TimothyGu/jsdom
that referenced
this issue
Jun 13, 2022
Basic info:
Minimal reproduction case
Mutations records include a bunch of unexpected "CharacterData" updates:
How does similar code behave in browsers?
Mutation record does not contain these updates:
https://cloudflareworkers.com/#8908b378ca311d7b21227af410fdaa19:https://tutorial.cloudflareworkers.com/
(open the browser console - displayed console is for the worker)
The text was updated successfully, but these errors were encountered: