Bug 246010 - @webkit-masked-url: (//hidden/) in stack trace
Summary: @webkit-masked-url: (//hidden/) in stack trace
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) Unspecified
: P2 Normal
Assignee: Nobody
URL: https://github.com/getsentry/sentry-j...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 01:37 PDT by Serhii
Modified: 2022-10-09 13:58 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serhii 2022-10-04 01:37:43 PDT
Hello. I began to see such errors in my project:

//hidden/ in y@webkit-masked-url: at line 2:2930760
//hidden/ in fromAny@webkit-masked-url: at line 2:2931890
//hidden/ in _handleResponsePromise@webkit-masked-url: at line 2:1144366
//hidden/ in _handleDispatchResponse@webkit-masked-url: at line 2:1144141
//hidden/ in _handleMessage@webkit-masked-url: at line 2:1143837
//hidden/ in @webkit-masked-url: at line 2:1143638
//hidden/ in emit@webkit-masked-url: at line 2339:17
//hidden/ in @webkit-masked-url: at line 2138:26
Comment 1 Serhii 2022-10-04 01:51:09 PDT
Mac OS X Version:10.15.7
Comment 2 Serhii 2022-10-04 01:55:15 PDT
Noticed a bug in the Sentry. Looks like a bug in Safari itself, not my code.

According to my logs, the bug is only in Mac OS X Version:10.15.7
Comment 3 Alexey Proskuryakov 2022-10-04 11:54:15 PDT
I think that this may be expected behavior (masking extension code), but CC'ing some folks to respond authoritatively.
Comment 4 Timothy Hatcher 2022-10-04 18:21:18 PDT
YEs, if this is from a Safari Extension, Error.stack will mask the URLs.
Comment 5 Alexey Proskuryakov 2022-10-09 13:58:24 PDT
Resolving per the above.