[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / xmlhttprequest / xmlhttprequest-responseXML-invalid-xml.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <script src="../js/resources/js-test-pre.js"></script>
5     <script>
6         description('This tests the XMLHttpRequest responseXML attribute value when given invalid XML data.');
7
8         window.jsTestIsAsync = true;
9         var xhr = new XMLHttpRequest(),
10             url = 'resources/xmlhttprequest-get-invalid-data.xml';
11         xhr.onload = function() {
12             shouldEvaluateTo('xhr.readyState', 4);
13             shouldBeNull('xhr.responseXML');
14             finishJSTest();
15         };
16         xhr.onerror = function() {
17             testFailed('The XHR request to an existing resource failed: "' + url + '"');
18             finishJSTest();
19         };
20         xhr.open('GET', url);
21         xhr.responseType = 'document';
22         xhr.send(null);
23     </script>
24     <script src="../js/resources/js-test-post.js"></script>
25 </head>
26 <body>
27     <div id="description"></div>
28     <div id="console"></div>
29 </body>
30 </html>