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