| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 22f48caa8c7f1454b35c12c21694fb9604dbc676..018b8aa93a10c2ead94f064616a433dc50934513 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -9942,13 +9942,12 @@ class _ElementFactoryProvider {
|
|
|
| Element element;
|
| if (temp.children.length == 1) {
|
| - element = temp.$dom_firstChild;
|
| + element = temp.children[0];
|
| } else if (parentTag == 'html' && temp.children.length == 2) {
|
| // In html5 the root <html> tag will always have a <body> and a <head>,
|
| // even though the inner html only contains one of them.
|
| element = temp.children[tag == 'head' ? 0 : 1];
|
| } else {
|
| - // Throw an exception because too many children.
|
| _singleNode(temp.children);
|
| }
|
| element.remove();
|
| @@ -32790,6 +32789,7 @@ class _PureIsolateTimer implements Timer {
|
| _sendPort = _port.toSendPort();
|
| _port.receive((msg, replyTo) {
|
| assert(msg == _TIMER_PING);
|
| + assert(replyTo == _HELPER_ISOLATE_PORT);
|
| callback(this);
|
| if (!repeating) _cancel();
|
| });
|
|
|