From 4d2087c02c7ed37eac8e04b0a279b4c8d4675b97 Mon Sep 17 00:00:00 2001 From: electron-bot Date: Tue, 9 Jun 2020 18:05:36 +0000 Subject: [PATCH] feat: update source content --- content/7-3-x/en-US/docs/api/web-frame.md | 6 +++++- package.json | 2 +- stats.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/7-3-x/en-US/docs/api/web-frame.md b/content/7-3-x/en-US/docs/api/web-frame.md index e88fecbf3fd31..e26efe6b7cab7 100644 --- a/content/7-3-x/en-US/docs/api/web-frame.md +++ b/content/7-3-x/en-US/docs/api/web-frame.md @@ -141,10 +141,14 @@ this limitation. * `userGesture` Boolean (optional) - Default is `false`. Returns `Promise` - 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 diff --git a/package.json b/package.json index 65e4f75a9e3cd..58c1af4e7bd44 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "automerge": "ts-node ./script/automerge.ts" }, "electronLatestStableTag": "v9.0.3", - "electronMasterBranchCommit": "aa32fbf1d6e08bee0d30cf730ac93ecfaa0566a2", + "electronMasterBranchCommit": "fc8b49485ab38f91957ea1caeac1d9590c3da934", "engines": { "node": ">=10" }, diff --git a/stats.json b/stats.json index a776b98d84f36..84654de6b6a9c 100644 --- a/stats.json +++ b/stats.json @@ -192,7 +192,7 @@ "words_approved": "180878", "translated_progress": 41, "approved_progress": 28, - "qa_issues": 2674 + "qa_issues": 2673 }, { "name": "Persian",