Bug 249266

Summary: Figure out how to tell if a Web Extension has been updated in WebKit
Product: WebKit Reporter: Kiara Rose <kiara_rose>
Component: WebKit ExtensionsAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Kiara Rose
Reported 2022-12-13 15:29:15 PST
Figure out how to tell if a Web Extension has been updated in WebKit and remove the background page listeners if the extension has been updated.
Attachments
Kiara Rose
Comment 1 2022-12-13 15:31:28 PST
When developers are making local changes to their extension for testing, they're likely not changing the extension version number.
Kiara Rose
Comment 2 2022-12-13 16:34:09 PST
One option would be the take a hash of all the files in the bundle, and if any change assume it changed
Radar WebKit Bug Importer
Comment 3 2022-12-20 15:30:17 PST
Timothy Hatcher
Comment 4 2023-10-04 10:17:10 PDT
One option is to check and remember the previous code signing hash. That should change everything there is a change in the bundle.
Kiara Rose
Comment 5 2023-12-06 15:42:11 PST
Tim mentioned an idea of hashing all the files and seeing if the hash changes
Timothy Hatcher
Comment 6 2024-04-02 23:55:10 PDT
EWS
Comment 7 2024-04-03 13:06:31 PDT
Committed 277022@main (adf9728dc4e1): <https://commits.webkit.org/277022@main> Reviewed commits have been landed. Closing PR #26778 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.