chrome.runtime.getURL() causes error in background.js (MV3)

115 views
Skip to first unread message

Angus Zhu

unread,
May 19, 2021, 2:42:11 AM5/19/21
to Chromium Extensions
Whenever I called chrome.runtime.getURL() in background.js (service worker), the browser reports error.

Simeon Vincent

unread,
May 19, 2021, 3:23:57 AM5/19/21
to Angus Zhu, Chromium Extensions
Please file a bug report on the Chromium project's issue tracker. Make sure that you include the browser version as requested in the issue template. If possible, please also attach an example extension in order to help us triage and diagnose the issue.

Simeon - @dotproto
Chrome Extensions DevRel


On Tue, May 18, 2021 at 11:42 PM Angus Zhu <sweet...@gmail.com> wrote:
Whenever I called chrome.runtime.getURL() in background.js (service worker), the browser reports error.

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/52959217-188b-4da0-92fd-f91c16c2303dn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages