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

Unified Diff: tests/html/xhr_test.dart

Issue 13954014: Add Supported class to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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_test.dart
diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
index 0087b74a392b8f8f68c8bd5b3aae09583c92712e..6f18c9e72f4261343c4e692fc7d82a69479bf2d9 100644
--- a/tests/html/xhr_test.dart
+++ b/tests/html/xhr_test.dart
@@ -143,7 +143,7 @@ main() {
});
test('XHR.request responseType arraybuffer', () {
- if (ArrayBuffer.supported) {
+ if (Supported.typeddata) {
HttpRequest.request(url, responseType: 'arraybuffer').then(
expectAsync1((xhr) {
expect(xhr.status, equals(200));
@@ -166,7 +166,7 @@ main() {
group('xhr_requestBlob', () {
test('XHR.request responseType blob', () {
- if (ArrayBuffer.supported) {
+ if (Supported.typeddata) {
return HttpRequest.request(url, responseType: 'blob').then(
(xhr) {
expect(xhr.status, equals(200));

Powered by Google App Engine
This is Rietveld 408576698