WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
246010
@webkit-masked-url: (//hidden/) in stack trace
https://bugs.webkit.org/show_bug.cgi?id=246010
Summary
@webkit-masked-url: (//hidden/) in stack trace
Serhii
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Serhii
Comment 1
2022-10-04 01:51:09 PDT
Mac OS X Version:10.15.7
Serhii
Comment 2
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
Alexey Proskuryakov
Comment 3
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.
Timothy Hatcher
Comment 4
2022-10-04 18:21:18 PDT
YEs, if this is from a Safari Extension, Error.stack will mask the URLs.
Alexey Proskuryakov
Comment 5
2022-10-09 13:58:24 PDT
Resolving per the above.
edgar
Comment 6
2025-06-22 14:37:36 PDT
I'm running into an issue here. I'm a developer of a Safari web extension and I use Sentry for error logging. As a result of this url masking feature all my stack traces in Sentry show up like this: ``` ReferenceError: Cannot access uninitialized variable. at ? (webkit-masked-url://hidden/:14677:28) at ? (webkit-masked-url://hidden/:16307:3) at global code(webkit-masked-url://hidden/:16309:12) ``` This is completely unhelpful. I can't see which file encountered an error. It also means that sourcemaps can't be associated with the stacktrace. Is there a workaround for extension developers who actually want to see the url?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug