electron/shell/renderer
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
..
api refactor: clean up webFrame implementation to use gin wrappers (#28497) 2021-04-12 16:35:18 -07:00
extensions feat: support registering MV3 extension service workers (#27562) 2021-02-11 10:58:03 -05:00
printing fix: window.print() in pdf plugin (#28328) 2021-03-23 10:40:37 -04:00
resources/mac revert: disable rosetta as Electron does not run under rosetta 2020-11-18 09:04:16 -08:00
browser_exposed_renderer_interfaces.cc fix: bind spellchecker receivers correctly in the renderer (#21997) 2020-02-03 09:49:37 -08:00
browser_exposed_renderer_interfaces.h fix: bind spellchecker receivers correctly in the renderer (#21997) 2020-02-03 09:49:37 -08:00
content_settings_observer.cc feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
content_settings_observer.h chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) (#25558) 2020-10-15 18:30:41 -07:00
electron_api_service_impl.cc chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d (#27475) 2021-02-09 12:16:21 -08:00
electron_api_service_impl.h chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d (#27475) 2021-02-09 12:16:21 -08:00
electron_autofill_agent.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_autofill_agent.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_render_frame_observer.cc refactor: remove unused extension content script code (#27570) 2021-02-02 19:03:10 +09:00
electron_render_frame_observer.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
electron_renderer_client.cc feat: add process.contextIsolation property (#28030) 2021-03-17 11:23:29 -07:00
electron_renderer_client.h refactor: remove unused extension content script code (#27570) 2021-02-02 19:03:10 +09:00
electron_renderer_pepper_host_factory.cc chore: use more inclusive language in a few places (#24023) 2020-06-09 11:29:29 -07:00
electron_renderer_pepper_host_factory.h refactor: remove references to non-existent webui (#20867) 2019-11-04 09:50:31 -08:00
electron_sandboxed_renderer_client.cc feat: add process.contextIsolation property (#28030) 2021-03-17 11:23:29 -07:00
electron_sandboxed_renderer_client.h feat: add process.contextIsolation property (#28030) 2021-03-17 11:23:29 -07:00
guest_view_container.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
guest_view_container.h refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
pepper_helper.cc refactor: remove references to non-existent webui (#20867) 2019-11-04 09:50:31 -08:00
pepper_helper.h refactor: remove references to non-existent webui (#20867) 2019-11-04 09:50:31 -08:00
renderer_client_base.cc Merge branch 'master' into roller/chromium/master 2021-03-30 09:47:35 -07:00
renderer_client_base.h feat: add process.contextIsolation property (#28030) 2021-03-17 11:23:29 -07:00
web_worker_observer.cc refactor: Chromium code style for enum classes (#26165) 2020-10-27 10:51:45 -07:00
web_worker_observer.h fix: loading dedicated/shared worker scripts over custom protocol (#20625) 2020-07-27 18:48:37 -07:00