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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.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/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html
deleted file mode 100644
index 6939296e5c2b52662648535c7ca2ba0599088420..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>
-<head>
- <title> Test case for bug 18655 </title>
-</head>
-<body>
-<p> Test case for Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=18655">18655</a>: [XHR] OnProgress needs more test case </p>
-<p> This test verify that we implement both interfaces and that they match. </p>
-<p> You should see PASSED twice. </p>
-
-<script type="text/javascript">
-var count = 0;
-
-function log (msg)
-{
- document.body.appendChild(document.createTextNode(msg));
- document.body.appendChild(document.createElement("br"));
-}
-
-function onProgress(e) {
- // Check if both interface match and they are not both null
- // so that if it is not implemented it does not match.
- if (e.position == e.loaded && e.loaded)
- log("PASSED");
- else
- log("FAILED position and loaded do not match (or both are null)");
-
- if (e.totalSize == e.total && e.total)
- log("PASSED");
- else
- log("FAILED totalSize and total do not match (or both are null)");
-
- if (++count == 1 && window.testRunner)
- testRunner.notifyDone();
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-var req = new XMLHttpRequest();
-req.onprogress = onProgress;
-req.open("GET", "resources/1251.html", true);
-req.send(null);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698