Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
feat: update source content
Browse files Browse the repository at this point in the history
  • Loading branch information
electron-bot committed Jun 9, 2020
1 parent 2187c78 commit 4d2087c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion content/7-3-x/en-US/docs/api/web-frame.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,14 @@ this limitation.
* `userGesture` Boolean (optional) - Default is `false`.

Returns `Promise<any>` - A promise that resolves with the result of the executed code
or is rejected if the result of the code is a rejected promise.
or is rejected if execution could not start.

Works like `executeJavaScript` but evaluates `scripts` in an isolated context.

Note that when the execution of script fails, the returned promise will not
and the `result` would be `undefined`. This is because Chromium does not
errors of isolated worlds to foreign worlds.

### `webFrame.setIsolatedWorldInfo(worldId, info)`
* `worldId` Integer - The ID of the world to run the javascript in, `0` is the default world, `999` is the world used by Electrons `contextIsolation` feature. Chrome extensions reserve the range of IDs in `[1 << 20, 1 << 29)`. You can provide any integer here.
* `info` Object
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"automerge": "ts-node ./script/automerge.ts"
},
"electronLatestStableTag": "v9.0.3",
"electronMasterBranchCommit": "aa32fbf1d6e08bee0d30cf730ac93ecfaa0566a2",
"electronMasterBranchCommit": "fc8b49485ab38f91957ea1caeac1d9590c3da934",
"engines": {
"node": ">=10"
},
Expand Down
2 changes: 1 addition & 1 deletion stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"words_approved": "180878",
"translated_progress": 41,
"approved_progress": 28,
"qa_issues": 2674
"qa_issues": 2673
},
{
"name": "Persian",
Expand Down

0 comments on commit 4d2087c

Please sign in to comment.