WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249266
Figure out how to tell if a Web Extension has been updated in WebKit
https://bugs.webkit.org/show_bug.cgi?id=249266
Summary
Figure out how to tell if a Web Extension has been updated in WebKit
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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/103573769
>
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
Pull request:
https://github.com/WebKit/WebKit/pull/26778
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.
Top of Page
Format For Printing
XML
Clone This Bug