| 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 227131af141cb090424fc7c52cdae393f1852ed3..8f1a4cac8088f20c575074b5966ab6ac20ad0c51 100644
|
| --- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| @@ -168,8 +168,8 @@ $endif
|
|
|
| @Experimental
|
| $if DART2JS
|
| - void register(String tag, Type custom) {
|
| - throw new UnsupportedError("Custom DOM types not supported");
|
| + void register(String tag, Type customElementClass) {
|
| + _registerCustomElement(JS('', 'window'), this, tag, customElementClass);
|
| }
|
| $else
|
| void register(String tag, Type custom) {
|
|
|