Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xmlhttprequest / xmlhttprequest-withcredentials-before-open.html
blob6b0d2b2c3dd1069852b332ac409ebe06264a8f26
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 description('This tests that the XMLHttpRequest withCredentials attribute is modifiable prior to being in the OPENED state.');
7 var xhr;
9 xhr = new XMLHttpRequest();
10 evalAndLog("xhr.withCredentials = true;");
11 evalAndLog("xhr.open('GET', 'http://mydomain');");
12 shouldBeTrue('xhr.withCredentials');
13 </script>
14 </head>
15 <body>
16 <div id="description"></div>
17 <div id="console"></div>
18 </body>
19 </html>