OLD | NEW |
1 | 1 |
2 class DedicatedWorkerContextJs extends WorkerContextJs implements DedicatedWorke
rContext native "*DedicatedWorkerContext" { | 2 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor
kerContext native "*DedicatedWorkerContext" { |
3 | 3 |
4 EventListener get onmessage() native "return this.onmessage;"; | 4 EventListener get onmessage() native "return this.onmessage;"; |
5 | 5 |
6 void set onmessage(EventListener value) native "this.onmessage = value;"; | 6 void set onmessage(EventListener value) native "this.onmessage = value;"; |
7 | 7 |
8 void postMessage(Object message, [List messagePorts = null]) native; | 8 void postMessage(Object message, [List messagePorts = null]) native; |
9 | 9 |
10 void webkitPostMessage(Object message, [List transferList = null]) native; | 10 void webkitPostMessage(Object message, [List transferList = null]) native; |
11 } | 11 } |
OLD | NEW |