diff --git a/files/en-us/mozilla/add-ons/webextensions/api/runtime/geturl/index.md b/files/en-us/mozilla/add-ons/webextensions/api/runtime/geturl/index.md index d555ec199676068..04a6db380460e38 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/runtime/geturl/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/runtime/geturl/index.md @@ -26,7 +26,7 @@ browser.runtime.getURL( ### Return value -`string`. The fully-qualified URL to the resource. +`string`. The fully-qualified URL to the resource. For example, `moz-extension://e15cdd35-f9b7-4786-a39d-7d801bd2709e/help/open-in-container.html`. ## Browser compatibility diff --git a/files/en-us/mozilla/firefox/releases/130/index.md b/files/en-us/mozilla/firefox/releases/130/index.md index 571b39de275714f..b3f02ed2d849e01 100644 --- a/files/en-us/mozilla/firefox/releases/130/index.md +++ b/files/en-us/mozilla/firefox/releases/130/index.md @@ -58,6 +58,8 @@ This article provides information about the changes in Firefox 130 that affect d ## Changes for add-on developers +- {{WebExtAPIRef("runtime.getURL")}} (and the deprecated {{WebExtAPIRef("extension.getURL")}}) have been updated to prefix the supplied path string with the extension's `moz-extension:` origin (in line with the behavior of Chrome). In addition, {{WebExtAPIRef("runtime.getURL")}} no longer strips `/.`, `./`, and `../.` strings from the input URL ([Firefox bug 1795082](https://bugzil.la/1795082)). + ### Removals ### Other