haikuwebkit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-withcredenti...

13 lines
342 B
Plaintext

This tests that the XMLHttpRequest withCredentials attribute is modifiable prior to being in the OPENED state.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
xhr.withCredentials = true;
xhr.open('GET', 'http://mydomain');
PASS xhr.withCredentials is true
PASS successfullyParsed is true
TEST COMPLETE