Index: tools/dom/scripts/generator.py |
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
index 0f8867d0d14589c5e1a9dfe9e3e33c3f3f15a52f..92a5ed0e98c37a40eeb851c0f296c0f82f14b83c 100644 |
--- a/tools/dom/scripts/generator.py |
+++ b/tools/dom/scripts/generator.py |
@@ -722,6 +722,9 @@ dart2js_conversions = monitored.Dict('generator.dart2js_conversions', { |
# postMessage |
'any set MessagePort.postMessage': _serialize_SSV, |
'SerializedScriptValue set Window.postMessage': _serialize_SSV, |
+ 'SerializedScriptValue set Worker.postMessage': _serialize_SSV, |
+ 'any set DedicatedWorkerGlobalScope.postMessage' : _serialize_SSV, |
+ 'SerializedScriptValue set ServiceWorkerClient.postMessage': _serialize_SSV, |
'* get CustomEvent.detail': |
Conversion('convertNativeToDart_SerializedScriptValue', |