Unflake-ify xhr_cross_origin_test.

Review URL: https://codereview.chromium.org//11183038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13758 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
efortuna@google.com 2012-10-17 20:48:53 +00:00
parent 77614b7263
commit beff9f9724
3 changed files with 3 additions and 4 deletions

View file

@ -2,8 +2,6 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
xhr_cross_origin_test: Skip # http://dartbug.com/5645
window_open_test: Fail, Pass # http://dartbug.com/5151
event_test: Skip # Issue 1996

File diff suppressed because one or more lines are too long

View file

@ -12,8 +12,8 @@ main() {
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 @@ main() {
});
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'));