| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 6b1a7f794861630613961c7f26fee7504aaa236f..0d1edad2b9d7903acc957bfd2ddb45ba83e0d33b 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -20360,16 +20360,9 @@ class HtmlDocument extends Document {
|
| createdParametersValid = createdParametersValid && parameter.isOptional;
|
| });
|
| }
|
| -
|
| - // Get the created constructor source and look at the initializer;
|
| - // Must call super.created() if not its as an error.
|
| - var createdSource = methodMirror.source;
|
| - superCreatedCalled = createdSource.contains("super.created(");
|
| }
|
|
|
| - if (!superCreatedCalled) {
|
| - throw new DomException.jsInterop('created constructor initializer must call super.created()');
|
| - } else if (!createdParametersValid) {
|
| + if (!createdParametersValid) {
|
| throw new DomException.jsInterop('created constructor must have no parameters');
|
| }
|
|
|
|
|