Handles sending messages synchronously to a destination frame.
1.0
28
Introduced
Gecko 2.0
继承于:
nsIFrameMessageManager
最后修改于Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)方法概述
void sendSyncMessage(in messageName, in JSON, in [array] jsObjects); |
sendSyncMessage()
同步发送一条短消息.
void sendSyncMessage( in DOMString messageName, in DOMString json, );
Parameters
-
messageName
- 消息的名称.
-
json
- 一个JSON格式的字符串,代表了要发送的数据.