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 319c762d4ddeda487d9c6998a33570179c27b2a2..6b1a7f794861630613961c7f26fee7504aaa236f 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -9535,7 +9535,7 @@ class DedicatedWorkerGlobalScope extends WorkerGlobalScope { |
@DomName('DedicatedWorkerGlobalScope.postMessage') |
@DocsEditable() |
@Experimental() // untriaged |
- void postMessage(Object message, [List<MessagePort> transfer]) => _blink.BlinkDedicatedWorkerGlobalScope.instance.postMessage_Callback_2_(unwrap_jso(this), message, transfer); |
+ void postMessage(Object message, [List<MessagePort> transfer]) => _blink.BlinkDedicatedWorkerGlobalScope.instance.postMessage_Callback_2_(unwrap_jso(this), convertDartToNative_SerializedScriptValue(message), transfer); |
/// Stream of `message` events handled by this [DedicatedWorkerGlobalScope]. |
@DomName('DedicatedWorkerGlobalScope.onmessage') |
@@ -33019,7 +33019,7 @@ class ServiceWorkerClient extends DartHtmlDomObject { |
@DomName('ServiceWorkerClient.postMessage') |
@DocsEditable() |
@Experimental() // untriaged |
- void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkServiceWorkerClient.instance.postMessage_Callback_2_(unwrap_jso(this), message, transfer); |
+ void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkServiceWorkerClient.instance.postMessage_Callback_2_(unwrap_jso(this), convertDartToNative_SerializedScriptValue(message), transfer); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -40677,7 +40677,7 @@ class Worker extends EventTarget implements AbstractWorker { |
@DomName('Worker.postMessage') |
@DocsEditable() |
- void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkWorker.instance.postMessage_Callback_2_(unwrap_jso(this), message, transfer); |
+ void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkWorker.instance.postMessage_Callback_2_(unwrap_jso(this), convertDartToNative_SerializedScriptValue(message), transfer); |
@DomName('Worker.terminate') |
@DocsEditable() |