Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 687daf23db50317979f1d5591e36910ef203bde7..224e009186c7de63b9a25ab6140020c7872b8539 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -8485,7 +8485,7 @@ class DocumentFragment extends Node { |
this.insertAdjacentText('beforeend', text); |
} |
- void addHtml(String text) { |
+ void addHTML(String text) { |
this.insertAdjacentHTML('beforeend', text); |
} |
@@ -9340,7 +9340,7 @@ class Element extends Node implements ElementTraversal { |
* Parses the specified text as HTML and adds the resulting node after the |
* last child of this. |
*/ |
- void addHtml(String text) { |
+ void addHTML(String text) { |
this.insertAdjacentHTML('beforeend', text); |
} |
@@ -14944,6 +14944,10 @@ class LocalWindow extends EventTarget implements Window { |
DOMApplicationCache get applicationCache native "DOMWindow_applicationCache_Getter"; |
+ /** @domName DOMWindow.clientInformation */ |
+ Navigator get clientInformation native "DOMWindow_clientInformation_Getter"; |
+ |
+ |
/** @domName DOMWindow.closed */ |
bool get closed native "DOMWindow_closed_Getter"; |
@@ -15248,6 +15252,10 @@ class LocalWindow extends EventTarget implements Window { |
void print() native "DOMWindow_print_Callback"; |
+ /** @domName DOMWindow.prompt */ |
+ String prompt(String message, String defaultValue) native "DOMWindow_prompt_Callback"; |
+ |
+ |
/** @domName DOMWindow.releaseEvents */ |
void releaseEvents() native "DOMWindow_releaseEvents_Callback"; |
@@ -17592,7 +17600,7 @@ class Node extends EventTarget { |
/** @domName Node.nodeType */ |
- int get nodeType native "Node_nodeType_Getter"; |
+ int get $dom_nodeType native "Node_nodeType_Getter"; |
/** @domName Node.ownerDocument */ |
@@ -28504,7 +28512,6 @@ abstract class History { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
abstract class CssClassSet implements Set<String> { |
String toString() { |
@@ -28634,7 +28641,6 @@ typedef void EventListener(Event event); |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
class FilteredElementList implements List { |
final Node _node; |
final List<Node> _childNodes; |
@@ -29700,7 +29706,6 @@ class _DocumentFragmentFactoryProvider { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
class _AudioContextFactoryProvider { |
static AudioContext createAudioContext() => _createAudioContext(); |
static _createAudioContext([int numberOfChannels, |
@@ -30297,11 +30302,11 @@ class _MessageTraverser { |
return visitObject(x); |
} |
- visitPrimitive(x); |
- visitList(List x); |
- visitMap(Map x); |
- visitSendPort(SendPort x); |
- visitSendPortSync(SendPortSync x); |
+ abstract visitPrimitive(x); |
+ abstract visitList(List x); |
+ abstract visitMap(Map x); |
+ abstract visitSendPort(SendPort x); |
+ abstract visitSendPortSync(SendPortSync x); |
visitObject(Object x) { |
// TODO(floitsch): make this a real exception. (which one)? |
@@ -30452,7 +30457,7 @@ class _Deserializer { |
return result; |
} |
- deserializeSendPort(List x); |
+ abstract deserializeSendPort(List x); |
deserializeObject(List x) { |
// TODO(floitsch): Use real exception (which one?). |
@@ -30464,7 +30469,6 @@ class _Deserializer { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
/** |
* Checks to see if the mutation observer API is supported on the current |
* platform. |
@@ -30598,7 +30602,6 @@ class _Lists { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
// This API is exploratory. |
spawnDomFunction(Function topLevelFunction) => _Utils.spawnDomFunctionImpl(topLevelFunction); |
@@ -30628,7 +30631,6 @@ class TestRunner { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
class _Utils { |
static List convertToList(List list) { |
// FIXME: [possible optimization]: do not copy the array if Dart_IsArray is fine w/ it. |