14 lines
336 B
HTML
14 lines
336 B
HTML
This test passes if it doesn't crash.
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
xhr = new XMLHttpRequest();
|
|
xhr.open('GET', 'resources/onclick.html', false);
|
|
xhr.responseType = 'document';
|
|
xhr.onload = function () { r = this.responseXML; }
|
|
xhr.send();
|
|
td = r.getElementById('foo');
|
|
td.children[0].onclick;
|
|
</script>
|