2 <script src=
"../../../resources/testharness.js"></script>
3 <script src=
"../../../resources/testharnessreport.js"></script>
7 var t
= async_test('an XHR response document must not have a registry');
9 var req
= new XMLHttpRequest();
10 req
.onreadystatechange
= t
.step_func(function() {
11 if (req
.readyState
== 4 && req
.status
== 200) {
14 function () { req
.response
.registerElement('x-a'); });
18 req
.open('GET', 'resources/blank.html', true);
19 req
.responseType
= 'document';