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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html

Issue 492183002: Reenable data URL layout tests which were temporarily skipped until Chromium side change gets landed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
index 0b8903d38f6f449186fdfb9a9bcdc64f57ff864b..03aec631b0960abf2dd744826ed75d3c73c6fb65 100644
--- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url.html
@@ -75,17 +75,9 @@ testUtf8Blob.step(function() {
if (xhr.readyState != xhr.DONE)
return;
- assert_equals(xhr.status, 200, 'status');
- assert_not_equals(xhr.response, null, 'response');
- assert_equals(xhr.response.type, 'text/html', 'response.type');
- var reader = new FileReader();
- reader.onabort = testUtf8Blob.step_func(function() { assert_unreached('onabort'); });
- reader.onerror = testUtf8Blob.step_func(function() { assert_unreached('onerror'); });
- reader.onload = testUtf8Blob.step_func(function() {
- assert_equals(reader.result, '\u6587\u5b57', 'result');
- testUtf8Blob.done();
- });
- reader.readAsText(xhr.response);
+ assert_equals(xhr.status, 0, 'status');
+ assert_equals(xhr.response, null, 'response');
+ testUtf8Blob.done();
});
xhr.send();
});
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-data-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698