Skip to content

Commit

Permalink
Restore skip-stack-frames-pattern setting with empty default (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntie authored Nov 25, 2024
1 parent 0030c54 commit 6b80704
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

<!-- Explain how you've tested your change here -->

- [ ] This change maintains backwards compatibility with previous Local Storage data (if modifying settings, experiments, or other persisted client state).

# Upstreaming plan

<!-- Pick one: -->
Expand Down
7 changes: 7 additions & 0 deletions front_end/core/sdk/sdk-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,13 @@ const UIStrings = {
const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);

Common.Settings.registerSettingExtension({
storageType: Common.Settings.SettingStorageType.Synced,
settingName: 'skip-stack-frames-pattern',
settingType: Common.Settings.SettingType.REGEX,
defaultValue: '',
});

Common.Settings.registerSettingExtension({
storageType: Common.Settings.SettingStorageType.Synced,
settingName: 'skip-content-scripts',
Expand Down

0 comments on commit 6b80704

Please sign in to comment.