Closed Bug 1825126 Opened 2 years ago Closed 2 years ago

Actually implement `onInstallPermissionRequest()` in `WebExtensionSupport`

Categories

(Firefox for Android :: WebExtensions, enhancement, P3)

All
Android
enhancement

Tracking

()

VERIFIED FIXED
116 Branch
Tracking Status
firefox115 --- wontfix
firefox116 --- verified

People

(Reporter: willdurand, Unassigned)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

Instead of showing the permission prompt before the install starts and unconditionally returning true in WebExtensionDelegate.onInstallPermissionRequest(), we should show a prompt only when this method has been called.

This is essentially "inverting" the current install flow.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
See Also: → 1825124

Hello! Is there anything the QA team could verify?
Thank you!

Flags: needinfo?(wdurand)

Hi Andrei,
Hope you are doing well!

We would like to verify that installing an add-on continue working, mainly installing from the Fenix add-on manager ui and installing from the https://addons.mozilla.org/en-CA/firefox/ website, additional thing is everything that we could cancel the installation by dismissing the permissions permission dialog by taping outside of it.

Thanks in advance!

Flags: needinfo?(wdurand)

Hello,
Thanks for the info, Arturo. Hope you are doing well too!

Verified this issue, everything seems working well.
Both of install sources work for installing add-ons as long as the user accepts the permission dialog, and about cancelling the installation, here is the behaviour:

  • When the user taps the "Cancel" button, "Failed to install {add-on name}" message is displayed.
  • When the user taps outside of the permission dialog, the same behaviour is present and the failure message is displayed.

Marking this as verified fixed on the latest Nightly (116.0a1) from 14th of June 2023.
Tested on: Google Pixel 7 Pro (Android 13).

Thank you!

Status: RESOLVED → VERIFIED
Flags: qe-verify+

No need to uplift to 115.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: