Index: LayoutTests/fast/xmlhttprequest/instanceof-XMLHttpRequest.html |
diff --git a/LayoutTests/fast/xmlhttprequest/instanceof-XMLHttpRequest.html b/LayoutTests/fast/xmlhttprequest/instanceof-XMLHttpRequest.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ddc9d087a6b880f224e25aaddf5a4422033c2142 |
--- /dev/null |
+++ b/LayoutTests/fast/xmlhttprequest/instanceof-XMLHttpRequest.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE HTML> |
+ |
+<body> |
+ |
+<script src="../../resources/js-test.js"></script> |
+ |
+<script> |
+description("instanceof XMLHttpRequest test"); |
+ |
+shouldBeTrue("(new XMLHttpRequest()) instanceof XMLHttpRequest"); |
+shouldBeFalse("(new Array()) instanceof XMLHttpRequest"); |
+ |
+shouldBeTrue("(new XMLHttpRequest()) instanceof XMLHttpRequestEventTarget"); |
+shouldBeFalse("(new Array()) instanceof XMLHttpRequestEventTarget"); |
+ |
+shouldBeTrue("(new XMLHttpRequest).upload instanceof XMLHttpRequestUpload"); |
+shouldBeTrue("(new XMLHttpRequest).upload instanceof XMLHttpRequestEventTarget"); |
+</script> |
+</body> |
+ |