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

Unified Diff: tests/html/custom_elements_test.dart

Issue 15026006: Support for extending native classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/custom_elements_test.dart
diff --git a/tests/html/custom_elements_test.dart b/tests/html/custom_elements_test.dart
index 71714b38708761d56505f8205142f85bd25c7dbf..04ae680f054bdf16d0bd2ff87481578a2451363f 100644
--- a/tests/html/custom_elements_test.dart
+++ b/tests/html/custom_elements_test.dart
@@ -8,6 +8,7 @@ import '../../pkg/unittest/lib/html_individual_config.dart';
import 'dart:html';
class CustomType extends Element {
+ factory CustomType() => null;
bool onCreatedCalled = false;
void onCreated() {
onCreatedCalled = true;

Powered by Google App Engine
This is Rietveld 408576698