Details
Description
Opening web-otp.glitch.me in simplebrowser results in:
[150413:150413:0611/191011.807334:ERROR:render_process_host_impl.cc(5365)] Terminating render process for bad Mojo message: Received bad user message: No binder found for interface blink.mojom.WebOTPService for the frame/document scope [150413:150413:0611/191011.807390:ERROR:bad_message.cc(29)] Terminating renderer for bad IPC message, reason 123
despite WebOTP being disabled by QtWebEngine.
From a related Brave browser issue:
The feature in Blink is not disabled when it's disabled in Chromium by default, because it has kSetOnlyIfOverridden option.
And indeed setting QTWEBENGINE_CHROMIUM_FLAGS=--disable-blink-features=WebOTP works around the crash.
From a quick look through src/3rdparty/chromium/content/child/runtime_features.cc, only WebOTP seems to have kSetOnlyIfOverridden set, other features logged as disabled by QtWebEngine seem to be fine:
* disable-features ConsolidatedMovementXY,InstalledApp,EyeDropper,BackgroundFetch,WebOTP,WebPayments,WebUSB).
Downstream issue: Crash on requesting one-time password on National Insurance website · Issue #8222 · qutebrowser/qutebrowser
Attachments
For Gerrit Dashboard: QTBUG-126256 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
567982,3 | Disable blink WebOTP feature | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
581164,2 | Disable blink WebOTP feature | 6.8 | qt/qtwebengine | Status: MERGED | +2 | 0 |
586357,2 | Disable blink WebOTP feature | 6.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |