4 https://bugzilla.mozilla.org/show_bug.cgi?id=814050
8 <title>Test for Bug
814050</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=814050">Mozilla Bug
814050</a>
15 <div id=
"content" style=
"display: none">
19 <script type=
"application/javascript">
21 /** Test for Bug
814050, but modified now that the spec has changed **/
22 var xhr = new XMLHttpRequest();
23 xhr.open(
"GET",
"", false);
24 xhr.withCredentials = true;
25 ok(true,
"Should not throw on withCredentials sets for sync XHR");
27 xhr = new XMLHttpRequest();
28 xhr.open(
"GET",
"", true);
29 xhr.withCredentials = true;
30 ok(true,
"Should not throw on withCredentials sets for async XHR");