electron/shell/common
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 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
asar Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
extensions fix(extensions): implement missing web_request hooks (#22655) 2020-12-18 15:11:43 -08:00
gin_converters only bind setAppUserModelId on windows 2021-03-24 10:55:32 -07:00
gin_helper refactor: clean up webFrame implementation to use gin wrappers (#28497) 2021-04-12 16:35:18 -07:00
mac fix: build when some buildflags are disabled (#23307) 2020-04-28 23:16:10 -07:00
resources/mac revert: disable rosetta as Electron does not run under rosetta 2020-11-18 09:04:16 -08:00
application_info.cc
application_info.h more windows build fix 2021-03-23 11:12:59 -07:00
application_info_linux.cc
application_info_mac.mm
application_info_win.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
color_util.cc Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
color_util.h Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
crash_keys.cc feat: Electron Fuses, package time feature toggles (#24241) 2020-10-27 10:49:25 -07:00
crash_keys.h fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_command_line.cc
electron_command_line.h
electron_constants.cc fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_constants.h fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_paths.h chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) (#24687) 2020-08-12 11:33:58 -07:00
heap_snapshot.cc
heap_snapshot.h
key_weak_map.h
keyboard_util.cc 2752406: [LSC] Replace base::string16 with std::u16string in //ui 2021-03-15 21:21:27 -04:00
keyboard_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
language_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
language_util_linux.cc fix: respect system language preferences on Win/macOS (#23247) 2020-05-04 10:49:29 -07:00
language_util_mac.mm fix: respect system language preferences on Win/macOS (#23247) 2020-05-04 10:49:29 -07:00
language_util_win.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
mouse_util.cc chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) (#23379) 2020-05-26 13:06:26 -07:00
mouse_util.h
node_bindings.cc Merge remote-tracking branch 'origin/master' into roller/chromium/master 2021-03-23 11:14:58 -07:00
node_bindings.h fix: libuv hang on Windows (#28175) 2021-03-22 13:11:03 -07:00
node_bindings_linux.cc
node_bindings_linux.h
node_bindings_mac.cc
node_bindings_mac.h
node_bindings_win.cc
node_bindings_win.h
node_includes.h chore: upgrade to Node.js v14.9.0 (#25249) 2020-09-17 16:08:57 -06:00
node_util.cc build: Wrap bundles using webpack (#25557) 2020-10-20 12:10:15 -07:00
node_util.h
options_switches.cc chore: remove deprecated worldSafeExecuteJavaScript option (#28456) 2021-04-08 12:03:57 -04:00
options_switches.h chore: remove deprecated worldSafeExecuteJavaScript option (#28456) 2021-04-08 12:03:57 -04:00
platform_util.cc feat: add shell.trashItem() to replace shell.moveItemToTrash() (#25114) 2020-09-02 10:32:33 -07:00
platform_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
platform_util_internal.h feat: add shell.trashItem() to replace shell.moveItemToTrash() (#25114) 2020-09-02 10:32:33 -07:00
platform_util_linux.cc feat: add shell.trashItem() to replace shell.moveItemToTrash() (#25114) 2020-09-02 10:32:33 -07:00
platform_util_mac.mm chore: remove deprecated shell.moveItemToTrash() (#26723) 2020-11-30 23:25:03 +03:00
platform_util_win.cc fix a messed up merge 2021-03-24 11:48:15 -07:00
process_util.cc fix: wrap EmitWarning with HandleScope (#23667) 2020-05-20 09:44:27 -07:00
process_util.h
skia_util.cc chore: use auto to avoid repeating type (#26113) 2020-10-26 11:56:31 -07:00
skia_util.h
v8_value_converter.cc 2720306: [api] Remove deprecated [Shared]ArrayBuffer API 2021-03-16 15:39:40 -04:00
v8_value_converter.h
v8_value_serializer.cc
v8_value_serializer.h
world_ids.h chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) (#27003) 2020-12-22 14:14:44 -08:00