chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.24k stars 455 forks source link

No binder found for interface blink.mojom.BadgeService for the frame/document scope #3005

Closed magreenblatt closed 1 year ago

magreenblatt commented 4 years ago

Original report by Aleksey G (Bitbucket: a1gu, GitHub: a1gu).


This issue looks similar to #2253/failed-to-locate-a-binder-for-interface . I used https://github.com/cefsharp/CefSharp.MinimalExample (example app written with CefSharp .NET wrapper) to reproduce this issue, but I’m almost sure it can be reproduced on other Cef based browsers.

What steps will reproduce the problem?

  1. Download https://github.com/cefsharp/CefSharp.MinimalExample .
  2. Build and run CefSharp.Wpf.Example or CefSharp.WinForms.Example project with Visual Studio 2019 for x86 platform.
  3. Type tinder.com in address bar and click enter.
  4. Once it open tinder page click "LOG IN" button on right upper corner.
  5. Click "LOG IN WITH FACEBOOK" button.
  6. In opened pop up window from facebook type your login and password and click "log in”

What is the expected output? What do you see instead?

Expected: it should show tinder.com web application.

What I see instead: Browser window of CefSharp.MinimalExample will stop to response, but application continue be responsive. And in debug.log you can find following messages:

[0830/130312.112:ERROR:render_process_host_impl.cc(5063)] Terminating render process for bad Mojo message: Received bad user message: No binder found for interface blink.mojom.BadgeService for the frame/document scope

[0830/130312.112:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 123

[0830/130312.125:WARNING:spdy_session.cc(3365)] Received HEADERS for invalid stream 3

What version of the product are you using? On what operating system?

I tried to use both WPF and WinForms project samples of latest version of CefSharp minimal example application: https://github.com/cefsharp/CefSharp.MinimalExample

It based on: Chromium: 84.0.4147.105; CEF: r84.4.1+gfdc7604+chromium-84.0.4147.105; CefSharp: 84.4.10.0,

Environment: x86 \ Windows 10 Pro (latest updates)

Does the problem reproduce with the cefclient or cefsimple sample application at the same version? How about with a newer or older version?

I’m not familiar with C++, so need a time to understand how to build cefclient.exe . But as I understand it should have same result.

Does the problem reproduce with Google Chrome at the same version? How about with a newer or older version?

No

Here link to the bug report from CefSharp github: https://github.com/cefsharp/CefSharp/issues/3228

magreenblatt commented 4 years ago

Thanks for reporting this issue. The Badging API is not supported by CEF and should be disabled. A simpler reproduction is:

  1. Load https://badging-api.glitch.me/
  2. Click the “Set” button.

magreenblatt commented 4 years ago

Disable Badging API which is not supported (fixes issue #3005)

→ <<cset 13062350980e (bb)>>

magreenblatt commented 4 years ago

Disable Badging API which is not supported (fixes issue #3005)

→ <<cset 59a779c38ab9 (bb)>>

magreenblatt commented 1 year ago

Looks like we need a new way to disable the BadgeService starting with M106. Related: https://magpcss.org/ceforum/viewtopic.php?f=6&t=19243

magreenblatt commented 1 year ago

Original comment by Pedro Moreira (Bitbucket: Pedro Moreira).


This issue also happens when trying to use Google Messages https://messages.google.com/web

magreenblatt commented 1 year ago

The ability to disable badging at runtime was removed in https://bugs.chromium.org/p/chromium/issues/detail?id=719176#c108

magreenblatt commented 1 year ago

alloy: Fix renderer crashes related to BadgeService (fixes issue #3005)

→ <<cset a046794e68fb (bb)>>

magreenblatt commented 1 year ago

alloy: Fix renderer crashes related to BadgeService (fixes issue #3005)

→ <<cset 7add4a33d479 (bb)>>

magreenblatt commented 1 year ago

alloy: Fix renderer crashes related to BadgeService (fixes issue #3005)

→ <<cset 632c70227293 (bb)>>

magreenblatt commented 1 year ago

alloy: Fix renderer crashes related to BadgeService (fixes issue #3005)

→ <<cset 5891c702dae4 (bb)>>

magreenblatt commented 4 years ago

Original changes by Aleksey G (Bitbucket: a1gu, GitHub: a1gu).


magreenblatt commented 4 years ago

Original changes by Aleksey G (Bitbucket: a1gu, GitHub: a1gu).


magreenblatt commented 4 years ago
magreenblatt commented 1 year ago
magreenblatt commented 1 year ago