electron/lib/renderer/api
Samuel Attard b500294c1d
feat: add worldSafe flag for executeJS results (#24114)
* feat: add worldSafe flag for executeJS results

* chore: do not log warning for webContents.executeJS

* Apply suggestions from code review

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

* chore: apply PR feedback

* chore: split logic a bit

* chore: allow primitives through the world safe checl

* chore: clean up per PR feedback

* chore: flip boolean logic

* chore: update per PR feedback

* chore: fix typo

* chore: fix spec

Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-07-23 14:32:20 -07:00
..
exports build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
context-bridge.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
crash-reporter.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
desktop-capturer.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
ipc-renderer.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
module-list.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
remote.ts refactor: ginify NativeImage (#24486) 2020-07-13 14:44:12 -07:00
web-frame.ts feat: add worldSafe flag for executeJS results (#24114) 2020-07-23 14:32:20 -07:00