Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/electron/electron.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 25, 2019
    • Electron Bot's avatar
      Bump v8.0.0-nightly.20191025 · 4ec6d109
      Electron Bot authored
    • Cheng Zhao's avatar
      chore: remove native_mate (Part 11) (#20719) · 0fe6767d
      Cheng Zhao authored
      * refactor: convert Menu and globalShortcut to gin
      
      * refactor: convert api::Cookies to gin
      
      * refactor: convert View and WebContentsView to gin
      
      * refactor: convert WebContents related classes to gin
      
      * refactor: convert powerMonitor to gin
      
      * refactor: prepare for header change
      
      * refactor: remove last uses of mate::EventEmitter
      
      * refactor: remove mate::EventEmitter
      
      * refactor: move trackable_object to gin_helper
      
      * fix: custom converter should not use Handle
      
      * fix: no more need to check if icon is empty
      
      It was a bug that the Handle<NativeImage> can be non-empty when the
      image file does not exist. The bug was caused by the converter code
      writing out the image even when the convertion fails.
      
      The bug was work-arounded by adding an additional check, but since the
      original bug had been fixed, the additional check is no longer needed.
      
      * fix: should always set frameId even when callback is null
      
      * fix: do not mix gin/mate handles for NativeImage
      0fe6767d
    • Shelley Vohr's avatar
      0e0d4fe9
  2. Oct 24, 2019
  3. Oct 23, 2019
  4. Oct 22, 2019
  5. Oct 21, 2019
  6. Oct 20, 2019
  7. Oct 19, 2019
    • Electron Bot's avatar
      Bump v8.0.0-nightly.20191019 · 956127ee
      Electron Bot authored
    • Electron Bot's avatar
      43fa9166
    • Jeremy Apthorp's avatar
    • Samuel Attard's avatar
      docs: mark contextBridge as experimental (#20638) · 2b890827
      Samuel Attard authored
      * docs: mark contextBridge as experimental
      
      This commit didn't make it to the original PR, quick addition here
      
      * Update context-bridge.md
      2b890827
    • Electron Bot's avatar
    • Samuel Attard's avatar
      feat: add a new contextBridge module (#20307) · 0090616f
      Samuel Attard authored
      * feat: add a new contextBridge module
      
      * chore: fix docs linting
      
      * feat: add support for function arguments being proxied
      
      * chore: ensure that contextBridge can only be used when contextIsolation is enabled
      
      * docs: getReverseBinding can be null
      
      * docs: fix broken links in md file
      
      * feat: add support for promises in function parameters
      
      * fix: linting failure for explicit constructor
      
      * Update atom_api_context_bridge.cc
      
      * chore: update docs and API design as per feedback
      
      * refactor: remove reverse bindings and handle GC'able functions across the bridge
      
      * chore: only expose debugGC in testing builds
      
      * fix: do not proxy promises as objects
      
      * spec: add complete spec coverage for contextBridge
      
      * spec: add tests for null/undefined and the anti-overwrite logic
      
      * chore: fix linting
      
      * spec: add complex nested back-and-forth function calling
      
      * fix: expose contextBridge in sandboxed renderers
      
      * refactor: improve security of default_app using the new contextBridge module
      
      * s/bindAPIInMainWorld/exposeInMainWorld
      
      * chore: sorry for this commit, its a big one, I fixed like everything and refactored a lot
      
      * chore: remove PassedValueCache as it is unused now
      
      Values transferred from context A to context B are now cachde in the RenderFramePersistenceStore
      
      * chore: move to anonymous namespace
      
      * refactor: remove PassValueToOtherContextWithCache
      
      * chore: remove commented unused code blocks
      
      * chore: remove .only
      
      * chore: remote commented code
      
      * refactor: extract RenderFramePersistenceStore
      
      * spec: ensure it works with numbered keys
      
      * fix: handle number keys correctly
      
      * fix: sort out the linter
      
      * spec: update default_app asar spec for removed file
      
      * refactor: change signatures to return v8 objects directly rather than the mate dictionary handle
      
      * refactor: use the v8 serializer to support cloneable buffers and other object types
      
      * chore: fix linting
      
      * fix: handle hash collisions with a linked list in the map
      
      * fix: enforce a recursion limit on the context bridge
      
      * chore: fix linting
      
      * chore: remove TODO
      
      * chore: adapt for PR feedback
      
      * chore: remove .only
      
      * chore: clean up docs and clean up the proxy map when objects are released
      
      * chore: ensure we cache object values that are cloned through the V8 serializer
      0090616f
    • Shelley Vohr's avatar
      8099e613