electron/shell/renderer/api
Samuel Attard 6df2680cb6
refactor: clean up webFrame implementation to use gin wrappers (#28497)
* refactor: clean up webFrame implementation to use gin wrappers

The previous implementation of webFrame in the renderer process leaked
sub-frame contexts and global objects across the context boundaries thus
making it possible for apps to either maliciously or accidentally
violate the contextIsolation boundary.

This re-implementation binds all methods in native code directly to
content::RenderFrame instances instead of relying on JS to provide a
"window" with every method request.  This is much more consistent with
the rest of the Electron codebase and is substantially safer.

* chore: un-re-order for ease of review

* chore: pass isolate around instead of ErrorThrower

* chore: fix rebase typo

* chore: remove unused variables
2021-04-12 16:35:18 -07:00
..
context_bridge perf: optimize data structures in context_bridge::ObjectCache (#27639) 2021-02-08 12:30:25 -08:00
electron_api_context_bridge.cc fix: errors thrown in functions over the contextBridge (#28346) 2021-03-30 00:26:49 -07:00
electron_api_context_bridge.h feat: enable world safe JS by default (#26889) 2021-01-26 14:23:35 -08:00
electron_api_crash_reporter_renderer.cc build: remove dead symlink from MAS build (#24158) 2020-06-16 14:19:57 -07:00
electron_api_ipc_renderer.cc chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
electron_api_spell_check_client.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_api_spell_check_client.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_api_web_frame.cc refactor: clean up webFrame implementation to use gin wrappers (#28497) 2021-04-12 16:35:18 -07:00