Emerick Rogul 3caaa1e17f [cr145] Fix warnings about redefining computed properties in delete browsing data dialog
As upstream continues to work on rearchitecting the delete browsing data dialog,
we encountered the following warnings when visiting the dialog in cr145:

  polymer_bundled.min.js:1 Cannot redefine computed property 'isSyncPaused_'.
  polymer_bundled.min.js:1 Cannot redefine computed property 'hasPassphraseError_'.
  polymer_bundled.min.js:1 Cannot redefine computed property 'hasOtherSyncError_'.
  polymer_bundled.min.js:1 Cannot redefine computed property 'googleSearchHistoryString_'.

This is because we override `properties()` using a spread of the base class
properties, which ends up redefining them.

Remove the spread of base class properties and initialize Brave-specific fields
in the constructor instead. This avoids redeclaring inherited computed
properties, which caused runtime Polymer errors, while keeping TypeScript type
checking happy. The change ensures new instance properties are added safely
without breaking inherited behavior.
2026-01-29 13:41:20 -05:00
2026-01-29 13:40:53 -05:00
2026-01-29 13:41:10 -05:00
2026-01-25 19:54:17 -03:00
2026-01-29 17:00:59 +00:00
2026-01-29 17:00:59 +00:00

Brave Core

Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser

Follow @brave on Twitter for important announcements.

Resources

Community

You can ask questions and interact with the community in the following locations:

S
Description
No description provided
Readme MPL-2.0
3.8 GiB
Languages
C++ 36.9%
HTML 31.6%
Swift 9.4%
TypeScript 9%
Java 4.8%
Other 8.1%