Bug 272152
| Summary: | [GTK][WPE] missing URI for injected user scripts and style sheets | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Przemyslaw Gorszkowski <pgorszkowski> |
| Component: | New Bugs | Assignee: | Przemyslaw Gorszkowski <pgorszkowski> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | aperez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Przemyslaw Gorszkowski
Current API to add user scripts, style sheets does not contain URI of the injected script, style sheet(webkit_user_script_new, webkit_user_content_manager_add_script, webkit_user_style_sheet_new, webkit_user_content_manager_add_style_sheet). It causes that user scripts/style sheets are not visible in web inspector.
The idea is to create an URI in format: user-script:sha256hash(user-script-content) and user-style:sha256hash(user-style-sheet-content) - this change will not require an API change
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Przemyslaw Gorszkowski
Pull request: https://github.com/WebKit/WebKit/pull/26843
EWS
Committed 277470@main (907d986d108c): <https://commits.webkit.org/277470@main>
Reviewed commits have been landed. Closing PR #26843 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/126435444>