Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html |
index 09b4afcf399aefbacbcdbdbd9da8fa7b0e318185..d56e073d9e7fe1e2490cda64e615f0e1da30ef19 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html |
@@ -1,6 +1,6 @@ |
<html> |
<body> |
-<p>Tests for <a href="https://bugs.webkit.org/show_bug.cgi?id=15102">bug 15102</a> - |
+<p>Tests for <a href="https://bugs.webkit.org/show_bug.cgi?id=15102">bug 15102</a> - |
XMLHttpRequest should dispatch readystatechange event.</p> |
<p>If this passes you should see alerts for onreadystatechange and for a readystatechange listener.</p> |
<script> |
@@ -10,8 +10,8 @@ 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"); |
+ if (evt instanceof ProgressEvent) { |
+ alert("FAIL: evt must not be an instance of ProgressEvent"); |
} |
evt.foo = "bar"; |
} |