Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / readystatechange.html
index f025b5c..09b4afc 100644 (file)
@@ -9,6 +9,10 @@ XMLHttpRequest should dispatch readystatechange event.</p>
 
     function called1(evt) {
         alert("onreadystatechange called");
+        alert("evt.constructor = " + evt.constructor);
+        if (evt instanceof XMLHttpRequestProgressEvent) {
+            alert("FAIL: evt must not be an instance of XMLHttpRequestProgressEvent");
+        }
         evt.foo = "bar";
     }