Add support for browser.runtime.getVersion()#51763
Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom Oct 3, 2025
Merged
Add support for browser.runtime.getVersion()#51763webkit-commit-queue merged 1 commit intoWebKit:mainfrom
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Conversation
Collaborator
|
EWS run on current version of this PR (hash dc50c61) Details |
elijahsawyers
approved these changes
Oct 3, 2025
xeenon
approved these changes
Oct 3, 2025
b-weinstein
approved these changes
Oct 3, 2025
https://bugs.webkit.org/show_bug.cgi?id=299961 rdar://problem/161742137 Reviewed by Brian Weinstein and Timothy Hatcher. Add support for browser.runtime.getVersion(). This was proposed in the WECG: w3c/webextensions#878 Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIRuntime.mm * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPIRuntimeCocoa.mm: (WebKit::WebExtensionAPIRuntime::getVersion): * Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIRuntime.h: * Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPIRuntime.idl: * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIRuntime.mm: (TestWebKitAPI::TEST(WKWebExtensionAPIRuntime, GetVersion)): Canonical link: https://commits.webkit.org/300972@main
dc50c61 to
c2ca833
Compare
Collaborator
|
Committed 300972@main (c2ca833): https://commits.webkit.org/300972@main Reviewed commits have been landed. Closing PR #51763 and removing active labels. |
bershanskiy
added a commit
to bershanskiy/browser-compat-data
that referenced
this pull request
Jan 29, 2026
Add data for the new runtime.getVersion() method, supported on Chrome 143+,[1] Safari 26.2.[2][3] Firefox does not support it yet.[4] This method was created in W3C WECG as a standard way to access extension version, and an alternative to implementation-dependent runtime.getManifest().version.[5][6] Sources: [1] https://developer.chrome.com/docs/extensions/reference/api/runtime#method-getVersion [2] https://developer.apple.com/documentation/safari-release-notes/safari-26_2-release-notes [3] WebKit/WebKit#51763 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1992418 [5] w3c/webextensions#878 [6] w3c/webextensions#400
This was referenced Jan 29, 2026
rebloor
pushed a commit
to mdn/browser-compat-data
that referenced
this pull request
Feb 3, 2026
Add data for the new runtime.getVersion() method, supported on Chrome 143+,[1] Safari 26.2.[2][3] Firefox does not support it yet.[4] This method was created in W3C WECG as a standard way to access extension version, and an alternative to implementation-dependent runtime.getManifest().version.[5][6] Sources: [1] https://developer.chrome.com/docs/extensions/reference/api/runtime#method-getVersion [2] https://developer.apple.com/documentation/safari-release-notes/safari-26_2-release-notes [3] WebKit/WebKit#51763 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1992418 [5] w3c/webextensions#878 [6] w3c/webextensions#400
rebloor
pushed a commit
to mdn/content
that referenced
this pull request
Feb 20, 2026
* [Extensions] Document runtime.getVersion() method Add documentation for the new runtime.getVersion() method, supported on Chrome 143+[1], Safari 26.2[2][3]. Firefox does not support it yet[4]. This method was created in W3C WECG as a standard way to access extension version, and an alternative to implementation-dependent runtime.getManifest().version[5][6] Sources: [1] https://developer.chrome.com/docs/extensions/reference/api/runtime#method-getVersion [2] https://developer.apple.com/documentation/safari-release-notes/safari-26_2-release-notes [3] WebKit/WebKit#51763 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1992418 [5] w3c/webextensions#878 [6] w3c/webextensions#400 * Review feedback
jdatapple
pushed a commit
to jdatapple/content
that referenced
this pull request
Mar 6, 2026
* [Extensions] Document runtime.getVersion() method Add documentation for the new runtime.getVersion() method, supported on Chrome 143+[1], Safari 26.2[2][3]. Firefox does not support it yet[4]. This method was created in W3C WECG as a standard way to access extension version, and an alternative to implementation-dependent runtime.getManifest().version[5][6] Sources: [1] https://developer.chrome.com/docs/extensions/reference/api/runtime#method-getVersion [2] https://developer.apple.com/documentation/safari-release-notes/safari-26_2-release-notes [3] WebKit/WebKit#51763 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1992418 [5] w3c/webextensions#878 [6] w3c/webextensions#400 * Review feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
c2ca833
dc50c61