| Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| index a75d1fc303581ebf5ccad93796fbf35cb9074e4c..227131af141cb090424fc7c52cdae393f1852ed3 100644
|
| --- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| @@ -166,6 +166,16 @@ $endif
|
| @Experimental()
|
| String get visibilityState => $dom_webkitVisibilityState;
|
|
|
| + @Experimental
|
| +$if DART2JS
|
| + void register(String tag, Type custom) {
|
| + throw new UnsupportedError("Custom DOM types not supported");
|
| + }
|
| +$else
|
| + void register(String tag, Type custom) {
|
| + _Utils.register(tag, custom);
|
| + }
|
| +$endif
|
|
|
| $if DART2JS
|
| @Creates('Null') // Set from Dart code; does not instantiate a native type.
|
|
|