Index: tools/dom/templates/html/dart2js/html_dart2js.darttemplate |
=================================================================== |
--- tools/dom/templates/html/dart2js/html_dart2js.darttemplate (revision 25107) |
+++ tools/dom/templates/html/dart2js/html_dart2js.darttemplate (working copy) |
@@ -88,6 +88,7 @@ |
// Workaround for tags like <cite> that lack their own Element subclass -- |
// Dart issue 1990. |
class _HTMLElement extends Element native "HTMLElement" { |
+ factory _HTMLElement() { throw new UnsupportedError("Not supported"); } |
} |
// Support for Send/ReceivePortSync. |