Issue reporter fails to retrieve optional browser information
Environment
- OS version: Ubuntu 20.04
- Browser version: Chrome 95
- Extension version: dep-ewe-2021-1
- Last working version: Adblock Plus 3.11.4
Steps to reproduce
- Open a page.
- Click on "Report an issue on this page" button in icon popup.
- Follow issue reporter steps until reaching the Details page.
- Check "Include information about my browser configuration, as well as a list of active extensions I'm using."
- Click on "Click this link to review the report data before sending" link.
- Run
browser.permissions.getAll().then(console.log)
in JavaScript console.
Observed behavior
- Extensions (
<extensions>
) and browser configuration (<options>
) are missing from XML. - Extension permissions include "contentSettings" and "management".
- Below error is shown in JavaScript console:
Uncaught TypeError: Error in invocation of contentSettings.ContentSetting.get(object details, function callback): No matching signature.
at HTMLIFrameElement.iframe.onload (issue-reporter.js:2083)
Expected behavior
- Extensions (
<extensions>
) and browser configuration (<options>
) are included in XML. - Extension permissions do not include "contentSettings" and "management".
- No error is shown in JavaScript console.
Further information
This regression was introduced by #1021 (closed), because webextension-polyfill doesn't support the "contentSettings" API.
Edited by Thomas Greiner