Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
skyclouds2001 and github-actions[bot] authored Sep 4, 2024
1 parent 3d29061 commit 2b76098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: Web/API/BroadcastChannel/messageerror_event

{{APIRef("BroadCastChannel API")}}{{AvailableInWorkers}}

{{domxref("BroadcastChannel")}} 接口的 **`messageerror`** 事件在无法反序列化的消息到达通道时触发
{{domxref("BroadcastChannel")}} 接口的 **`messageerror`** 事件在无法反序列化的消息到达通道时触发。

## 语法

Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/broadcastchannel/postmessage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ postMessage(message)
### 参数

- `message`
- : 要发送到其他窗口的数据。数据使用[结构化克隆算法](/zh-CN/docs/Web/API/Web_Workers_API/Structured_clone_algorithm)进行序列化。这意味着您可以将各种数据对象安全地传递到目标窗口,而无需自己对其进行序列化。
- : 要发送到其他窗口的数据。数据使用[结构化克隆算法](/zh-CN/docs/Web/API/Web_Workers_API/Structured_clone_algorithm)进行序列化。这意味着你可以将各种数据对象安全地传递到目标窗口,而无需自己对其进行序列化。

### 返回值

Expand Down

0 comments on commit 2b76098

Please sign in to comment.