Browse Source

docs: update breaking changes language (#41387)

Keeley Hammond 1 year ago
parent
commit
f350cce64f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/breaking-changes.md

+ 3 - 3
docs/breaking-changes.md

@@ -42,10 +42,10 @@ If so, that logic will no longer be needed in Electron 30 as autoresizing behavi
 
 ### Behavior Changed: `ipcRenderer` can no longer be sent over the `contextBridge`
 
-Attempting to send `ipcRenderer` as an object over the `contextBridge` will now result in
+Attempting to send the entire `ipcRenderer` module as an object over the `contextBridge` will now result in
 an empty object on the receiving side of the bridge. This change was made to remove / mitigate
-a security footgun, you should not directly expose ipcRenderer or it's methods over the bridge.
-Instead provide a safe wrapper like below:
+a security footgun. You should not directly expose ipcRenderer or its methods over the bridge.
+Instead, provide a safe wrapper like below:
 
 ```js
 contextBridge.exposeInMainWorld('app', {