Skip to content
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

Show contents of text nodes in jsDump.node #380

Closed
Krinkle opened this issue Dec 20, 2012 · 0 comments
Closed

Show contents of text nodes in jsDump.node #380

Krinkle opened this issue Dec 20, 2012 · 0 comments
Assignees

Comments

@Krinkle
Copy link
Member

Krinkle commented Dec 20, 2012

While writing unit tests for dom traversal I noticed that text nodes get dumped as <#text></<#text> (based on the nodeName for TextNode's [spec]).

The nodeValue (text content) is not dumped. This can make it rather difficult to figure out what went wrong as the jsDump outputs are the same for "Actual" and "Result" (whereas equal, comparing them by reference, returns false)

@ghost ghost assigned Krinkle Dec 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant