WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
300071
Consider API support for supplying user-script name
https://bugs.webkit.org/show_bug.cgi?id=300071
Summary
Consider API support for supplying user-script name
Jonathan Kingston
Reported
2025-10-02 19:27:40 PDT
Created
attachment 476945
[details]
Debugging scripts is often a painful deep dive into multiple scripts. All scripts attached are difficult to debug, including that the debugger doesn't always attach reliably if the scripts aren't attached in the same order between pageloads. I would suggest accepting a alpha-numeric string for the user-script: protocol so debugDescription would continue to work. To be useful, this would have to expose a new API to construct the script:
https://developer.apple.com/documentation/webkit/wkuserscript
This could be a precursor to
https://bugs.webkit.org/show_bug.cgi?id=271472
where WebExtension UserScripts can have an ID.
Attachments
Debugging scripts is often a painful deep dive into multiple scripts.
(86.89 KB, image/png)
2025-10-02 19:27 PDT
,
Jonathan Kingston
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-09 19:28:12 PDT
<
rdar://problem/162334818
>
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