4 <script src="../js/resources/js-test-pre.js"></script>
6 description('This tests that the XMLHttpRequest responseType attribute is modifiable prior to being in the OPENED state.');
9 xhr = new XMLHttpRequest();
10 evalAndLog("xhr.responseType = 'document';");
11 evalAndLog("xhr.open('GET', 'http://mydomain');");
12 shouldBeEqualToString('xhr.responseType', 'document');
14 <script src="../js/resources/js-test-post.js"></script>
17 <div id="description"></div>
18 <div id="console"></div>