Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsISyncMessageSender

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格式的字符串,代表了要发送的数据.

相关链接

文档标签和贡献者

 此页面的贡献者: ziyunfei
 最后编辑者: ziyunfei,