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

Unified Diff: tools/dom/src/dart2js_Platform.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 | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/src/dartium_Platform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/dart2js_Platform.dart
diff --git a/tests/language/issue9602_other.dart b/tools/dom/src/dart2js_Platform.dart
similarity index 67%
copy from tests/language/issue9602_other.dart
copy to tools/dom/src/dart2js_Platform.dart
index a189b7759b4381e2a8a27289c2b7ca318915f85a..90570f004991ddb2e87080fe4ac66e4b525b72be 100644
--- a/tests/language/issue9602_other.dart
+++ b/tools/dom/src/dart2js_Platform.dart
@@ -2,9 +2,8 @@
// 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.
-// Regression test case for http://dartbug.com/9602
-library issue9602_other;
+part of html;
-class M {
- var _field;
+class Platform {
+ static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)');
}
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/src/dartium_Platform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698