2018-01-08 6:47 GMT-07:00 Jacek Caban jacek@codeweavers.com:
@@ -355,8 +358,12 @@ function test_text_node() { }
function test_xhr() {
- if (typeof(XMLHttpRequest) != "object") {
win_skip("XMLHTTPRequest is not available or disabled");
return;
- }
- ok("XMLHttpRequest" in window, "XMLHttpRequest not found in window
object\n");
As far as I understand ok("XMLHttpRequest" in window) test works fine in this configuration. It would be nice to keep the test before skipping the rest.
Internet Explorer 6, which was the browser that originally shipped with Windows XP, did not include XMLHttpRequest in the window object at all. If the intent is to support testing IE6 then skipping this test is correct.
-Alex