/debugger-permission-issue

Reproduction of the chrome.permissions.request for debugger API

Primary LanguageJavaScript

Can't request debugger optional permission in Chrome extension

Chrome version: Version 124.0.6367.60 (Official Build) (x86_64) OS: MacOS 14.3.1

How to reproduce

  1. Install the extension.
  2. Open Service Worker Inspector.
  3. Click on the "'debugger' permission request" button.
  4. Observe

Observed behavior

Error below is thrown in the console:

Only permissions specified in the manifest may be requested

and the permission request is Denied.

Expected behavior

The permission is granted.

References

Loom

https://www.loom.com/share/b34c8976dd434c15a4343317b3a4a6c8