Giter VIP home page Giter VIP logo

Comments (3)

hibiyasleep avatar hibiyasleep commented on July 30, 2024

What will happen when we turn on multi-process mode with cefhelper executable?

from overlayplugin.

danakj avatar danakj commented on July 30, 2024

I don't think the javascript injection will work anymore, it relies on a pointer to the renderer "process".

var frame = this.Overlay.Renderer.Browser.GetFrame(frameId);

Here the frame would not be in the same process, unless Xilium and/or Cef provides a Frame abstraction in the browser process in multi-process mode. If not, it would require some IPC to ship the javascript text over and run it in the renderer process. I'm not sure what other uses of pointers would become invalid, this one I know from seeing it before. I think there's also a callback from the renderer to the overlay plugin that would need IPC help.

It would also increase the overhead of running multiple overlays a little, as you'd now have another process per overlay. I don't think this would be problematic though.

It'd be nice if the CEF bug would be fixed, I didn't go to the trouble of trying to submit a patch but if you're motivated that might be worth trying.

from overlayplugin.

nolanhu avatar nolanhu commented on July 30, 2024

What will happen when we turn on multi-process mode with cefhelper executable?

cannot debug at least

from overlayplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.