brave-browser: Crash when clicking "View Site Information" with "Don't allow sites to scroll and zoom shared tabs" enabled

Description

Brave Browser crashes when clicking the View Site Information button (near the address bar) if the setting “Don’t allow sites to scroll and zoom shared tabs” is enabled.

Steps to reproduce

  1. Open Brave Browser on macOS Sequoia 15.5.

  2. Navigate to Settings > Privacy and Security > Site and Shield Settings > Scrolling and zooming shared tabs.

  3. Select the option: Don’t allow sites to scroll and zoom shared tabs.

  4. Open any webpage (e.g., https://example.com/).

  5. Click the View Site Information (lock icon) button next to the address bar.

Actual result

Brave Browser crashes immediately when the View Site Information button is clicked.

Expected result

Site information should appear normally without crashing the browser.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Key Value
Brave 1.79.119 Chromium: 137.0.7151.68 (Official Build) (arm64)
Revision 8e96734ed9994988111846511042234f7e9b1725
OS macOS Version 15.5 (Build 24F74)
JavaScript V8 13.7.152.13
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Command Line /Applications/Brave Browser.app/Contents/MacOS/Brave Browser --disable-domain-reliability --enable-dom-distiller --enable-distillability-service --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --lso-url=https://no-thanks.invalid --sync-url=https://sync-v2.brave.com/v2 --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --flag-switches-end --component-updater=url-source=https://go-updater.brave.com/extensions
Executable Path /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

  • No crash if the “Don’t allow sites to scroll and zoom shared tabs” setting is not enabled.

  • Crash happens regardless of the site being visited.

  • Reproducible every time under the listed conditions.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

@bsclifton I can confirm this fixed in .123 release.

Seems to be caused by this commit: https://github.com/brave/brave-core/commit/7c67dee1949dded61e2274b75b09c26e664d1c2b

Will follow up with author. Huge thanks to @emerick for the help troubleshooting 😄

Verified with

Brave | 1.79.121 Chromium: 137.0.7151.68 (Official Build) (x86_64)
-- | --
Revision | e76f7c905a8b59079c35604a9f59d4aea3c9b201
OS | macOS Version 14.7.6 (Build 23H626)

Using 1.79.119 Chromium: 137.0.7151.68 and STR from description, reproduced the crash:

https://github.com/user-attachments/assets/d7789308-84f2-4604-ba5e-178cf6eb447f

Using 1.79.121 Chromium: 137.0.7151.68 and same STR, confirmed no crash was observed. Also confirmed when Sites can ask to scroll and zoom shared tabs is selected there is no crash when attempting to view site information (clicking on the “tune” icon).

https://github.com/user-attachments/assets/93795666-3003-4c6e-bcb9-f9de282669be

@patricnilackshan nice find/thanks for the report 👍 The above requires 1.79.121 or higher for 1.79.x verification 👍

I also confirmed that the browser does not crash when using a private window (incognito mode). The issue only appears in regular windows.

@bsclifton I reported that too: https://github.com/brave/brave-browser/issues/46514, for me it doesn’t crash always in private tab.

+1 from folks here https://github.com/brave/brave-browser/issues/46453

Including folks on Windows (32-bit) and Linux. Removed macOS qualifier from title

Same issue on Arch Linux AUR version:

Brave 1.79.119 (Official Build) (64-bit) Chromium: 137.0.7151.68

1.79.119 Chromium: 137.0.7151.68 (Offizieller Build) (32-Bit)

Same issue (crash).