blob: fd2edc2bc8ccc2a325a88f4ab5fd73a5f39a4831 [file] [log] [blame]
This test passes if it doesn't crash.
<script>
if (window.testRunner)
testRunner.dumpAsText();
testRunner.waitUntilDone();
xhr = new XMLHttpRequest();
xhr.open('GET', 'resources/onclick.html', true);
xhr.responseType = 'document';
xhr.onload = function () {
var r = this.responseXML;
var td = r.getElementById('foo');
td.children[0].onclick;
testRunner.notifyDone();
};
xhr.send();
</script>