Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Unhandled exception on text nodes #33

Closed
weizman opened this issue Apr 25, 2023 · 1 comment · Fixed by #36
Closed

Unhandled exception on text nodes #33

weizman opened this issue Apr 25, 2023 · 1 comment · Fixed by #36

Comments

@weizman
Copy link

weizman commented Apr 25, 2023

  1. Visit https://fasterthanlight.net/
  2. Open devtools and run document.body.append('x')
  3. The MObserver will catch the new text node and will try to execute "tachyon" in t.dataset but will fail because dataset is undefined for text nodes and in throws when right-hand is undefined
@weebney
Copy link
Owner

weebney commented Apr 25, 2023

Good catch. I'll look into it this afternoon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants