electron/atom/renderer
Samuel Maddock 42b7b25ac3 feat: support chrome extensions in sandboxed renderer (#16218)
* Add content script injector to sandboxed renderer

* Fix 'getRenderProcessPreferences' binding to the wrong object

* Pass getRenderProcessPreferences to content-scripts-injector

* Emit document-start and document-end  events in sandboxed renderer

* Use GetContext from RendererClientBase

* Prevent script context crash caused by lazily initialization

* Remove frame filtering logic for onExit callback

Since we're keeping track of which frames we've injected the bundle into, this logic is redundant.

* Add initial content script tests

* Add contextIsolation variants to content script tests

* Add set include

* Fix already loaded extension error

* Add tests for content scripts 'run_at' options

* Catch script injection eval error when CSP forbids it

This can occur in a rendered sandbox when a CSP is enabled. We'll need to switch to using isolated worlds to fix this.

* Fix content script tests not properly cleaning up extensions

* Fix lint and type errors
2019-03-07 16:00:28 -08:00
..
api Blink: Plumb correct security origin for isolated world CSPs. 2019-02-14 23:59:22 +05:30
printing refactor: printing implementation (#15143) 2018-11-09 14:42:34 +11:00
resources/mac
atom_autofill_agent.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_autofill_agent.h The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
atom_render_frame_observer.cc fix: run subframe preload bundles in isolated context (#17165) 2019-03-07 14:46:57 -08:00
atom_render_frame_observer.h refactor: use separate ipc-renderer-internal / ipc-main-internal APIs for Electron internals (#13940) 2018-10-07 00:48:00 +13:00
atom_render_view_observer.cc The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
atom_render_view_observer.h [chromium-style] override / virtual warnings 2018-04-19 11:12:10 -07:00
atom_renderer_client.cc feat: preloads and nodeIntegration in iframes (#16425) 2019-01-22 11:24:46 -08:00
atom_renderer_client.h feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_sandboxed_renderer_client.cc feat: support chrome extensions in sandboxed renderer (#16218) 2019-03-07 16:00:28 -08:00
atom_sandboxed_renderer_client.h feat: support chrome extensions in sandboxed renderer (#16218) 2019-03-07 16:00:28 -08:00
content_settings_observer.cc remove name parameter from AllowIndexedDB 2019-01-22 10:32:04 -08:00
content_settings_observer.h remove name parameter from AllowIndexedDB 2019-01-22 10:32:04 -08:00
guest_view_container.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
guest_view_container.h insertText is deprecated 2017-02-06 10:34:29 -08:00
preferences_manager.cc refactor: remove instances of createDeepCopy (#13703) 2018-08-04 07:23:07 +10:00
preferences_manager.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
renderer_client_base.cc build: enable gn check for //electron:electron_lib (#17100) 2019-03-05 10:38:55 +05:30
renderer_client_base.h build: enable gn check for //electron:electron_lib (#17100) 2019-03-05 10:38:55 +05:30
web_worker_observer.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
web_worker_observer.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00