Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: LayoutTests/fast/xmlhttprequest/instanceof-XMLHttpRequest.html

Issue 848173003: Dropping [NoInterfaceObject] from XMLHttpRequestEventTarget (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
+

Powered by Google App Engine
This is Rietveld 408576698