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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange.html

Issue 1681923002: Remove XMLHttpRequestProgressEvent (position and totalSize) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 4 years, 10 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: 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";
}

Powered by Google App Engine
This is Rietveld 408576698