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 10c20cf3cd70b7760fa3f782f1feae630122f553..bbdbe34955346685abf3f82395dc198165380019 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -6594,20 +6594,11 @@ class CssStyleDeclaration extends DartHtmlDomObject with |
@DocsEditable() |
CssRule get parentRule => wrap_jso(_blink.BlinkCSSStyleDeclaration.instance.parentRule_Getter_(unwrap_jso(this))); |
- @DomName('CSSStyleDeclaration.__getter__') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Object __getter__(String name) => wrap_jso(_blink.BlinkCSSStyleDeclaration.instance.$__getter___Callback_1_(unwrap_jso(this), name)); |
- |
@DomName('CSSStyleDeclaration.__propertyQuery__') |
@DocsEditable() |
@Experimental() // untriaged |
bool __propertyQuery__(String name) => _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(unwrap_jso(this), name); |
- @DomName('CSSStyleDeclaration.__setter__') |
- @DocsEditable() |
- void __setter__(String property, String propertyValue) => _blink.BlinkCSSStyleDeclaration.instance.$__setter___Callback_2_(unwrap_jso(this), property, propertyValue); |
- |
@DomName('CSSStyleDeclaration.getPropertyPriority') |
@DocsEditable() |
String getPropertyPriority(String property) => _blink.BlinkCSSStyleDeclaration.instance.getPropertyPriority_Callback_1_(unwrap_jso(this), property); |
@@ -35611,17 +35602,27 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope { |
Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
// 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. |
// WARNING: Do not edit - generated code. |
-@DocsEditable() |
+// TODO(alanknight): Provide a nicer constructor that uses named parameters |
+// rather than an initialization map. |
@DomName('ServiceWorkerMessageEvent') |
@Experimental() // untriaged |
class ServiceWorkerMessageEvent extends Event { |
+ |
+ // TODO(alanknight): This really should be generated by the |
+ // _OutputConversion in the systemnative.py script, but that doesn't |
+ // use those conversions right now, so do this as a one-off. |
+ @DomName('ServiceWorkerMessageEvent.data') |
+ @DocsEditable() |
+ dynamic get data => convertNativeToDart_SerializedScriptValue( |
+ _blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this))); |
+ |
// To suppress missing implicit constructor warnings. |
factory ServiceWorkerMessageEvent._() { throw new UnsupportedError("Not supported"); } |
@@ -35647,11 +35648,6 @@ class ServiceWorkerMessageEvent extends Event { |
ServiceWorkerMessageEvent.internal_() : super.internal_(); |
- @DomName('ServiceWorkerMessageEvent.data') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Object get data => wrap_jso(_blink.BlinkServiceWorkerMessageEvent.instance.data_Getter_(unwrap_jso(this))); |
- |
@DomName('ServiceWorkerMessageEvent.lastEventId') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -40357,10 +40353,10 @@ class Url extends DartHtmlDomObject implements UrlUtils { |
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream)); |
} |
- if ((blob_OR_source_OR_stream is MediaStream)) { |
+ if ((blob_OR_source_OR_stream is MediaSource)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream)); |
} |
- if ((blob_OR_source_OR_stream is MediaSource)) { |
+ if ((blob_OR_source_OR_stream is MediaStream)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream)); |
} |
throw new ArgumentError("Incorrect number or type of arguments"); |