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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync.html

Issue 950813002: [XHR] Add layout tests to see the cause of a flaky test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort.html b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync.html
similarity index 72%
copy from LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort.html
copy to LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync.html
index 0f0b4f38b47aa270d1437e38b7f55764c44eb4af..0588714f7f727476c6b5abdc03e0bb1808ab4f79 100644
--- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort.html
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync.html
@@ -8,10 +8,8 @@ xhr.responseType = 'document';
xhr.onreadystatechange = function () {
if (this.readyState == XMLHttpRequest.LOADING) {
xhr.abort();
- requestAnimationFrame(function() {
- debug("PASS if no crash or leak.");
- testRunner.notifyDone();
- });
+ debug("PASS if no crash or leak.");
+ testRunner.notifyDone();
}
};
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-sync-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698