4 <script src=
"/js-test-resources/js-test.js"></script>
6 description('Test to verify XMLHttpRequest.send(...), with an object, calls toString exactly once.');
7 var testObj
= new function() {
9 this.toString = function() {
15 xhr
= new XMLHttpRequest
;
16 xhr
.open('GET', 'resources/get.txt', true);
18 shouldBe('testObj.callCounter', '1');