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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort.html

Issue 521403002: XHR: Abort DocumentParser on internalAbort (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="/js-test-resources/js-test.js"></script>
3 <script>
4 jsTestIsAsync = true;
5
6 var xhr = new XMLHttpRequest();
7 xhr.responseType = 'document';
8 xhr.onreadystatechange = function () {
9 if (this.readyState == XMLHttpRequest.LOADING) {
10 xhr.abort();
11 requestAnimationFrame(function() {
12 debug("PASS if no crash or leak.");
13 testRunner.notifyDone();
14 });
15 }
16 };
17
18 xhr.open("GET", "resources/small-chunks.cgi", true);
19 xhr.send(null);
20 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-responseXML-abort-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698