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

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: Moved to Platform.supportsTypedData 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
« no previous file with comments | « tests/html/typed_arrays_range_checks_test.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | 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 0087b74a392b8f8f68c8bd5b3aae09583c92712e..4758a8a1038551642a34582e8276b701181c3f3d 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 (Platform.supportsTypedData) {
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 (Platform.supportsTypedData) {
return HttpRequest.request(url, responseType: 'blob').then(
(xhr) {
expect(xhr.status, equals(200));
« no previous file with comments | « tests/html/typed_arrays_range_checks_test.dart ('k') | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698