electron/atom/browser/api
Samuel Attard 0ac883c6d4
Remove the race condition between new process creation and context release (#12342)
* Remove the race condition between new process creation and old process releasing remote context

Previously there was a race condition where the getId() method would return the new context ID even
though the release was for the old context.  This changes it to send the "initial" context ID with
the release message to ensure there is no race.

* fetch context ID from remote in sandbox mode
2018-03-20 15:54:47 +11:00
..
atom_api_app.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_app.h Implement App-Scoped Security scoped bookmarks (#11711) 2018-02-12 13:25:06 -05:00
atom_api_app_mas.mm Implement App-Scoped Security scoped bookmarks (#11711) 2018-02-12 13:25:06 -05:00
atom_api_auto_updater.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_auto_updater.h Update to use Squirrel.Mac that supports CDN releases 2018-02-15 14:00:46 +11:00
atom_api_browser_view.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_browser_view.h Fix compiler warning when building with gcc 2017-11-21 21:47:51 +09:00
atom_api_browser_window.cc Fix some flaky tests in CI (#12153) 2018-03-07 14:40:27 +09:00
atom_api_browser_window.h mac: Move draggable region code to BrowserWindow 2018-03-06 16:20:37 +09:00
atom_api_browser_window_mac.mm Fix non-draggable regions on macOS (#12327) 2018-03-17 06:49:11 +09:00
atom_api_browser_window_views.cc Save browser_view_ in the NativeWindow 2018-03-06 16:20:37 +09:00
atom_api_content_tracing.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_cookies.cc REVIEW: let browser context manage cookie change sub list 2018-02-23 10:21:24 +09:00
atom_api_cookies.h REVIEW: let browser context manage cookie change sub list 2018-02-23 10:21:24 +09:00
atom_api_debugger.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_debugger.h Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
atom_api_desktop_capturer.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_desktop_capturer.h Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
atom_api_dialog.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_download_item.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_download_item.h remove the call to download_item_->Remove() on cancel 2017-02-24 14:08:21 +08:00
atom_api_global_shortcut.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_global_shortcut.h Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
atom_api_in_app_purchase.cc Fix build error after rebasing 2018-02-23 10:22:00 +09:00
atom_api_in_app_purchase.h Pass multiple transactions at the same time 2018-01-10 17:19:44 +09:00
atom_api_menu.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_menu.h Rename api::Window to api::BrowserWindow 2018-02-22 12:50:47 +09:00
atom_api_menu_mac.h Rename api::Window to api::BrowserWindow 2018-02-22 12:50:47 +09:00
atom_api_menu_mac.mm Don't store WebContents in NativeWindow 2018-03-06 16:21:18 +09:00
atom_api_menu_views.cc Use content origin in screen coordinates for calculating popup menu position (#12180) 2018-03-09 05:48:35 +09:00
atom_api_menu_views.h Rename api::Window to api::BrowserWindow 2018-02-22 12:50:47 +09:00
atom_api_net.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_net.h Fixing code review issues. 2016-10-25 12:41:01 +02:00
atom_api_notification.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_notification.h Organize code 2018-02-10 03:19:47 -08:00
atom_api_power_monitor.cc feat(powerMonitor): expose interface to query system idle state (#11807) 2018-03-14 14:42:08 +09:00
atom_api_power_monitor.h feat(powerMonitor): expose interface to query system idle state (#11807) 2018-03-14 14:42:08 +09:00
atom_api_power_save_blocker.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_power_save_blocker.h Consolidate PowerSaveBlocker and WakeLock inside Device Service. 2017-11-24 10:58:16 +09:00
atom_api_protocol.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_protocol.h Fix protocol filtering of net.request 2018-02-16 13:03:53 -05:00
atom_api_render_process_preferences.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_render_process_preferences.h Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
atom_api_screen.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_screen.h 🎨 2017-06-05 10:33:46 -07:00
atom_api_screen_mac.mm deprecate screen.getMenuBarHeight 2018-03-05 19:45:51 -05:00
atom_api_session.cc Fix network delegate race condition (#12044) 2018-02-26 06:23:59 -08:00
atom_api_session.h Add a SessionPreferences to manage session related data 2017-12-05 15:59:15 +09:00
atom_api_system_preferences.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_system_preferences.h fixing error in registerDefaults 2017-12-12 13:08:09 -05:00
atom_api_system_preferences_mac.mm add loop to catch null values 2017-12-13 14:02:43 -05:00
atom_api_system_preferences_win.cc Fixes hexColorDWORDToRGBA for transparent colors 2018-01-09 11:07:29 -08:00
atom_api_tray.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_tray.h Fix cpplint warnings 2017-10-05 11:49:26 +09:00
atom_api_url_request.cc net: allow controlling redirects 2017-03-28 18:46:21 +05:30
atom_api_url_request.h net: allow controlling redirects 2017-03-28 18:46:21 +05:30
atom_api_web_contents.cc Remove the race condition between new process creation and context release (#12342) 2018-03-20 15:54:47 +11:00
atom_api_web_contents.h Remove the race condition between new process creation and context release (#12342) 2018-03-20 15:54:47 +11:00
atom_api_web_contents_mac.mm Access window through native view 2016-08-23 09:51:54 -07:00
atom_api_web_request.cc Fix network delegate race condition (#12044) 2018-02-26 06:23:59 -08:00
atom_api_web_request.h Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
atom_api_web_view_manager.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
event.cc move ipc use from rvh to rfh 2018-03-09 15:01:09 +05:30
event.h move ipc use from rvh to rfh 2018-03-09 15:01:09 +05:30
event_emitter.cc move ipc use from rvh to rfh 2018-03-09 15:01:09 +05:30
event_emitter.h move ipc use from rvh to rfh 2018-03-09 15:01:09 +05:30
event_subscriber.cc fix dcheck comparison between unsigned long vs int 2017-12-01 17:55:21 +01:00
event_subscriber.h Fix race condition in event_subscriber.h 2017-11-29 12:57:47 -03:00
frame_subscriber.cc SkBitmap and SkPixelRef no longer need lock/unlock 2017-11-24 10:58:16 +09:00
frame_subscriber.h Fix API changes of FrameSubscriber 2017-04-27 16:34:52 +09:00
save_page_handler.cc use DownloadItem to determine download initiator 2016-04-27 20:29:39 +05:30
save_page_handler.h use DownloadItem to determine download initiator 2016-04-27 20:29:39 +05:30
trackable_object.cc add a null-pointer check before processing base::SupportsUserData::GetUserData 2017-10-03 12:42:35 +08:00
trackable_object.h Cleanup per review comment 2017-10-27 00:07:54 -07:00