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

Unified Diff: tests/html/xhr_cross_origin_test.dart

Issue 11183038: Unflake-ify xhr_cross_origin_test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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: tests/html/xhr_cross_origin_test.dart
===================================================================
--- tests/html/xhr_cross_origin_test.dart (revision 13753)
+++ tests/html/xhr_cross_origin_test.dart (working copy)
@@ -12,8 +12,8 @@
useHtmlConfiguration();
test('XHR Cross-domain', () {
+ var url = "http://localhost:9876/tests/html/xhr_cross_origin_data.txt";
var xhr = new HttpRequest();
- var url = "https://code.google.com/feeds/issues/p/dart/issues/full?alt=json";
xhr.open('GET', url, true);
var validate = expectAsync1((data) {
expect(data, contains('feed'));
@@ -31,7 +31,7 @@
});
test('XHR.get Cross-domain', () {
- var url = "https://code.google.com/feeds/issues/p/dart/issues/full?alt=json";
+ var url = "http://localhost:9876/tests/html/xhr_cross_origin_data.txt";
new HttpRequest.get(url, expectAsync1((xhr) {
var data = JSON.parse(xhr.response);
expect(data, contains('feed'));
« tests/html/xhr_cross_origin_data.txt ('K') | « tests/html/xhr_cross_origin_data.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698