3caaa1e17f85be9bdc282c8e53dedd28e4642ec5
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.
…
…
…
…
…
…
…
…
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:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%