Index: client/dom/templates/html/dartium/html_dartium.darttemplate |
diff --git a/client/dom/templates/html/dartium/html_dartium.darttemplate b/client/dom/templates/html/dartium/html_dartium.darttemplate |
index f51fa563b19b84c78b4bd00ed5ceed51d783ecf0..32dfd0390d945edd577104008da6800747baabf0 100644 |
--- a/client/dom/templates/html/dartium/html_dartium.darttemplate |
+++ b/client/dom/templates/html/dartium/html_dartium.darttemplate |
@@ -77,6 +77,8 @@ _wrap(raw) { |
throw 'A document should never be wrapped directly. TODO(jacobr) XXX'; |
case 'HTMLHtmlElement': |
return new _DocumentImpl._wrap(domObject); |
+ case 'HTMLElement': |
+ return new _UnknownElementImpl._wrap(domObject); |
$WRAPCASES |
default: |
throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; |