Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(filter): Filter webkit error #2088

Merged
merged 8 commits into from
Jun 5, 2023
Merged

feat(filter): Filter webkit error #2088

merged 8 commits into from
Jun 5, 2023

Conversation

TBS1996
Copy link
Contributor

@TBS1996 TBS1996 commented May 2, 2023

getsentry/sentry-javascript#7993

The added regex pattern should filter out the webkit issues linked from here: getsentry/sentry-javascript#7993 (comment)

The source is likely from safari extensions.

@TBS1996
Copy link
Contributor Author

TBS1996 commented May 3, 2023

@TBS1996 TBS1996 marked this pull request as ready for review May 31, 2023 10:24
@TBS1996 TBS1996 requested a review from a team May 31, 2023 10:24
@TBS1996 TBS1996 self-assigned this May 31, 2023
@@ -39,7 +39,8 @@ static EXTENSION_EXC_VALUES: Lazy<Regex> = Lazy::new(|| {
# See: https://forum.sentry.io/t/error-in-raven-js-plugin-setsuspendstate/481/
plugin\.setSuspendState\sis\snot\sa\sfunction|
# Chrome extension message passing failure
Extension\scontext\sinvalidated
Extension\scontext\sinvalidated|
webkit-masked-url:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to have also hidden in there as requested in the linked issue? Or having only webkit-masked-url should be fine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the way hidden is included seems a bit too irregular on the events here: getsentry/sentry-javascript#7993 (comment)

whereas almost all have in common webkit-masked-url:

if i want to include hidden then i think the pattern would be something like webkit-masked-url:.*hidden, but I'm not sure if theres a point to this because I don't think we will have false positives with the way this PR does it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Inboundfilter for: @webkit-masked-url: (//hidden/)
2 participants