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

Unified Diff: tests/html/xhr_test.dart

Issue 12825013: Excluding XHR test for responseType=blob from Safari (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/xhr_test.dart
diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
index 8276b49962f0e7ce900614b93a54561a414b4cca..6214581348fa2f52c81539eae33689163c6e5af5 100644
--- a/tests/html/xhr_test.dart
+++ b/tests/html/xhr_test.dart
@@ -154,6 +154,17 @@ main() {
}
});
+ test('HttpRequestProgressEvent', () {
+ var expectation = HttpRequestProgressEvent.supported ?
+ returnsNormally : throws;
+ expect(() {
+ var event = new Event.eventType('XMLHttpRequestProgressEvent', '');
+ expect(event is HttpRequestProgressEvent, isTrue);
+ }, expectation);
+ });
+ });
+
+ group('xhr_requestBlob', () {
test('XHR.request responseType blob', () {
if (ArrayBuffer.supported) {
return HttpRequest.request(url, responseType: 'blob').then(
@@ -165,14 +176,5 @@ main() {
});
}
});
-
- test('HttpRequestProgressEvent', () {
- var expectation = HttpRequestProgressEvent.supported ?
- returnsNormally : throws;
- expect(() {
- var event = new Event.eventType('XMLHttpRequestProgressEvent', '');
- expect(event is HttpRequestProgressEvent, isTrue);
- }, expectation);
- });
});
}
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698