chromium/third_party/blink/web_tests/dom/text/text-should-not-have-attributes.html

<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<div id="test"></div>
<script>

description('This tests that Text nodes do no have attributes nor hasAttributes.');

shouldBeFalse('Text.prototype.hasOwnProperty("hasAttributes")');

var text = document.createTextNode('text');
shouldBeFalse('"hasAttributes" in text');
shouldBeFalse('"attributes" in text');

</script>